# CircleCI MCP server

> Ask in plain English to find failed runs, read job logs, check deploys, and rerun workflows in CircleCI.

## Server URL

`https://mcp.circleci.com/v1/mcp` (Streamable HTTP)

- Sign-in: Sign in with CircleCI
- Connect in RevampKey: https://revampkey.com/marketplace/circleci

## Agent skills (6)

- [CircleCI with AI: ground rules for runs, logs and deploys](https://revampkey.com/marketplace/circleci/skills/essentials.md): Sets the ground rules for working with CircleCI from an AI assistant: confirm the org and project first, pick the right tool for runs, workflows, jobs and logs, and ask before any rerun, cancel or rollback.
- [CircleCI Failure Diagnosis with AI: Find the Real Cause of a Failed Build](https://revampkey.com/marketplace/circleci/skills/ci-failure-diagnosis.md): Walks back from a failed CircleCI workflow to the first real failing step and separates code bugs from flaky tests and infrastructure problems. It checks run history before naming a cause and does not rerun anything without asking.
- [CircleCI Deploy Rollback Check with AI](https://revampkey.com/marketplace/circleci/skills/deploy-rollback-check.md): Works out which version is live, what it replaced and whether the previous build is healthy, then asks for your explicit yes before any rollback runs.
- [CircleCI Pipeline Health Review with AI: Find Your CI Bottleneck](https://revampkey.com/marketplace/circleci/skills/pipeline-health-review.md): Reviews recent CircleCI runs on a branch or project to measure failure rate, duration and repeated failures, then ranks the bottleneck and the fix with the best payback. It reports trends across runs and does not change anything in your CI.
- [CircleCI Rerun Failed Workflow with AI](https://revampkey.com/marketplace/circleci/skills/rerun-failed-workflow.md): Decides whether a failed or stuck CircleCI workflow is worth rerunning, and whether to rerun only the failed jobs or everything. It checks state and history first and asks before rerunning or cancelling.
- [CircleCI test failure triage with AI](https://revampkey.com/marketplace/circleci/skills/test-failure-triage.md): Turns the failing tests in a CircleCI job into a ranked list: new failures that block the branch, probably flaky tests, skipped-test drift and pre-existing debt. It asks before changing any test or project settings.

All skills: https://revampkey.com/marketplace/circleci/skills.md

CircleCI is a CI/CD platform. It runs the builds, tests, and deploys that take code from a commit to production. Its pipelines are built from workflows and jobs, and its runs group them together. Developers use it to find out why a build failed. Platform engineers set up pipelines and deploy environments. CircleCI also publishes orbs, which are reusable pieces of pipeline configuration.

Connecting CircleCI to RevampKey lets you ask about your runs in plain English. You can find recent runs on a branch, see which workflows and jobs failed, and read job logs, test results, and artifacts. You can also look at deploy environments, the components deployed to them, and their versions. Use validate_config to check a config file before you push. The agent can rerun a workflow, rerun only its failed jobs, cancel a running workflow, or roll back a deploy component. It asks you before it changes anything.

## What you can do

### Finding why a branch build failed

You push a change and the workflow turns red. You ask which run failed on this branch. The agent lists recent runs, finds the failed workflow and its jobs, then reads the logs for the job that broke. You get the failing step and the error text in a short summary.

### Listing the tests that broke

A job fails in a large test suite, and you want the failures without scrolling through the log. You ask which tests failed in that job. The agent reads the job's test results and names the failing tests. If the job saved a file you need, the agent can also list the job's artifacts.

### Checking deploys before a rollback

Production looks wrong after a release. You ask what is deployed to the production environment and which version each component is on. The agent reads the deploy environment, its components, and their versions, then summarizes them. If you want to roll back, the agent asks you to confirm before it rolls back the component.

## Things to ask

- What failed on my last run on this branch?
- Show me the logs for the failed job in the latest workflow.
- Which tests failed in that job?
- What version is each component on in the production environment?
- Check my CircleCI config file for errors before I push.

## What the agent can do

### Runs and workflows

Find recent runs by project or branch, read a run's status, and check each workflow's outcome. Rerun a workflow, or only its failed jobs, or cancel one that is still running. The agent asks before any rerun or cancel.

`list_runs`, `get_run`, `list_run_workflows`, `get_workflow`, `rerun_workflow`, `cancel_workflow`

### Jobs, logs and tests

List the jobs in a workflow, then read a job's details, logs, test results, artifacts, and resource usage. Use this to find the failing step, the failing test names, or the files a job saved.

`list_workflow_jobs`, `get_job`, `get_job_logs`, `list_job_tests`, `list_job_artifacts`, `get_job_resource_usage`

### Deploys and rollbacks

Check deploy environments, the components deployed to them, and each component's versions and deployments. Roll back a deploy component when you ask. The agent asks before it rolls back.

`list_deployments`, `list_deploy_environments`, `get_deploy_environment`, `list_deploy_components`, `get_deploy_component`, `list_deploy_component_versions`, `rollback_deploy_component`

### Config, orbs and account

Validate a config file, read an orb and its source, check your user details, and download usage data.

`validate_config`, `get_orb`, `get_orb_source`, `get_me`, `download_usage_data`

## FAQ

### What do I need to connect CircleCI to RevampKey?

You need a CircleCI account with access to the projects you want to ask about. In RevampKey, click Connect. Then approve access on CircleCI's own sign-in page, which uses OAuth. Once you approve, the agent can use the CircleCI tools in RevampKey.

### What can the agent do in CircleCI, and what can't it do?

The connector gives the agent 24 CircleCI tools. The agent can find and read runs, workflows, jobs, logs, tests, artifacts, deploys, orbs, and config validation. It can rerun or cancel workflows and roll back deploy components, but only after asking you. It cannot do anything those 24 tools do not cover.

### Does the agent change anything without asking, and what does it read?

No. The agent asks before it changes anything, such as a rerun, a cancel, or a rollback. It reads only what the connector's tools return from your CircleCI account, using the access you approved. Check the agent's answers against the run or deploy page in CircleCI before you act on them.

### Does this connector cover everything in CircleCI?

No. It covers runs, workflows, jobs, logs, tests, artifacts, deploys, config validation, orbs, and usage data. CircleCI's CLI also has areas such as contexts and environment variables. This connector does not expose those areas.

### What is the CircleCI MCP server URL?

The CircleCI MCP server URL is https://mcp.circleci.com/v1/mcp. It uses the Streamable HTTP transport, so any client that supports remote MCP servers can connect to it.

### How does the CircleCI MCP server authenticate?

With CircleCI's own sign-in (OAuth). You approve access in your browser; no password is shared with the client.

### What can an AI agent do with the CircleCI MCP server?

It exposes 24 tools: 22 that read and 2 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

### Are there agent skills for CircleCI?

Yes. 6 SKILL.md playbooks teach an agent how to do real CircleCI work step by step. RevampKey installs them when you connect CircleCI; for Claude Code, Cursor or Codex you can copy them into your project.

## Tools (24)

- `cancel_workflow` (changes data)
- `download_usage_data`
- `get_deploy_component`
- `get_deploy_environment`
- `get_job`
- `get_job_logs`
- `get_job_resource_usage`
- `get_me`
- `get_orb`
- `get_orb_source`
- `get_run`
- `get_workflow`
- `list_deploy_component_versions`
- `list_deploy_components`
- `list_deploy_environments`
- `list_deployments`
- `list_job_artifacts`
- `list_job_tests`
- `list_run_workflows`
- `list_runs`
- `list_workflow_jobs`
- `rerun_workflow`
- `rollback_deploy_component` (changes data)
- `validate_config`

## Details

- Maker: CircleCI Engineering
- Setup: Sign in with your account
- Category: Developer tools
- Documentation: https://circleci.com/docs/guides/toolkit/circleci-mcp-overview/

Page: https://revampkey.com/marketplace/circleci
