🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

glm-mcp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glm-mcp

MCP server that delegates self-contained subtasks to the GLM (Zhipu/Z.ai) Anthropic-compatible API, so Claude Code can use GLM as a cheap, peak-aware subagent. Runs standalone via npx glm-mcp for any MCP client.

latest
Source
npmnpm
Version
1.3.0
Version published
Weekly downloads
312
-33.48%
Maintainers
1
Weekly downloads
 
Created
Source

glm-mcp

GLM (Zhipu / Z.ai) as a cheap delegate for any AI coding agent, exposed as an MCP (Model Context Protocol) server over stdio. This is the standalone server behind glm-mcp-claude and glm-mcp-copilot — usable by any MCP client (Claude Desktop, Cursor, Windsurf, Glama, …).

Quickstart (any MCP client)

{
  "mcpServers": {
    "glm": {
      "command": "npx",
      "args": ["-y", "glm-mcp"],
      "env": { "GLM_API_KEY": "YOUR_ZAI_KEY" }
    }
  }
}

Tools

  • glm_agent — run GLM as a file-accessing coding agent (read/write/edit/run) on GLM tokens.
  • glm_delegate — text-in/text-out subtask on GLM (no file access).
  • glm_recommend — free advisory: GLM vs Opus, which model, and why.
  • glm_status — free status: peak window, model picks, usage ledger, config health.

Config

The server boots and answers MCP introspection without an API key, but every GLM call needs GLM_API_KEY (your Z.ai / Zhipu GLM Coding Plan key — https://z.ai). See .env.example for all tuning knobs (model picks, peak window, token cap, cost bias, …).

Full docs

Repo + installers + design notes: https://github.com/djerok/glm-mcp

License

MIT © djerok

Keywords

mcp

FAQs

Package last updated on 13 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts