{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "dev.stuga/stuga",
  "slug": "dev.stuga.stuga",
  "title": "Stuga",
  "summary": "Your AI writes your self-hosted team wiki and answers from it.",
  "version": "0.2.1",
  "serverKey": "stuga",
  "pageUrl": "https://mcpkglabs.com/tool/dev.stuga.stuga",
  "installMdUrl": "https://mcpkglabs.com/tool/dev.stuga.stuga/install.md",
  "trust": {
    "score": 88,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T12:18:13.285348575Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@stuga/mcp@0.2.1",
        "stuga-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add stuga -e STUGA_URL=http://127.0.0.1:8787 -- npx -y --package=@stuga/mcp@0.2.1 stuga-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"stuga\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@stuga/mcp@0.2.1\",\n        \"stuga-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"STUGA_URL\": \"http://127.0.0.1:8787\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"stuga\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@stuga/mcp@0.2.1\",\n        \"stuga-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"STUGA_URL\": \"http://127.0.0.1:8787\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"STUGA_URL\",\n      \"id\": \"stuga-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"stuga\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@stuga/mcp@0.2.1\",\n        \"stuga-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"STUGA_URL\": \"${input:stuga-url}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.stuga]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@stuga/mcp@0.2.1\", \"stuga-mcp\"]\nenv = { \"STUGA_URL\" = \"http://127.0.0.1:8787\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://{stuga_host}/mcp",
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http stuga https://{stuga_host}/mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)",
          "content": "{\n  \"mcpServers\": {\n    \"stuga\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://{stuga_host}/mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"stuga\": {\n      \"url\": \"https://{stuga_host}/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"stuga\": {\n      \"type\": \"http\",\n      \"url\": \"https://{stuga_host}/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.stuga]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://{stuga_host}/mcp\"]"
        }
      ]
    }
  ],
  "env": [
    {
      "name": "STUGA_URL",
      "required": true,
      "secret": false,
      "description": "The address you open Stuga at.",
      "help": "The address you open Stuga at.",
      "default": "http://127.0.0.1:8787",
      "placeholder": "http://127.0.0.1:8787"
    }
  ],
  "expectedTools": [
    "workspaces",
    "docs",
    "search",
    "markdown",
    "comments",
    "folders",
    "events",
    "collections",
    "retrieve",
    "databases",
    "query",
    "remember",
    "docs_create",
    "markdown_append",
    "markdown_edit",
    "comments_add",
    "media_upload",
    "collections_edit",
    "databases_add",
    "databases_change"
  ],
  "agentSteps": [
    "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."
  ],
  "generatedAt": "2026-12-01T12:18:13.285348575Z"
}
