{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.djerok/glm-mcp",
  "slug": "io.github.djerok.glm-mcp",
  "title": "GLM MCP",
  "summary": "GLM (Zhipu/Z.ai) as a ~10x cheaper file-editing subagent for AI coding agents.",
  "version": "1.3.0",
  "serverKey": "glm-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.djerok.glm-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.djerok.glm-mcp/install.md",
  "trust": {
    "score": 88,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T11:03:59.214203676Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "glm-mcp@1.3.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add glm-mcp -e 'GLM_API_KEY=<GLM_API_KEY>' -- npx -y glm-mcp@1.3.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"glm-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"glm-mcp@1.3.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"GLM_API_KEY\": \"<GLM_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"glm-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"glm-mcp@1.3.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"GLM_API_KEY\": \"<GLM_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"GLM_API_KEY\",\n      \"id\": \"glm-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"glm-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"glm-mcp@1.3.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"GLM_API_KEY\": \"${input:glm-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.glm-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"glm-mcp@1.3.0\"]\nenv = { \"GLM_API_KEY\" = \"<GLM_API_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "GLM_API_KEY",
      "required": true,
      "secret": true,
      "description": "Z.ai / Zhipu GLM Coding Plan API key. Required for GLM calls; the server boots and answers MCP introspection without it.",
      "help": "Z.ai / Zhipu GLM Coding Plan API key. Required for GLM calls; the server boots and answers MCP introspection without it.",
      "placeholder": "<GLM_API_KEY>"
    }
  ],
  "expectedTools": [
    "glm_agent",
    "glm_recommend",
    "glm_status"
  ],
  "agentSteps": [
    "Ask the user for: GLM_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.",
    "Verify: the server should expose these tools: glm_agent, glm_recommend, glm_status.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T11:03:59.214203676Z"
}
