{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "ai.zihin/mcp-server",
  "slug": "ai.zihin.mcp-server",
  "title": "Zihin",
  "summary": "Build, operate and chat with Zihin.ai agents.",
  "version": "2.3.0",
  "serverKey": "mcp-server",
  "pageUrl": "https://mcpkglabs.com/tool/ai.zihin.mcp-server",
  "installMdUrl": "https://mcpkglabs.com/tool/ai.zihin.mcp-server/install.md",
  "trust": {
    "score": 85,
    "grade": "A",
    "smokeStatus": "needs_credentials",
    "status": "active",
    "verifiedAt": "2026-12-01T19:19:01.243278826Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@zihin/mcp-server@2.3.0",
        "zihin-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp-server -e 'ZIHIN_API_KEY=<ZIHIN_API_KEY>' -- npx -y --package=@zihin/mcp-server@2.3.0 zihin-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@zihin/mcp-server@2.3.0\",\n        \"zihin-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"ZIHIN_API_KEY\": \"<ZIHIN_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@zihin/mcp-server@2.3.0\",\n        \"zihin-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"ZIHIN_API_KEY\": \"<ZIHIN_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"ZIHIN_API_KEY\",\n      \"id\": \"zihin-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@zihin/mcp-server@2.3.0\",\n        \"zihin-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"ZIHIN_API_KEY\": \"${input:zihin-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp-server]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@zihin/mcp-server@2.3.0\", \"zihin-mcp\"]\nenv = { \"ZIHIN_API_KEY\" = \"<ZIHIN_API_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://llm.zihin.ai/mcp",
      "headers": [
        {
          "name": "X-Api-Key",
          "description": "Optional Zihin API key (zhn_live_*, zhn_test_* or zhn_dev_*) for integrations. Without it, clients sign in with OAuth.",
          "isSecret": true
        }
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http mcp-server https://llm.zihin.ai/mcp --header 'X-Api-Key: <X-Api-Key>'"
        },
        {
          "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    \"mcp-server\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://llm.zihin.ai/mcp\",\n        \"--header\",\n        \"X-Api-Key: <X-Api-Key>\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-server\": {\n      \"headers\": {\n        \"X-Api-Key\": \"<X-Api-Key>\"\n      },\n      \"url\": \"https://llm.zihin.ai/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"mcp-server\": {\n      \"headers\": {\n        \"X-Api-Key\": \"<X-Api-Key>\"\n      },\n      \"type\": \"http\",\n      \"url\": \"https://llm.zihin.ai/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp-server]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://llm.zihin.ai/mcp\", \"--header\", \"X-Api-Key: <X-Api-Key>\"]"
        }
      ]
    }
  ],
  "env": [
    {
      "name": "ZIHIN_API_KEY",
      "required": true,
      "secret": true,
      "description": "Zihin API Key (zhn_live_*, zhn_test_* or zhn_dev_*), from the Zihin console",
      "help": "Zihin API Key (zhn_live_*, zhn_test_* or zhn_dev_*), from the Zihin console",
      "placeholder": "<ZIHIN_API_KEY>"
    }
  ],
  "agentSteps": [
    "Ask the user for: ZIHIN_API_KEY. 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.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T19:19:01.243278826Z"
}
