技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
djerok/glm-mcp

djerok/glm-mcp

Run GLM (Zhipu/Z.ai) as a sub-agent in Claude Code
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add glm-mcp -- npx -y glm-mcp
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
5 ★ · djerok/glm-mcp · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 5 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 djerok/glm-mcp;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

glm-mcp — GLM as a cheap delegate for your AI coding agent

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

**GLM** (Zhipu / Z.ai) as a **~10x cheaper** delegate for your AI coding agent. Your expensive
main model — **Claude Opus**, **Copilot's** default, or **Codex** — orchestrates and reviews; **GLM** does
the actual work, billed on cheap GLM tokens. GLM exposes an Anthropic-compatible /v1/messages
endpoint, so it drops into anything that already speaks Anthropic. This repo wraps it as an
**MCP server** with four tools, plus one-command installers for **Claude Code**, **GitHub Copilot**,
and **Codex**. The same server powers every edition.
 
 
How it works
Plain-English walkthrough:
1. **You ask** the main agent for work.
2. The **main agent delegates** via glm_agent — it passes a goal plus an absolute workdir.
3. The server's **router** picks a GLM model (peak-aware) and calls the **Z.ai** /v1/messages
endpoint; the **cost bias** keeps GLM the default.
4. GLM runs **its own agent loop** (read_file / write_file / edit_file / list_dir /
run_bash) directly against your repo, then stops with a summary.
5. The server returns a **concise summary + a GLM STATS block** (model, tokens, est. cost) to
the main agent.
6. The main agent **reviews**; every GLM call is also appended to the usage.jsonl **ledger**.
**Token economics.** Delegated work bills **GLM tokens** (~10x cheaper). The main model only
pays for orchestration + review. A **near-100% GLM share** requires the full-GLM launcher
(claude/glm-code.mjs), because a hybrid main agent always carries
per-turn session context — that context is the floor on its token share.
The four tools
| Tool | Cost | What it does |
|---|---|---|
| glm_agent | GLM tokens | GLM as a real coding agent in your repo (read/write/edit/run). dry_run: true previews a diff and writes nothing; after a real run a **git-checkpoint revert line** is printed. |
| glm_delegate | GLM tokens (opt-in) | Pure text generation — text in, text out. **Hidden by default** (glm_agent handles text-only tasks too); set GLM_DELEGATE=on to expose it. |
| glm_recommend | free (local) | GLM-vs-main-model advisory: which engine, which GLM model, confidence, and reasons. No GLM call. |
| glm_status | free (local) | Peak window, active model, **usage-ledger totals** (proof of GLM spend), and config health. No GLM call. |
**Live progress.** glm_agent streams MCP **progress notifications** while it runs —
current iteration, token count, and **tok/s** — shown live in Claude Code and mapped to
tool.execution_progress in VS Code Copilot. This heartbeat also keeps long calls alive on clients that
reset their timeout on progress, and cancelling a run stops GLM **promptly** (partial changes are shown
and revertable). max_tokens defaults to **auto** (uncapped/generous; the orchestrating agent may
pass a number to cap a call). The server uses an **idle/stall timeout** (GLM_STALL_TIMEOUT_MS, 2 min),
so an actively-streaming turn is never cut off. If a very long run is still cancelled by your client's
tool-call timeout, raise it with MCP_TOOL_TIMEOUT / CLAUDE_CODE_MCP_TOOL_IDLE_TIMEOUT.
Install
(a) Claude Code
Installs **globally by default** (user-scoped): the MCP server, a full-tool **glm subagent**, a
**PreToolUse auto-routing hook**, and an optional **glm-code** full-GLM launcher. Restart
Claude Code, then run glm_status to confirm api_key_loaded: true.
Full details: claude/README.md.
(b) GitHub Copilot / VS Code
Installs the MCP server in **agent mode**, a **GLM custom agent (subagent)**, a **PreToolUse
auto-routing hook**, and delegation **instructions files**. Reload the VS Code window, open
Copilot Chat in Agent mode, start the glm server.
Full details: copilot/README.md.
(c) Codex
Install the published Codex package:
Installs a Codex MCP registration, a glm custom agent, the glm-delegate skill, and an advisory
来源
awesome · https://github.com/djerok/glm-mcp
按领域浏览
MCP 服务
Traction
5 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引