Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

GLM MCP

NPM · GLM-MCP · SCANNED AUG 3

GLM (Zhipu/Z.ai) as a ~10x cheaper file-editing subagent for AI coding agents.

Available components

+18 this week 61 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security87
  • No malware found by supply-chain analysis.Pass
  • Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.Partial
  • No install/post-install scripts declared.Pass
  • Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability54
  • AI-judged instruction clarity (good).Pass
  • Context-footprint check failed: tool/resource definitions use about 675 tokens (~225/item across 3 items; 3 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management0
  • Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass

Unverified: 1 category

A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · glm-mcp

# add to Claude Code
claude mcp add djerok-glm-mcp -- npx -y glm-mcp
# add to Codex CLI
codex mcp add djerok-glm-mcp -- npx -y glm-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "djerok-glm-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "glm-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add djerok-glm-mcp --command npx --arg -y --arg glm-mcp
# ~/.hermes/config.yaml
mcp_servers:
  djerok-glm-mcp:
    command: "npx"
    args: ["-y", "glm-mcp"]
// mcp.json
{
  "mcpServers": {
    "djerok-glm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "glm-mcp"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 2 Aug 26 +37
    • Provenance: unverified → fail security
    • Install scripts: unverified → pass security
    • Known CVEs: unverified → partial security
    • Malware scan: unverified → pass security
    • Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet. security
    • Capabilities: pass → unverified functional
    • License: unverified → pass functional
    • Dependency health: unverified → partial functional
    • Maintenance: unverified → pass functional
    • Schema quality: unverified → good functional
    • Licence: MIT functional
  • 1 Aug 26 +5
    • Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
    • MCP protocol: unverified → pass functional
  • 31 Jul 26 −24
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 27 Jul 26 43

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Analysed npm/[email protected]

Provenance none

Ecosystem: npm · Outcome: none

Dependencies 95 packages

95 packages in the resolved dependency tree · 95 deprecated · 29 stale.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 3 exposed · ~675 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
glm_agent ~330

Run GLM as a real coding agent with its OWN file tools (read/write/edit/list/bash); it works your repo end-to-end on GLM tokens (~10x cheaper than Opus). Prefer this over doing repo work yourself; it also handles text-only subtasks (give it a task with no file edits). Pass task + absolute workdir. Returns a concise summary+stats (use dry_run to preview a diff first). Not for sensitive, huge-context, or heavy dependent-tool-loop work.

NameTypeReqDescription
contextstringOptional extra context/constraints (GLM can also read files itself).
dry_runbooleanIf true, GLM proposes a diff and writes nothing (preview before applying). Default false.
formatstringconcise (default: summary+stats+changed files) or detailed (adds full diff). dry_run always shows the diff.
max_tokens'auto' (default): uncapped/generous per turn — you (the orchestrating agent) decide. Pass a number (256–131072) to cap each turn. (GLM_CAP=on enforces a hard limit regardless.)
modelstringModel id or 'auto' (default, peak-aware).
taskstringyesThe coding task for GLM to carry out end-to-end in the repo.
thinkingbooleanEnable GLM reasoning mode for harder tasks. Default false.
workdirstringAbsolute path to the project root GLM should operate in. Defaults to the server's cwd; always pass it explicitly.

No output schema declared.

No examples provided.

glm_recommend ~306

Free local advisory (no GLM call): given a task profile, returns GLM-vs-Opus, model, confidence, and reasons. Call when unsure which engine to use.

NameTypeReqDescription
chinesebooleanTrue if Chinese or Chinese-English bilingual (GLM strength, +1).
complexitystringDefault 'medium'.
input_tokensintegerApprox context size needed. >128K forces Opus (GLM degrades past ~100K).
latency_sensitivebooleanTrue if a tight interactive loop (forces Opus).
long_horizonbooleanTrue if many sequential steps / multi-hour autonomy.
needs_parallelbooleanTrue if it needs several concurrent agents (forces Opus).
sensitivebooleanTrue if proprietary/security-critical (forces Opus).
stepsintegerApprox number of dependent sequential steps. >20 forces Opus (goal drift).
task_typestringClosest task category. Default 'general'.
tool_patternstringTool-use shape: single one-shot call / short independent fanout (GLM-ok) vs heavy dependent agentic loop (forces Opus).
unfamiliar_apibooleanTrue if it uses a niche/post-cutoff/internal API GLM can't know (-2; paste docs or use Opus).
visionbooleanTrue if input includes images/screenshots/GUI/computer-use (forces Opus).

No output schema declared.

No examples provided.

glm_status ~39

Free local status: peak window, active model, GLM usage ledger (proof of GLM tokens spent), and config health. No GLM call.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.