advanced-circleci-mcp-server
Provides tools for reviewing CircleCI configurations, including retrieving actual configs, validating YAML, analyzing bottlenecks, workflow health, and dependency graphs.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@advanced-circleci-mcp-server Show bottlenecks for gh/myorg/myrepo"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
advanced-circleci MCP Server
CircleCI config review に特化した MCP サーバー。 既存の circleci-mcp-server が持たない Insights(性能・クレジット) と 実 config 取得 を中心に、config review に必要な5次元のデータを束ねたツールを提供する。
ツール一覧
ツール | 問い | 内部 API |
| 何をレビューするか(実 config の取得) |
|
| 変更案は妥当か(compile & validate) |
|
| どこが遅い・高い(job 別 p95・クレジット集中) | Insights: workflows + jobs |
| workflow の健全性(duration/flaky/test metrics) | Insights: summary + test-metrics + flaky-tests |
| 依存関係と実 resource_class(DAG 分析) | Pipeline/Workflow/Job + job detail |
get_config
最新 pipeline の config(source YAML と orb 展開後の compiled YAML)を取得。
{ "project_slug": "gh/org/repo" }
{ "pipeline_id": "uuid", "branch": "main" }validate_config
任意の YAML を CircleCI に送って検証・展開。変更案を提案する前に必ず通す。
{ "config_yaml": "version: 2.1\n...", "owner_id": "org-uuid" }get_bottlenecks
全 workflow × 全 job の Insights を取得し、クレジット消費順にソートして返す。
{ "project_slug": "gh/org/repo", "reporting_window": "last-30-days" }
{ "project_slug": "gh/org/repo", "reporting_window": "last-7-days", "all_branches": true }get_workflow_health
workflow サマリ+テストメトリクス(slowest/most-failed)+flaky test を束ねて返す。
total_test_runs: 0 の場合は store_test_results 未設定を意味する。
{ "project_slug": "gh/org/repo", "workflow_name": "build-and-test" }get_dag
pipeline または workflow の job 依存グラフ(requires/dependencies)と実 resource_class を返す。
{ "pipeline_id": "uuid" }
{ "pipeline_id": "uuid", "include_resource_class": false }
{ "workflow_id": "uuid" }Related MCP server: greybeard
設計方針(既存 MCP との住み分け)
次元 | 既存 circleci-mcp-server | このサーバー |
A Config |
|
|
B Discovery |
|
|
C Insights(性能) | なし |
|
D テスト健全性 |
|
|
E Usage(コスト) |
| 実装しない |
セットアップ
必要環境変数
CIRCLE_TOKEN=<Personal Access Token>ビルド
npm install
npm run buildClaude Desktop / Claude Code への登録
{
"mcpServers": {
"advanced-circleci": {
"command": "/path/to/advanced-circleci/build/index.js",
"env": { "CIRCLE_TOKEN": "your-token" }
}
}
}デバッグ
npm run inspectorInsights の制約(ツールレスポンスにも注記あり)
集計ウィンドウ: 最大90日。既定はデフォルトブランチのみ(
all_branches: trueで全ブランチ)。on-hold / tag トリガーの実行は集計対象外。
データは日次更新。直近24時間は反映されないことがある。
クレジットは概算。正確な課金額は Plan Overview で確認。
job 別メトリクスは必ず workflow 名が要る(プロジェクト横断の一括 job エンドポイントは存在しない)。
Available Tools
5 toolsget_bottlenecksGet Performance BottlenecksA
Identify the slowest and most credit-intensive jobs across all workflows in a project. Fetches Insights data for every workflow, then for every job within each workflow, and returns results sorted by total_credits_used. Use this to find resource_class over-provisioning, unnecessary serialisation, and credit hot-spots.
Inputs: project_slug (required), branch, all_branches, reporting_window.
get_configGet Pipeline ConfigA
Fetch the CircleCI config for a project's latest pipeline (or a specific pipeline). Returns source YAML (as written) and compiled YAML (after orb expansion). Use this as the starting point for any config review.
Inputs: branch, pipeline_id, project_slug.
get_dagGet Workflow DAGA
Return the job dependency graph (DAG) for a pipeline or workflow. Includes job requires/dependencies lists and (when include_resource_class is true) the actual resource_class that was assigned. Use this to identify unnecessary serialization, missing requires, and executor sizing.
Inputs: pipeline_id, workflow_id, include_resource_class.
get_workflow_healthGet Workflow HealthA
Return a combined health report for a specific workflow: duration/success/MTTR metrics, slowest and most-failed tests, and flaky tests. Use this to evaluate test splitting opportunities, flakiness, and overall reliability.
Inputs: project_slug (required), workflow_name (required), branch, all_branches, +1 more.
validate_configValidate & Compile ConfigA
Validate and compile a CircleCI config YAML string. Returns whether the config is valid, any errors, and the fully-expanded output YAML (with orbs resolved). Use this to verify a proposed config change before recommending it.
Inputs: config_yaml (required), owner_id, pipeline_parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: bottlenecks, config retrieval, DAG, workflow health, and validation. No overlap in functionality.
Four of five tools follow the 'get_' prefix pattern (get_bottlenecks, get_config, get_dag, get_workflow_health), but validate_config uses a different verb, creating a minor inconsistency.
With 5 tools, the set is compact and well-scoped for an advanced CircleCI analysis server, covering essential diagnostic and validation operations without unnecessary bloat.
The tools cover core analytical tasks (config, bottlenecks, DAG, health) and validation, but may lack operational tools like triggering pipelines or managing contexts, which is acceptable for the stated focus.
Maintenance
Related MCP Connectors
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
MCP server for Appcircle mobile CI/CD platform.
The MCP server that vets MCP servers: identity, risk grade and per-tool risk before you install.
One MCP server, 40 tools: web reading, safety and sanctions checks, DevOps checks, location.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that automates code reviews through linting, testing, and git diff analysis. It also generates conventional commit messages and detailed pull request descriptions based on file changes and code patterns.ISC
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides AI-powered code review and architecture analysis, simulating the perspective of an experienced staff engineer. It integrates with IDEs to review diffs, design decisions, and tradeoffs through natural language.1MIT
- AlicenseAqualityDmaintenanceAn MCP server that performs automated code reviews by analyzing git diffs against configurable review standards with custom reviewer personas.72MIT
- FlicenseAqualityDmaintenanceAn MCP server for multi-language PR review with deterministic analysis, providing AI-powered code review tools that detect languages, apply review guidelines, and run quality checks.7-