MCP Server Studio
GLM (Zhipu/Z.ai) as a ~10x cheaper file-editing subagent for AI coding agents.
Registry name: io.github.djerok/glm-mcp
Add to claude_desktop_config.json:
{
"mcpServers": {
"glm-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GLM_API_KEY": "<GLM_API_KEY>"
}
}
}
}Run in your terminal:
claude mcp add glm-mcp -e GLM_API_KEY='<GLM_API_KEY>' -- npx -y [email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"glm-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GLM_API_KEY": "<GLM_API_KEY>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"glm-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GLM_API_KEY": "<GLM_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"glm-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"GLM_API_KEY": "<GLM_API_KEY>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
GLM_API_KEY | Yes | Z.ai / Zhipu GLM Coding Plan API key. Required for GLM calls; the server boots and answers MCP introspection without it. |