gocd-mcp
gocd-mcp
GoCD 用の MCP サーバーです。GoCD の REST API を MCP ツールとして公開し、任意の MCP クライアント(Claude Code、Claude Desktop、Cursor)からパイプラインの状態を読み取ったり、パイプラインを操作したりできます。ここには 2 つの実装があり、ネットワーク上では同じように動作します。インストール方法に合わせてどちらかを選んでください。
go/— Go 実装。単一の静的バイナリまたは Docker イメージとして配布されます。コールドスタートが速く、メモリ消費も少ないです。ts/— TypeScript 実装。依存関係なしで Node 上で動作するため、npxにビルドステップは不要です。
どちらも同じコンテキスト節約型の出力を返します。ダッシュボードはデフォルトで要約され、行は列指向で、レスポンスはコンパクトな JSON です。完全な GoCD ダッシュボードは多数のパイプラインにまたがって数 MB に達しますが、これらのツールはモデルが必要とする分だけに切り詰めます。
ツール
読み取りツール(安全):
ツール | 機能 |
| ダッシュボードの健全性。引数なし = 要約。 |
| 1 つのパイプラインの一時停止 / ロック / スケジュール可否 |
| 1 回の実行: ジョブごとの結果を持つステージとトリガー |
| 1 つのパイプラインの最近の実行。オプションで |
| 1 つのステージ実行。ジョブごとの状態とエージェント |
| 1 つのステージの最近の実行 |
| 2 つの実行間の変更点: マテリアルごとのコミット |
| ジョブのアーティファクトファイルを |
| 1 つのアーティファクトファイル。末尾で切り詰め ( |
| ビルドエージェントと状態。オプションで |
| uuid による 1 つのエージェント |
| 設定済みマテリアル。オプションで |
| 環境とそのパイプライン / 変数の数 |
| パイプライングループ。フィルタするとグループ内のパイプラインを一覧表示 |
| サーバーのヘルスメッセージ。レベル別に集計 |
| GoCD サーバーのバージョン |
書き込みツール(操作):
ツール | 機能 |
| パイプラインの実行をスケジュール |
| パイプラインを一時停止 |
| パイプラインを再開 |
GOCD_READONLY=1 を設定すると、3 つの書き込みツールを非表示にできます。大きな一覧(dashboard、pipeline_groups、materials、environments)は要約またはフィルタ可能なので、生の数 MB のボディがモデルのコンテキストにそのまま流れ込むことはありません。
Related MCP server: Jenkins MCP Server
設定
必須の環境変数は次の 2 つです:
GOCD_BASE_URL=https://gocd.example.com
GOCD_ACCESS_TOKEN=<personal access token>GOCD_BASE_URL は末尾の /go を含まないベアホストです。ツール側で /go/api/... を追加します。トークンは GoCD のプロファイル内の Personal Access Tokens で作成してください。
インストール
npx (Node >= 18)、推奨
インストール不要、ビルドも不要です。サーバーを実行する最も簡単な方法です:
claude mcp add gocd -e GOCD_BASE_URL=... -e GOCD_ACCESS_TOKEN=... -- npx -y gocd-mcpnpm では gocd-mcp として、MCP Registry では io.github.Sahilll15/gocd として公開されているため、レジストリ対応クライアントは名前で見つけられます。
Go バイナリ
Releases からビルド済みバイナリをダウンロードするか、自分でビルドします:
cd go && go build -o gocd-mcp .登録します:
claude mcp add gocd -e GOCD_BASE_URL=... -e GOCD_ACCESS_TOKEN=... -- /path/to/gocd-mcpDocker
claude mcp add gocd -e GOCD_BASE_URL=... -e GOCD_ACCESS_TOKEN=... \
-- docker run -i --rm -e GOCD_BASE_URL -e GOCD_ACCESS_TOKEN ghcr.io/sahilll15/gocd-mcp開発中に TypeScript ソースを直接実行する場合(Node >= 22.6。型ストリッピングを使用):
cd ts && node --experimental-strip-types src/server.tsどちらを選ぶか
機能的には同一です。ローカルベンチマークでは、Go ビルドは約 4 倍速く起動し(コールドスタート約 21ms 対約 80ms)、メモリ使用量は約 6 分の 1 でした。リクエストごとのレイテンシは、GoCD のネットワークラウンドトリップが支配的なため同程度でした。セッションごとに起動されるサーバーには Go バイナリまたは Docker イメージを、インストール不要の方法を希望し Node が既にある場合は npx を選んでください。
構成
gocd-mcp/
├── go/ Go implementation (main.go, internal/gocd)
├── ts/ TypeScript implementation (src/server.ts source; publishes as compiled dist/server.js)
├── Dockerfile builds the Go binary into a distroless image
├── .goreleaser.yaml + .github/workflows/release.yml prebuilt binaries + ghcr image on tag
└── server.json MCP Registry manifestThis server cannot be installed
Maintenance
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
Governed MCP gateway: one endpoint for your tools, with credential custody and audit log.
GitLab MCP — wraps the GitLab REST API v4 (BYO API key)
Read and write Mission Control state via MCP — projects, tasks, subtasks, templates, status updates.
GitHub MCP — wraps the GitHub public REST API (no auth required for public endpoints)
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables managing Jenkins operations like listing jobs, triggering builds, and checking build statuses through a configurable MCP server.310Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables Jenkins CI/CD integration with job management, pipeline monitoring, artifact handling, and batch operations via MCP.494Apache 2.0
- FlicenseNot gradedqualityBmaintenanceEnables AI agents and external systems to programmatically trigger and monitor Jenkins jobs, retrieve build status and logs via MCP standards.
- AlicenseBqualityDmaintenanceEnables automated deployments, environment management, snapshots, and deployment monitoring through DevOps Deploy's REST API.1523MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Sahilll15/gocd-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server