Stuga
v0.2.1Your AI writes your self-hosted team wiki and answers from it.
Values you need
| Variable | What it is | |
|---|---|---|
STUGA_URL | required | The address you open Stuga at. Default: http://127.0.0.1:8787 |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add stuga -e STUGA_URL=http://127.0.0.1:8787 -- npx -y --package=@stuga/mcp@0.2.1 stuga-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"stuga": {
"args": [
"-y",
"--package=@stuga/mcp@0.2.1",
"stuga-mcp"
],
"command": "npx",
"env": {
"STUGA_URL": "http://127.0.0.1:8787"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"stuga": {
"args": [
"-y",
"--package=@stuga/mcp@0.2.1",
"stuga-mcp"
],
"command": "npx",
"env": {
"STUGA_URL": "http://127.0.0.1:8787"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "STUGA_URL",
"id": "stuga-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"stuga": {
"args": [
"-y",
"--package=@stuga/mcp@0.2.1",
"stuga-mcp"
],
"command": "npx",
"env": {
"STUGA_URL": "${input:stuga-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.stuga]
command = "npx"
args = ["-y", "--package=@stuga/mcp@0.2.1", "stuga-mcp"]
env = { "STUGA_URL" = "http://127.0.0.1:8787" }Remote (hosted)
Run in a terminal
claude mcp add --transport http stuga https://{stuga_host}/mcpAdd to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"stuga": {
"args": [
"-y",
"mcp-remote",
"https://{stuga_host}/mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"stuga": {
"url": "https://{stuga_host}/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"stuga": {
"type": "http",
"url": "https://{stuga_host}/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.stuga]
command = "npx"
args = ["-y", "mcp-remote", "https://{stuga_host}/mcp"]For AI agents
- Ask the user for: STUGA_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: workspaces, docs, search, markdown, comments, folders, events, collections, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json