GLM MCP
GLM MCP is a community-built Model Context Protocol server that integrates Zhipu/Z.ai's GLM models as a cost-effective subagent for AI coding assistants. It allows main agents like Claude or Copilot to delegate file editing, bash execution, and text generation tasks to GLM, leveraging an Anthropic-compatible endpoint. The server includes tools for agent loops, dry runs, and cost estimation, aiming to reduce token costs by up to 10x compared to premium models.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Delegate file editing and bash execution to GLM
- Preview diffs with dry-run capabilities
- Generate text using GLM delegate tool
- Estimate costs and track token usage
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
glm-mcp 1.3.0
{
"version": "1.3.0",
"transport": "stdio",
"identifier": "glm-mcp",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "GLM_API_KEY",
"isRequired": true,
"description": "Z.ai / Zhipu GLM Coding Plan API key. Required for GLM calls; the server boots and answers MCP introspection without it."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"glm-mcp": {
"command": "npx",
"args": [
"-y",
"glm-mcp@1.3.0"
],
"env": {
"GLM_API_KEY": "<YOUR_GLM_API_KEY>"
}
}
}
}Cline
{
"mcpServers": {
"glm-mcp": {
"command": "npx",
"args": [
"-y",
"glm-mcp@1.3.0"
],
"env": {
"GLM_API_KEY": "<YOUR_GLM_API_KEY>"
}
}
}
}VS Code
{
"servers": {
"glm-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"glm-mcp@1.3.0"
],
"env": {
"GLM_API_KEY": "<YOUR_GLM_API_KEY>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"glm-mcp": {
"command": "npx",
"args": [
"-y",
"glm-mcp@1.3.0"
],
"env": {
"GLM_API_KEY": "<YOUR_GLM_API_KEY>"
}
}
}
}Let your agent find its tools
Find servers like GLM MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.