How to integrate Circleci MCP with Atomic Agent

Connect Atomic Agent to Circleci MCP. Trigger a new pipeline on main branch, list all pipelines for backend service, and more using natural language, with authentication handled for you.

Circleci logoCircleci
Api Key

Circleci is a leading continuous integration and delivery platform for automating code builds, tests, and deployments. It helps teams ship quality software faster by streamlining DevOps workflows.

71 Tools

Introduction

Atomic Agent is an open-source AI agent that runs on your machine and supports local models through llama.cpp. Connect it to 1,700+ apps through Composio, including Circleci.

This guide uses Atomic Agent's built-in Composio integration. You need Atomic Agent v0.5.6 or later, your own Composio API key, and a Circleci account. See the Atomic Agent documentation for installation instructions.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Circleci with

How Atomic Agent connects to Circleci

Atomic Agent connects to Composio's Tool Router over Streamable HTTP MCP. It discovers the tools needed for your request, and Composio handles account authentication.

Execution and account-connection tools follow Atomic Agent's configured approval policy. Review any approval prompt before allowing an action on your connected account.

Connect Circleci to Atomic Agent

  1. Sign up or sign in to the Composio dashboard. Copy your API key.
  2. In Atomic Agent, open the Integrations tab and select Composio. Select API key, press e, paste the key, and press Enter. The tools become available immediately, without a restart.
  3. Ask Atomic Agent to do something in Circleci. It searches Composio for the right tool.
  4. On first use, open the sign-in link returned in the chat. Connect your Circleci account, then return to Atomic Agent to continue.

Headless setup

Add the following line to ~/.atomic-agent/.env, replacing YOUR_COMPOSIO_API_KEY with your key. Start Atomic Agent after saving the file.

bash
COMPOSIO_API_KEY=YOUR_COMPOSIO_API_KEY

What is the Circleci MCP server, and what's possible with it?

The Circleci MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Circleci account. It provides structured and secure access to your Circleci projects and pipelines, so your agent can trigger builds, fetch job artifacts, monitor workflows, and analyze test results on your behalf.

  • Automated pipeline triggering and management: Let your agent start new builds for specific branches or tags, enabling continuous integration workflows without manual intervention.
  • Workflow and job status monitoring: Ask your agent to fetch detailed information about jobs and workflows, including status, timing, and execution environment, to stay on top of your CI/CD processes.
  • Artifact and test result retrieval: Have the agent collect job artifacts or extract comprehensive test metadata and failure messages for easier debugging and reporting.
  • Pipeline and runner insights: Get your agent to list all pipelines for a project or enumerate available self-hosted runners, making it simple to manage and audit your Circleci resources.
  • User and configuration access: Retrieve user profile details or fetch pipeline YAML configurations as needed for documentation, troubleshooting, or workflow optimization.

Use Circleci from Atomic Agent

With your account connected, ask Atomic Agent to work with Circleci in natural language. You can connect more apps through the same Composio integration as you need them.

Visit the Atomic Agent website or inspect the Atomic Agent source code.

Troubleshooting

Why is my API key rejected?

Copy the key directly from the Composio dashboard. Atomic Agent requires ASCII characters because it sends the key in an HTTP header. Remove any extra characters introduced when copying.

Why are Composio tools unavailable after saving a key?

Check that you use Atomic Agent v0.5.6 or later and that Composio is enabled in your configuration. A "composio": { "enabled": false } setting disables the integration while keeping the saved key on disk.

Does Composio have a free plan?

The Hobby plan includes 100,000 tool calls per month. Composio-managed OAuth apps have a lower included allowance. See Composio pricing for the current limits that apply to your connection.

TOOLS

Supported Tools

Every Circleci action and event your agent gets out of the box.

Cancel Workflow

Cancel a running CircleCI workflow.

Create Context

Tool to create a new context in CircleCI.

Create Context (GraphQL)

Create a CircleCI context for an organization using the GraphQL API.

Create Context Restriction

Tool to create a context restriction in CircleCI.

Create Organization Orb Allowlist

Tool to create a new URL Orb allow-list entry for an organization.

Create Organization Project

Tool to create a new project within a CircleCI organization.

Create Organization Group

Tool to create a group in an organization.

Create Project Environment Variable

Tool to create a new environment variable for a CircleCI project.

Create Usage Export Job

Tool to create a usage export job for a CircleCI organization.

Delete Context (GraphQL)

Delete a CircleCI context by its UUID using the REST API.

Delete Context Restriction

Tool to delete a context restriction by its ID.

Delete Namespace and Related Orbs

Tool to delete a CircleCI registry namespace and all its associated orbs.

Delete Namespace Alias

Tool to remove a namespace alias by name in CircleCI.

Delete Organization Orb Allowlist Entry

Tool to remove an entry from the organization's URL orb allow-list.

Delete Organization Group

