gm-mcp
gm-mcp
MCP 服务器,将 gm 的 spool 调度周期(写入、轮询、清理后的响应)暴露给任何 MCP 客户端。
功能
将整个 gm spool 的“先写入、再轮询响应”的调度周期封装为一次名为 gm 的 MCP 工具调用,而不是由调用方分三步分别写入输入文件、轮询输出文件并读取结果。
写入
.gm/exec-spool/in/<verb>/<N>.txt轮询
.gm/exec-spool/out/<verb>-<N>.json,直到其出现(或超时)将响应作为扁平的 YAML 文本返回,并自动清理以提高可读性:
移除不透明的内部 ID(
dispatch_id、request_fingerprint)将冗余的
response/data嵌套层级展平到顶层(除非字段名会发生冲突)截断长文本字段(例如
instruction的完整阶段说明),并附上指向磁盘文件的提示,以便读取完整文本丢弃命中数组的排序内部字段(
recall_hits/bm25_hits/vector_hits中的cos/score/recency)移除每一层级的空/空值字段
成功响应完全省略 spool 文件路径(调用方已知 verb/cwd);这些路径仅在超时/中止/出错时出现,以指明查看位置
通过
raw_body字符串参数支持纯文本正文动词(exec_js及其支持的所有语言词干、serp、browser、cdp),因为这些动词会直接拒绝 JSON 对象正文
Related MCP server: Agent Relay
用法
npx gm-mcp或者将其添加到你的 MCP 客户端的服务器配置中,例如:
{
"mcpServers": {
"gm": {
"command": "npx",
"args": ["gm-mcp"]
}
}
}工具:gm
参数 | 类型 | 必需 | 描述 |
| string | 是 | gm spool 动词名称,例如 |
| string | 是 | 本次调度的 gm |
| object | 否 | 调度的 JSON 正文(不适用于纯文本正文动词) |
| string | 否 | 纯文本正文动词的字面文本正文,与 |
| string | 否 | 包含 |
| number | 否 | 超过此秒数后放弃并返回 |
| number | 否 | 检查响应的频率(默认 1) |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Authenticated async Opus 5.5 agent with status polling and artifact results.
Hosted MCP messaging across owners, tools, and machines, with readable transcripts.
Remote MCP for 9192 discovery, pricebook, payment rails, GET_PULSE quotes, and receipt checks.
Remote MCP for Gemini upgrade evals, prompt regressions, output diffs, and eval receipts.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables running and managing automated tasks with retry loops and machine-checkable success criteria via MCP tools.14 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to asynchronously submit tasks to a persistent coding agent already running on a development machine, disconnect, and retrieve results later through a secure, policy-controlled gateway.MIT
- AlicenseAqualityCmaintenanceEnables MCP clients to submit tasks to a local file-backed queue and later read or cancel them by ID, with results produced by a separately run worker.3MIT
- AlicenseNot gradedqualityBmaintenanceEnables running authorized file operations, persistent processes, and parallel batches from an MCP client, with durable receipts and artifact verification, and allows reconnecting to collect workers without restarting them.MIT