Compared · CI/CD · Claude Code
Best MCP servers for CI/CD in Claude Code
5 entries in the AgentTask Atlas catalog fit ci/cd and have Claude Code setup instructions in their official README or docs. Five CI/CD servers document a Claude Code setup: GitHub's server (for GitHub Actions), Buildkite, GitLab's built-in server, CircleCI's hosted server and Microsoft's Azure DevOps server (for Azure Pipelines). All five are hosted endpoints you add with claude mcp add --transport http, so the differences are in sign-in and in how far you can narrow them. CircleCI, Buildkite and GitLab sign in with OAuth from /mcp, GitHub's remote server takes a personal access token in a header, and Azure DevOps needs a Microsoft Entra app you register yourself and pass with --client-id. None of them only reads logs: they can rerun or cancel workflows, trigger builds or queue pipeline runs, so each vendor's read-only option (or, for CircleCI, Claude Code's permission prompt) is the main safety setting. Anthropic's official plugin marketplace has GitHub and GitLab plugins that add the full-access servers, and a Buildkite plugin that adds skills only. The steps below come from Claude Code's MCP, plugin and permissions docs and each vendor's own Claude Code instructions.
Based on official docs, not hands-on tested. Claude Code steps checked 2026-12-04; catalog entries verified 2026-12-04 to 2026-12-04. Not ranked by a score: entries that document more clients come first.
- Hosted (remote URL) option: GitLab MCP Server, GitHub MCP Server, Azure DevOps MCP Server, Buildkite MCP Server, CircleCI MCP Server (hosted).
- Runs locally (npx, uvx, Docker, binary or CLI): none.
- Credentials optional or depend on what you enable: none; every other entry needs an account login, OAuth grant, key or cloud identity.
| Name | Hosted | Credentials | License | Verdict |
|---|---|---|---|---|
| GitLab MCP Server GitLab | Yes | Required | Not stated for the MCP server (built into GitLab) | Pick it to work with GitLab merge requests, issues and pipelines from the agent; limit toolsets with the X-Gitlab-Enabled-Mcp-Server-Toolsets header for narrower access. |
| GitHub MCP Server GitHub | Yes | Required | MIT | Pick it for issues, PRs and Actions from the agent; limit toolsets or use read-only mode for review tasks. |
| Azure DevOps MCP Server Microsoft | Yes | Required | MIT | Pick it when your team lives in Azure DevOps and you want the agent to read work items, PRs and pipeline logs; start with X-MCP-Readonly and narrow toolsets, since writes act as you. |
| Buildkite MCP Server Buildkite | Yes | Required | MIT | Pick it to let the agent investigate failed Buildkite builds and logs; use the read-only endpoint unless you want it to retry jobs or start builds. |
| CircleCI MCP Server (hosted) CircleCI | Yes | Required | Not stated (hosted service) | Pick it to ask why the last CircleCI run failed and get the logs and failing tests in your editor; review reruns and cancels before approving, they change real CI state. |
How to add them to Claude Code
1. Pick a scope, and check what the plugins add
claude mcp add writes to local scope by default: only you, only this project, stored in ~/.claude.json. --scope user (or -s user, which GitLab's docs use) makes a server available in every project, and --scope project writes a .mcp.json the team shares; Claude Code asks for approval before using servers from a .mcp.json it hasn't seen. When the same name exists in several scopes, local wins over project and project over user, and GitLab's docs note that claude mcp add doesn't overwrite an existing entry, so run claude mcp list and remove the old one first. Anthropic's marketplace has three related plugins: github@claude-plugins-official adds GitHub's remote server with an Authorization: Bearer ${GITHUB_PERSONAL_ACCESS_TOKEN} header and the default toolsets (no Actions, no read-only header), gitlab@claude-plugins-official adds https://gitlab.com/api/v4/mcp with every default toolset, and buildkite@claude-plugins-official adds seven Buildkite skills but no MCP server. In a session, /plugin install <name>@claude-plugins-official opens the plugin's details so you can review it and choose a scope. If you sign in to Claude Code with a claude.ai account, connectors you added in claude.ai (CircleCI is in Claude's directory) also appear in /mcp, so check the list before adding a second copy.
2. CircleCI: one command, then Authenticate
CircleCI's Claude Code tab gives the command below. Then run /mcp inside Claude Code, select circleci-mcp-server and choose Authenticate to finish the OAuth2 sign-in in your browser; there is no token to store. Only if your setup can't complete OAuth (or for headless use), CircleCI documents a personal API token on the same command with --header "Authorization: Bearer <your-circleci-token>". The hosted tools list runs, workflows, jobs, step logs, artifacts and test results, export org usage data, and rerun or cancel workflows, and CircleCI documents no read-only mode for the hosted server, so Claude Code's approval prompt is your control. If you still have the old local server (npx @circleci/mcp-server-circleci) configured, CircleCI says to remove it first with claude mcp remove circleci-mcp-server: that server is deprecated.
claude mcp add --transport http circleci-mcp-server https://mcp.circleci.com/v1/mcp3. Buildkite: start with the read-only endpoint
Buildkite's Claude Code command for the full server is claude mcp add --transport http buildkite https://mcp.buildkite.com/mcp. For investigating failed builds, its docs give the read-only variant below, which applies read-only access to the toolsets named in X-Buildkite-Toolsets. On first use the Connect with Buildkite MCP Server page asks you to pick an organization (log in with SSO first if your organization requires it) and Authorize; check the tool name and redirect URL on the confirmation page before confirming. If you belong to several organizations, Buildkite suggests one entry per organization with ?organization=<slug> in the URL and a distinct name (its example: buildkite-acme and buildkite-other), so you can tell which organization a tool call acts on; the parameter also works on read-only URLs. If your organization has an API IP allowlist, add Buildkite's egress IP addresses or the remote server's calls fail.
claude mcp add --transport http buildkite-read-only-toolsets https://mcp.buildkite.com/mcp/readonly \ --header "X-Buildkite-Toolsets: user,pipelines,builds"4. GitLab: the built-in server, with only the CI tools you need
GitLab's Claude Code steps: claude mcp add -s user --transport http GitLab https://gitlab.com/api/v4/mcp (on Self-Managed, your instance URL followed by /api/v4/mcp), start claude, type /mcp, select the GitLab server and approve the authorization request in your browser; /mcp then shows it as connected. An admin must first allow access to the MCP server for the top-level group on GitLab.com or for the instance. By default the server returns the core, merge_requests, work_items, repository and ci toolsets, and the ci tools can run, retry, cancel and delete pipelines and play manual jobs. GitLab has no read-only switch, but for Claude Code its docs pass headers with --header, and X-Gitlab-Enabled-Mcp-Server-Tools returns only the tools you name (without default toolsets), so the command below exposes pipeline and job reads, artifact files and CI file validation. GitLab warns that you are responsible for guarding against prompt injection when you use these tools.
claude mcp add -s user --transport http GitLab https://gitlab.com/api/v4/mcp \ --header "X-Gitlab-Enabled-Mcp-Server-Tools: list_pipelines,get_pipeline,get_job,get_artifact_file,validate_ci_file"5. GitHub: add the Actions toolset, read-only, with a token from your environment
GitHub's Claude Code guide adds the remote server at https://api.githubcopilot.com/mcp with a personal access token in an Authorization header, using claude mcp add-json on Claude Code 2.1.1 and newer (on Windows, if add-json returns Invalid input, use claude mcp add --transport http with -H instead). The default toolsets (context, repos, issues, pull_requests, users) don't include GitHub Actions, so the command below adds X-MCP-Toolsets: context,actions, and X-MCP-Readonly: true hides actions_run_trigger while keeping actions_list, actions_get and get_job_logs. The single quotes keep ${GITHUB_PAT} literal, so Claude Code expands it from your environment when it connects instead of storing the token in ~/.claude.json; Claude Code's MCP docs suggest a fine-grained token with access only to the repositories you want Claude to work with. GitHub's guide also documents a local server in Docker that logs in with OAuth in the browser: claude mcp add github -e GITHUB_OAUTH_CALLBACK_PORT=8085 -- docker run -i --rm -p 127.0.0.1:8085:8085 -e GITHUB_OAUTH_CALLBACK_PORT ghcr.io/github/github-mcp-server. Restart Claude Code and run claude mcp get github to check.
claude mcp add-json github '{"type":"http","url":"https://api.githubcopilot.com/mcp","headers":{"Authorization":"Bearer ${GITHUB_PAT}","X-MCP-Toolsets":"context,actions","X-MCP-Readonly":"true"}}'6. Azure DevOps: register an Entra app, then pass its client ID
Microsoft recommends the remote server (preview) at https://mcp.dev.azure.com and says Claude Code needs a custom Microsoft Entra app registration to use it. Microsoft's steps: confirm the Azure DevOps MCP enterprise application is in your tenant, create an app registration with the Mobile and desktop redirect URI http://localhost:3118/callback, enable Allow public client flows, add delegated permissions from the Azure DevOps MCP API (application ID 2a72489c-aab2-4b65-b93a-a91edccf33b8), grant admin consent and copy the Application (client) ID. Then add the server with --client-id and --callback-port 3118 (Microsoft also shows the same entry as a .mcp.json with an oauth block), run claude, and sign in with your Entra account from /mcp. For build investigation, grant only pipelines.read (pipelines.write is what queues runs and updates build stages); the command below is Microsoft's plus the X-MCP-Toolsets: pipelines and X-MCP-Readonly: true headers, which hide tools but don't grant or remove OAuth permissions. The organization must be backed by a Microsoft Entra tenant; standalone Microsoft account organizations aren't supported on the remote server.
claude mcp add --transport http ado https://mcp.dev.azure.com/{organization} \ --client-id {client-id} --callback-port 3118 \ --header "X-MCP-Toolsets: pipelines" --header "X-MCP-Readonly: true"7. Check status, keep approvals on and verify a real call
Run claude mcp list: each server shows ✔ Connected, ! Needs authentication or ✘ Failed to connect, with the failure detail (such as an HTTP 401) on the same line; claude mcp get <name> shows one server. Inside a session /mcp signs in or reconnects servers, and from the shell claude mcp login <name> runs the OAuth flow. Claude Code asks before each MCP tool call unless an allow rule covers it. Rules take the form mcp__<server>__<tool>, and mcp__<server>__* covers a whole server, so allow individual read tools if the prompts get tiresome (for example mcp__github__get_job_logs) and keep reruns, cancels, triggered workflows and queued runs on ask. Then ask something read-only that names the server, such as "Use the CircleCI server: what failed on my last run on this branch? Do not rerun anything.", which is one of CircleCI's suggested prompts.
- Read-only on these servers is a property of the MCP connection, not of your credentials. Buildkite's docs point out that an agent with shell access can still use an authenticated CLI (bk) or call the API with other credentials, and Claude Code can run shell commands, so keep write-capable tokens out of its environment and keep Bash approvals on for CI CLIs.
- Build logs, test output, issue text and merge request comments are written by other people and tools; if a log tells Claude to run, push or rerun something, treat that like text from any web page. GitLab's docs say guarding against prompt injection is your responsibility, and GitHub describes its lockdown mode (X-MCP-Lockdown) as a best-effort filter for public repositories, not a security boundary.
- CircleCI: the hosted server is for diagnosing runs. For config authoring and validation, contexts, orbs or policies, CircleCI points to the CLI MCP (circleci mcp), which runs locally with your circleci auth login credentials or CIRCLE_TOKEN.
- Buildkite: headless setups can use the token pass-through endpoint https://mcp.buildkite.com/direct (or /direct/readonly) with --header "Authorization: Bearer <token>"; the token keeps its own scopes, so give it only the read scopes the agent needs.
- GitLab accepts an OAuth token with the mcp scope or a fine-grained personal access token with the MCP tool resource; legacy, project and group access tokens are rejected with 403. In GitLab 19.7 (Premium and Ultimate), X-Gitlab-Namespace-Id applies a group's or project's tool rules to the tool list. A Claude Team or Enterprise organization's GitLab connector isn't a central configuration for Claude Code: members who sign in with an API key connect Claude Code themselves.
- Azure DevOps: Microsoft warns that the legacy Ado.Mcp.Tools scope grants every MCP tool and overrides granular scopes such as pipelines.read, so remove it from the app registration. Organizations not backed by Entra ID can use the local server (npx -y @azure-devops/mcp {organization} -d pipelines).
- In a remote server's url and headers, Claude Code reads its own and your cloud provider's credentials (such as ANTHROPIC_API_KEY) as empty instead of expanding them, so give CI tokens their own variable names like GITHUB_PAT. claude mcp remove deletes a server's stored OAuth tokens but doesn't revoke them at the vendor; run claude mcp logout <name> first where the vendor supports revocation.
Full walkthrough for any server: How to add an MCP server to Claude Code.
Install notes and account access
Servers that log in to a vendor account act on real data and resources. The permissions line is what the vendor says the server can do with your account.
- GitLab MCP Server · GitLab
- Add the HTTP server `https://gitlab.com/api/v4/mcp` (Self-Managed/Dedicated: `/api/v4/mcp` on your instance URL). Claude Code: `claude mcp add -s user --transport http GitLab https://gitlab.com/api/v4/mcp`; clients without HTTP support use `npx mcp-remote` (see docs). Cursor: Settings > Cursor Settings > Tools & MCP > New MCP Server, or the GitLab plugin in the Cursor Marketplace. Anthropic's official marketplace also has a gitlab plugin (GitLab.com URL, default toolsets). official docs ↗Can do: Acts on your GitLab data on your behalf: projects, issues/work items, merge requests, repository and CI tools by default (wikis, code_security and orbit toolsets are opt-in); each tool still checks your project and namespace permissions. GitLab warns you are responsible for guarding against prompt injection.Credentials: OAuth access token with the `mcp` scope (dynamic client registration or a pre-registered OAuth app), or a fine-grained personal access token with the MCP tool resource; legacy, project and group tokens are rejected. Access must be allowed for the top-level group (GitLab.com) or the instance. · Maintenance: Built into GitLab (generally available since GitLab 19.5, all tiers); MCP server docs last changed 2026-12-02 in gitlab-org/gitlab; no separate release · Verified 2026-12-04
- GitHub MCP Server · GitHub
- Remote: add https://api.githubcopilot.com/mcp/ in your client; local: Docker image ghcr.io/github/github-mcp-server (see README). Cursor: the install guide adds the remote URL with an Authorization: Bearer PAT header in ~/.cursor/mcp.json. Claude Code: `claude mcp add-json github` with the remote URL and an Authorization: Bearer PAT header (Claude Code 2.1.1+), or the github plugin in Anthropic's official marketplace. official docs ↗Can do: Acts on GitHub with the scopes of your token/OAuth app: repos, issues, PRs, Actions (toolsets configurable, read-only mode available).Credentials: GitHub OAuth (remote server, in hosts that register an OAuth app; Cursor's guide uses a PAT) or a Personal Access Token (GITHUB_PERSONAL_ACCESS_TOKEN); the local Docker server can also log in with OAuth in the browser. · Maintenance: Release v2.3.0 on 2026-11-24; last commit 2026-12-04 · Verified 2026-12-04
- Azure DevOps MCP Server · Microsoft
- Remote (VS Code): add `{"servers":{"ado-remote-mcp":{"url":"https://mcp.dev.azure.com/{organization}","type":"http"}}}` to .vscode/mcp.json; Claude Code: `claude mcp add --transport http ado https://mcp.dev.azure.com/{organization} --client-id {client-id} --callback-port 3118`. Local: `npx -y @azure-devops/mcp {organization}` (optionally `-d core work work-items`). official docs ↗Can do: Reads and changes Azure DevOps data you can access: projects and teams, work items and queries, repos, branches, pull requests and comments, pipelines (including queuing runs), wikis, test plans and Advanced Security alerts. Remote server supports `X-MCP-Readonly` and toolset/tool filtering headers; local server loads domains with `-d`.Credentials: Microsoft Entra ID (OAuth) for the remote server; Cursor and Claude Code need a custom Entra app registration, Claude Desktop and Codex must use the local server. Local server: interactive Microsoft sign-in, Azure CLI, credential chain, bearer token or PAT. · Maintenance: Remote server https://mcp.dev.azure.com/{organization} (preview, recommended by Microsoft; the README says it will eventually replace the local server); local server release v2.11.1 on 2026-11-26 (npm @azure-devops/mcp 2.11.1); last commit 2026-12-02 · Verified 2026-12-04
- Buildkite MCP Server · Buildkite
- Connect your client to Buildkite's hosted remote MCP server (OAuth), or run the local `buildkite-mcp-server stdio` with BUILDKITE_API_TOKEN (see the official docs). Cursor: Buildkite plugin in the Cursor Marketplace (MCP server + skills) or the one-click deep link; read-only endpoint https://mcp.buildkite.com/mcp/readonly. Claude Code: `claude mcp add --transport http buildkite https://mcp.buildkite.com/mcp` (or /mcp/readonly with an X-Buildkite-Toolsets header); the buildkite plugin in Anthropic's marketplace adds skills only. official docs ↗Can do: Reads pipelines, builds, jobs, logs, annotations and test results; with write scopes it can retry jobs or start builds, which can run pipeline commands. A read-only remote endpoint and the --read-only flag exclude mutating tools.Credentials: Buildkite OAuth on the hosted remote server, or a Buildkite API access token (BUILDKITE_API_TOKEN) for the local server. · Maintenance: Release v1.40.2 on 2026-12-03; last commit 2026-12-03 · Verified 2026-12-04
- CircleCI MCP Server (hosted) · CircleCI
- Connect to https://mcp.circleci.com/v1/mcp (Streamable HTTP, OAuth2). Claude Code: `claude mcp add --transport http circleci-mcp-server https://mcp.circleci.com/v1/mcp`, then /mcp > Authenticate; Claude and Cursor: add CircleCI from their directories; VS Code: type http. official docs ↗Can do: Lists and reads your CircleCI runs, workflows, jobs, step logs, artifacts and test results, exports org usage data, and can rerun (from start or from failed) or cancel workflows.Credentials: CircleCI account via OAuth2 from the client; hosts that cannot do OAuth use a CircleCI personal API token. · Maintenance: Hosted remote server; setup docs last updated 2026-09-28. Replaces the deprecated local @circleci/mcp-server-circleci (npm 0.20.0, repo to be archived). The CircleCI CLI (v1.22.0, 2026-12-03) can also expose its commands as a local MCP server (`circleci mcp`). · Verified 2026-12-04
Sources
- Claude Code docs: Connect Claude Code to tools via MCP (scopes, status, OAuth client ID and callback port, variable expansion) ↗
- Claude Code docs: Discover and install plugins ↗
- Claude Code docs: Permissions (MCP tool rules) ↗
- Anthropic's official plugin marketplace (github, gitlab, buildkite plugins) ↗
- CircleCI docs: Connecting to the CircleCI MCP server (Claude Code) ↗
- CircleCI docs: CircleCI MCP overview (hosted tools, CLI MCP) ↗
- Buildkite docs: Configuring AI tools with the remote MCP server (Claude Code, read-only, organizations) ↗
- Buildkite skills (buildkite/skills) ↗
- GitLab docs: GitLab MCP server (Connect Claude Code, toolsets, authentication) ↗
- GitLab docs: GitLab MCP server tools ↗
- GitHub MCP Server: Install in Claude applications (Claude Code) ↗
- GitHub MCP Server: remote server toolsets and headers ↗
- Microsoft Learn: Set up the remote Azure DevOps MCP Server (Claude Code, OAuth scopes) ↗
- Azure DevOps MCP Server README (local server, domains) ↗
- GitHub MCP Server: official install docs ↗
All ci/cd entries, in every client: Best MCP servers for CI/CD · CI/CD explorer. Ask the catalog from inside Claude Code with the free, read-only AgentTask Atlas MCP server.
Other comparisons: Best MCP servers for Infra & deploy in Cursor · Best MCP servers for Debugging & observability in Cursor · Best MCP servers & skills for Frontend & UI in Claude Code · Best MCP servers for Databases & SQL in Cursor · Best MCP servers for Infra & deploy in Claude Code · Best MCP servers for Library docs & research in VS Code · Best MCP servers for Infra & deploy in VS Code · Best MCP servers for Debugging & observability in VS Code · Best MCP servers for Databases & SQL in VS Code · Best MCP servers for Frontend & UI in Cursor · Best MCP servers for Frontend & UI in VS Code · Best MCP servers for Library docs & research in Cursor · Best MCP servers for Library docs & research in Claude Code · Best MCP servers for Debugging & observability in Claude Code · Best MCP servers for Databases & SQL in Claude Code · Best MCP servers for Library docs & research in Claude Desktop · Best MCP servers for Infra & deploy in Claude Desktop · Best MCP servers & skills for Docs & writing in Claude Code · Best MCP servers for Utilities in VS Code · Best MCP servers for Databases & SQL in Claude Desktop · Best MCP servers for Debugging & observability in Claude Desktop · Best MCP servers for Planning & reasoning in VS Code · Best MCP servers for Planning & reasoning in Cursor · Best MCP servers for Utilities in Claude Desktop · Best MCP servers for Utilities in Claude Code · Best MCP servers for Utilities in Cursor · Best MCP servers for CI/CD in Cursor · Databases & SQL · Git & GitHub repos · Code review · Infra & deploy · Debugging & observability · Library docs & research · Web fetching & scraping · Frontend & UI · Local files · Docs & writing · Build AI apps · Planning & reasoning · Utilities
How much context does each one cost? See the MCP tool budget: measured tools and tokens per server.
⚠ No independent security audit: entries summarize official sources only. Review permissions and code before installing.