GLM MCP for VS Code
io.github.djerok/glm-mcp
GLM (Zhipu/Z.ai) as a ~10x cheaper file-editing subagent for AI coding agents.
client:VS Code
transport:stdio
runtime:npm
Install GLM MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "glm-api-key",
"description": "GLM_API_KEY",
"password": true
}
],
"servers": {
"glm-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"glm-mcp"
],
"env": {
"GLM_API_KEY": "${input:glm-api-key}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs