Skip to content
Cursor

GLM MCP for Cursor

io.github.djerok/glm-mcp

GLM (Zhipu/Z.ai) as a ~10x cheaper file-editing subagent for AI coding agents.

client:Cursor transport:stdio runtime:npm

Install GLM MCP in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "glm-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "glm-mcp"
      ],
      "env": {
        "GLM_API_KEY": "<GLM_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

GLM MCP in other clients