Skip to main content
Glama
AnEntrypoint

gm-mcp

by AnEntrypoint

gm-mcp

MCP server exposing gm's spool dispatch cycle (write, poll, cleaned response) to any MCP client.

機能

gm のスプールの「書き込み→レスポンスのポーリング」というディスパッチサイクル全体を、gm という単一の MCP ツール呼び出しにラップします。呼び出し側が入力ファイルの書き込み、出力ファイルのポーリング、読み取りを3つの別々のステップとして行う必要はありません。

  • .gm/exec-spool/in/<verb>/<N>.txt に書き込む

  • .gm/exec-spool/out/<verb>-<N>.json が現れるまで(またはタイムアウトするまで)ポーリングする

  • レスポンスをフラットな YAML テキストとして返し、可読性のために自動クリーンアップする:

    • 不透明な内部 ID(dispatch_idrequest_fingerprint)を除去

    • 冗長な response/data のネスト階層をトップレベルにフラット化(フィールド名が衝突する場合を除く)

    • 長いテキストフィールド(例: instruction のフェーズ全文)は、全文を読むためのディスク上のファイル名を示すポインタ付きで切り詰める

    • ヒット配列のランキング内部情報(recall_hits/bm25_hits/vector_hits 内の cos/score/recency)を除去

    • 空または null のフィールドをすべてのレベルで除去

  • 成功したレスポンスではスプールファイルのパスを完全に省略する(呼び出し側は verb/cwd をすでに知っているため)。これらのパスは、タイムアウト・中止・エラー時にのみ、どこを確認すべきかを示すために表示される

  • プレーンテキスト本文の動詞(exec_js とそれが対応するすべての言語ステム、serpbrowsercdp)を raw_body 文字列パラメータでサポートする。これらの動詞は JSON オブジェクトの本文を完全に拒否するため

Related MCP server: windlass

使用方法

npx gm-mcp

または、MCP クライアントのサーバー設定に追加します。例:

{
  "mcpServers": {
    "gm": {
      "command": "npx",
      "args": ["gm-mcp"]
    }
  }
}

ツール: gm

パラメータ

必須

説明

verb

string

はい

gm スプールの動詞名。例: instructionprd-addgit_statusexec_js

session_id

string

はい

このディスパッチの gm SESSION_ID

body

object

いいえ

ディスパッチ用の JSON 本文(プレーンテキスト本文の動詞では無効)

raw_body

string

いいえ

プレーンテキスト本文の動詞用のリテラルテキスト本文。body とは相互排他

cwd

string

いいえ

.gm/exec-spool を含むプロジェクトルート。デフォルトは process.cwd()

timeout_seconds

number

いいえ

この秒数経過後に諦めて timed_out:true を返す(デフォルト 120)

poll_interval_seconds

number

いいえ

レスポンスを確認する頻度(デフォルト 1)

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables MCP clients to submit long-running jobs that are executed safely in isolated child processes with a durable SQLite queue, configurable timeouts, retries with backoff, and backpressure.
    5
    MIT
  • F
    license
    A
    quality
    B
    maintenance
    A local STDIO MCP server for running one bounded command and waiting for its final result, eliminating model-driven polling. Designed for builds, test suites, and other trusted foreground commands.
    3
    2
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Provides MCP tools for reading, listing, writing, searching, watching, and batch-processing files, enabling automated file management and resume matching workflows.
    -

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AnEntrypoint/gm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server