# Connect CircleCI to Your AI Agent (Universal MCP)

> Use your AI to run deployments, build software, and track issues in CircleCI — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http circleci https://api.universalmcp.app/mcp/circleci`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/circleci` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "circleci", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: CircleCI | Category: DevOps & IT/Security (CircleCI) | Auth: Encrypted API key or guided local/on-prem setup | Deployment: hybrid
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Pipeline runs, Test insights, Trigger reruns; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=circleci | Guide: https://universalmcp.app/mcp/circleci
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (51 actions: 25 Read, 26 Write)
Perform over 50 actions across secrets & access keys, pipelines & builds, testing & validation, projects & accounts, runners & infrastructure, deployments & releases, and orbs & integrations. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Secrets & Access Keys (11):** Get Checkout Key (read), Get Environment Variable Value (read), List Checkout Keys (read), List Environment Variables (read), Create Checkout Key (write), Create Environment Variable (write), Create Heroku Key (write), Create SSH Key (write), Create Shared Context (write), Delete Checkout Key (write), Delete Environment Variable (write)
- **Pipelines & Builds (10):** Get Build Details (read), List Recent Builds (read), List Recent Project Builds (read), List Workflow Pipelines (read), Approve Workflow Job (write), Create Branch Build (write), Create Build Retry (write), Create Project Build (write), Schedule Pipeline Run (write), Update Build Status (write)
- **Testing & Validation (6):** Get Build Test Results (read), Track Flaky Tests (read), Create Autonomous Fix (write), Create Test Selection (write), Submit Change for Validation (write), Submit Failed Test Rerun (write)
- **Projects & Accounts (5):** Get Signed In User (read), List Followed Projects (read), List Organization Members (read), Assign Organization Role (write), Create Project (write)
- **Runners & Infrastructure (5):** List Execution Environments (read), List Self-Hosted Runners (read), Track Compute Usage (read), Create Build Image (write), Create Runner Resource Class (write)
- **Deployments & Releases (4):** List Deployment History (read), Track Release Rollout (read), Create Deployment (write), Submit Release Rollback (write)
- **Orbs & Integrations (4):** Query Via MCP Server (read), Search Orbs Registry (read), Create Git Integration (write), Create Orb Version (write)
- **Artifacts & Caching (3):** Export Build Artifact (read), List Build Artifacts (read), Delete Project Build Cache (write)
- **Reporting & Insights (3):** Check Developer ROI (read), Compare Team Benchmarks (read), Pull Pipeline Insights (read)

## Example Prompts for CircleCI
- **Failing workflows:** "In CircleCI, list failed workflows on main with the job name, branch, and time of each failure."
- **Flaky test report:** "Summarize flaky tests in CircleCI test insights by suite, retry count, and average duration this month."
- **Deploy status:** "Show CircleCI deploy jobs for staging-eu and production, with approval and health check status."
- **Draft rerun plan:** "Draft a CircleCI rerun plan for failed payments-service jobs and wait for my go-ahead to trigger it."
