Is the CircleCI MCP server safe? What it can reach
What the CircleCI MCP server can read, write and delete, how it signs in, and how to limit it in Claude Code and Codex.
CircleCI runs an official hosted MCP server at mcp.circleci.com that signs in with OAuth2 or a personal API token. It reads runs, jobs, logs and test results, and it can rerun or cancel workflows. The older npx package is deprecated and no longer gets feature work. The docs describe no read-only mode, so your client’s tool approval is the main limit.
Who maintains it
| Implementation | Kind | Status |
|---|---|---|
| CircleCI hosted MCP server | Official | active |
| CircleCI CLI MCP (local) | Official | active |
| @circleci/mcp-server-circleci (npx package) | Official | deprecated |
It runs as a hosted remote server. The documented endpoint is https://mcp.circleci.com/v1/mcp.
How it signs in
OAuth2 or a personal API token. Either way the server acts with your user’s access to CircleCI projects.
What its tools can do
| Kind | Tools |
|---|---|
| Read | hello, list_runs, get_run, list_workflows, get_workflow, list_jobs, get_job, get_job_logs, list_artifacts, list_job_tests, download_usage_data |
| Write | none documented |
| Can’t be undone | rerun_workflow, cancel_workflow |
This list is for the hosted server. The deprecated npx package has 13 different tools, including run_pipeline and run_rollback_pipeline. The CircleCI CLI MCP is a separate local server that exposes the whole CLI, including config, org, project and policy commands and direct API calls.
Built-in limits
| Option | What it does |
|---|---|
Project access of the signed-in user | The docs say access follows the authenticated user’s project access. They describe no scopes. |
rerun_workflow from_failed | Set from_failed to rerun only failed jobs and their downstream jobs. |
Client tool approval | CircleCI advises reviewing rerun and cancel actions before you confirm them. |
Token revocation | Revoke a personal API token in CircleCI if you used one instead of OAuth. |
The risks
- rerun_workflow and cancel_workflow change live CI state, so an injected instruction could cancel a release pipeline or rerun a deploy workflow.
- get_job_logs and list_job_tests return build output that may contain secrets or text written by outside contributors, which is a channel for prompt injection.
- The server acts with your user’s project access, so it can reach every project you can, not only the one you are working on.
- The CircleCI CLI MCP exposes the whole CLI, including direct API calls, so it is a much wider surface than the hosted server.
Limit it in Claude Code
Add it from the documented launch settings, at local or user scope so a token never lands in a shared .mcp.json:
claude mcp add --transport http circleci https://mcp.circleci.com/v1/mcpClaude Code names MCP tools mcp__circleci__<tool>. Deny rules win over ask rules, and ask rules over allow rules. Put these in ~/.claude/settings.json or the project’s .claude/settings.json:
{
"permissions": {
"deny": [
"mcp__circleci__cancel_workflow"
],
"ask": [
"mcp__circleci__rerun_workflow"
]
}
}Limit it in Codex
Codex reads MCP servers from ~/.codex/config.toml. disabled_tools removes tools, and enabled_tools keeps only the ones you list:
[mcp_servers.circleci]
url = "https://mcp.circleci.com/v1/mcp"
disabled_tools = ["cancel_workflow"]Checklist
- Use the hosted server, and remove the deprecated npx package if you still have it.
- Use OAuth rather than a long-lived personal token when your client supports it.
- Approve every rerun by hand, and read the workflow ID first.
- Treat log output as untrusted text.
Checked against the vendor documentation on November 25, 2026. CircleCI MCP overview · CircleCI-Public/mcp-server-circleci README
What Excellent covers
Excellent doesn’t inspect MCP servers themselves. Its free scan reads supported logs on the Mac (Claude Code, Codex, Grok Build, GitHub Copilot CLI, Gemini CLI and Qwen Code) and reports findings for review, so you can see what an agent did after a session. Run the free scan · See a sample report · How to vet any MCP server
Excellent Pro adds checks before supported actions. Claude Code can display an ask prompt. With Codex, an Excellent “ask” refuses the action and tells the agent to ask you. Pro is US-only for now. Agent coverage · Pricing