Tool to delete a group from a CircleCI organization.

Delete Project

Tool to delete a CircleCI project and its settings.

Delete Project Environment Variable

Tool to delete an environment variable from a CircleCI project.

Get Context

Tool to retrieve a context by its unique ID.

Get Current User

Tool to retrieve information about the currently authenticated user.

Get Flaky Tests

Tool to get flaky tests for a project.

Get Job Artifacts

Retrieves artifacts (output files like test results, logs, build binaries, reports) produced by a CircleCI job.

Get Job Details

Tool to fetch details of a specific job within a project.

Get Legacy Build Details

Retrieve a legacy CircleCI v1.1 build record.

Get Orb Details

Tool to query detailed information about a CircleCI orb using the GraphQL API.

Get Orb Version

Tool to retrieve detailed information about a specific CircleCI orb version via GraphQL.

Get Organization

Tool to retrieve organization details from CircleCI using GraphQL query.

Get Organization Group

Tool to retrieve a group in an organization.

Get Pipeline

Retrieve metadata for a CircleCI pipeline by its UUID.

Get Pipeline Config

Tool to fetch pipeline configuration by ID.

Get Pipeline Definition

Tool to retrieve a pipeline definition by project and definition ID.

Get Pipeline Values

Retrieve the runtime values resolved for a CircleCI pipeline.

Get Project

Tool to retrieve a CircleCI project by its slug.

Get Project Workflows

Get summary metrics for a project's workflows, including success rates, duration, throughput, and credits used.

Get Test Metadata

Tool to fetch test metadata for a specific job.

Get Usage Export Job

Tool to retrieve a usage export job by organization ID and job ID.

Get User Information

Tool to retrieve information about a CircleCI user by their unique ID.

Get Workflow Summary

Tool to get metrics and trends for a workflow.

Inspect Workflow

Inspect a workflow's summary and one page of its jobs.

List Context Environment Variables

List environment variable names and metadata for a CircleCI context, with pagination.

List Insights Branches

Tool to get all branches for a project from CircleCI Insights.

List Insights Summary

Tool to get summary metrics with trends for the entire organization and for each project.

List Namespace Orbs

Tool to list orbs in a CircleCI registry namespace with pagination support.

List Orb Categories

Tool to retrieve all CircleCI orb categories with pagination support.

List Orbs

Tool to list CircleCI orbs with pagination support via GraphQL API.

List Organization Groups

List groups in a CircleCI organization, with pagination support.

List Pages Summary

Tool to get summary metrics and trends for a project across its workflows and branches.

List Pipeline Definitions

List pipeline definitions for a specific project, including their configuration sources.

List Pipelines

Tool to get a list of pipelines for an organization.

List Pipelines for Project

List pipelines for a specific project, optionally filtered by branch or current user.

List Project Environment Variables

List project-level environment variables for a CircleCI project.

List Project Schedules

List scheduled pipeline triggers for a specific project.

List Self-Hosted Runners

List CircleCI self-hosted runners for exactly one namespace or resource class.

List User Collaborations

Tool to retrieve organizations where the authenticated user has access.

List Workflows by Pipeline ID

Tool to list all workflows associated with a specific pipeline.

List Workflows Jobs Workflows

Tool to get summary metrics for a project workflow's jobs.

List Workflows Test Metrics

Tool to get test metrics for a project's workflows.

Query Context

Retrieve a CircleCI context by UUID using the GraphQL API, including its ID, name, and creation time.

Query Namespace Exists

Tool to determine if a namespace exists in the CircleCI registry.

Query Orb Category ID

Query a CircleCI orb category ID by category name.

Query Orb Exists

Tool to check if an orb exists in CircleCI registry and retrieve its privacy status.

Query Orb ID

Tool to fetch an orb's ID and optionally its namespace ID by orb name.

Query Orb Latest Version

Query the latest published version of a CircleCI orb for dependency management or updates.

Query Orb Source

Tool to retrieve source code of a specific CircleCI orb version via GraphQL.

Query Plan Metrics

Tool to query plan metrics including credit usage by project and organization for a date range.

Remove Context Environment Variable (GraphQL)

Tool to remove an environment variable from a CircleCI context using GraphQL API.

Rename Namespace

Tool to rename a CircleCI namespace by its UUID identifier.

Rerun Workflow

Rerun a CircleCI workflow, optionally selecting jobs or failed work.

Store Environment Variable

Tool to store an environment variable in a CircleCI context using GraphQL mutation.

Trigger Pipeline

Triggers a new CI/CD pipeline run for a specified CircleCI project.

Upsert Context Environment Variable

Tool to add or update an environment variable in a CircleCI context.

Validate Orb Config

Tool to validate CircleCI orb YAML configuration using the orbConfig GraphQL query.

FAQ

Frequently asked questions

Start with Circleci.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Circleci tool your agent needs.Free to start.

Start building