Skip to main content

Announcing StackOne Defender: leading open-source prompt injection guard for your agent Read More

CircleCI MCP Server
for AI Agents

Production-ready CircleCI MCP server with 81 extensible actions — plus built-in authentication, security, and optimized execution.

CircleCI logo
CircleCI MCP Server
Built by StackOne StackOne

Coverage

81 Agent Actions

Create, read, update, and delete across CircleCI — and extend your agent's capabilities with custom actions.

Authentication

Agent Tool Authentication

Per-user OAuth in one call. Your CircleCI MCP server gets session-scoped tokens with zero credentials stored on your infra.

Agent Auth →

Security

Agent Protection

Every CircleCI tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.

Prompt Injection Defense →

Performance

Max Agent Context. Min Cost.

Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every CircleCI call.

Tools Discovery →

What is the CircleCI MCP Server?

A CircleCI MCP server lets AI agents read and write CircleCI data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's CircleCI MCP server ships with 81 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, and optimized agent context. Connect it from MCP clients like Claude Desktop, Cursor, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.

All CircleCI MCP Tools and Actions

Every action from CircleCI's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.

Pipelines

  • List Pipelines

    Get a list of pipelines for recently built projects

  • Get Pipeline

    Get a pipeline by ID

Contexts

  • Create Context

    Create a new context

  • List Contexts

    List all contexts for an owner

  • Get Context

    Get a context by ID

  • Delete Context

    Delete a context

Context Environment Variables

  • List Context Environment Variables

    List environment variables in a context

  • Delete Context Environment Variable

    Remove an environment variable from a context

Context Restrictions

  • Create Context Restriction

    Create a restriction on a context

  • Delete Context Restriction

    Delete a restriction from a context

Organizations

  • Create Organization

    Create a new organization

  • Get Organization

    Get an organization by slug or ID

  • Delete Organization

    Delete an organization

Orb Allow-List Entrys

  • Create Orb Allow-List Entry

    Create a new URL Orb allow-list entry

  • Delete Orb Allow-List Entry

    Remove an entry from the org's URL orb allow-list

Webhooks

  • Create Webhook

    Create an outbound webhook

  • List Webhooks

    List outbound webhooks for a scope

  • Get Webhook

    Get a webhook by ID

  • Update Webhook

    Update an outbound webhook

  • Delete Webhook

    Delete an outbound webhook

Projects

  • Create Project

    Create a new project

  • Get Project

    Get a project by its slug

Project Settings

  • Get Project Settings

    Get advanced settings for a project

  • Update Project Settings

    Update advanced settings for a project

Checkout Keys

  • Create Checkout Key

    Create a new checkout key for a project

  • List Checkout Keys

    Get all checkout keys for a project

Project Environment Variables

  • Create Project Environment Variable

    Create an environment variable for a project

  • List Project Environment Variables

    List all environment variables for a project

  • Get Project Environment Variable

    Get a masked environment variable by name

  • Delete Project Environment Variable

    Delete an environment variable from a project

Schedules

  • Create Schedule

    Create a pipeline schedule for a project

  • List Schedules

    List schedule triggers for a project

  • Get Schedule

    Get a schedule by ID

  • Update Schedule

    Update a pipeline schedule

  • Delete Schedule

    Delete a schedule

Pipeline Definitions

  • Create Pipeline Definition

    Create a pipeline definition for a project

  • List Pipeline Definitions

    List all pipeline definitions for a project

  • Get Pipeline Definition

    Get details for a pipeline definition

  • Update Pipeline Definition

    Update a pipeline definition

  • Delete Pipeline Definition

    Delete a pipeline definition

Environments

  • List Environments

    List environments for an organization

  • Get Environment

    Get an environment by ID

Components

  • List Components

    List components for an organization

  • Get Component

    Get a component by ID

Groups

  • Create Group

    Create a new group in an organization

  • List Groups

    Get all groups in an organization

  • Get Group

    Get details for a group in an organization

  • Delete Group

    Delete a group in an organization

Other (33)

  • Add Or Update Context Environment Variable

    Add or update an environment variable in a context

  • Get Current User

    Get current authenticated user info

  • Get User

    Get a user by ID

  • List Collaborations

    List organizations the current user is a member of

  • List Project Pipelines

    Get all pipelines for a project

  • Get Pipeline Configuration

    Get the configuration for a pipeline

  • Get Pipeline Workflows

    Get all workflows for a pipeline

  • Get Pipeline By Number

    Get a pipeline by its pipeline number

  • Get Pipeline Values

    Get pipeline values for a pipeline

  • List My Pipelines

    Get all pipelines triggered by the current user for a project

  • List Orb Allow-List Entries

    List entries in an organization's URL Orb allow-list

  • Get Project Workflow Runs

    Get recent runs of a workflow

  • Get All Branches

    Get all branches for a project

  • Get Organization Summary Metrics

    Get aggregated summary metrics for an organization

  • Get Project Workflow Metrics

    Get summary metrics for a project's workflows

  • Get Flaky Tests

    Get flaky tests for a project

  • Get Project Workflow Summary

    Get summary metrics and trends for a project across its workflows and branches

  • Get Job Timeseries Data

    Get timeseries data for all jobs within a workflow

  • Get Workflow

    Get a workflow by ID

  • Get Workflow Jobs

    Get all jobs for a workflow

  • Get Job Details

    Get job details by job number

  • Get Job Artifacts

    Get artifacts for a job

  • Get Job Test Metadata

    Get test metadata for a job

  • Get Job

    Get a job by ID

  • List Component Versions

    List versions for a component

  • Trigger Pipeline

    Trigger a new pipeline for a project

  • Trigger Pipeline Run

    Trigger a new pipeline run from a pipeline definition

  • Continue Pipeline

    Continue a pipeline from the setup phase

  • Approve Job

    Approve a pending approval job in a workflow

  • Cancel Workflow

    Cancel a running workflow

  • Rerun Workflow

    Rerun a workflow

  • Cancel Job

    Cancel a job by job number

  • Cancel Job By ID

    Cancel a job by its unique ID

Set Up Your CircleCI MCP Server in Minutes

One endpoint. Any framework. Your agent is talking to CircleCI in under 10 lines of code.

MCP Clients

Agent Frameworks

Claude Desktop
{
  "mcpServers": {
    "stackone": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://api.stackone.com/mcp?x-account-id=<account_id>",
        "--header",
        "Authorization: Basic <YOUR_BASE64_TOKEN>"
      ]
    }
  }
}

More Developer Tools MCP Servers

Azure DevOps

172+ actions

Cloudflare

137+ actions

Bitbucket

134+ actions

Supabase

128+ actions

GitLab

125+ actions

Terraform

118+ actions

OneLogin

109+ actions

CircleCI MCP Server FAQ

CircleCI MCP server vs direct API integration — what's the difference?
A CircleCI MCP server and direct API integration serve different use cases. Direct API integration is for software-to-software — backend code calling CircleCI. A CircleCI MCP server is for AI agents — MCP clients like Claude and Cursor, plus framework agents built with OpenAI, LangChain, or Vercel AI — discovering and calling CircleCI at runtime. StackOne provides both.
How does CircleCI authentication work for AI agents?
CircleCI authentication for AI agents works through a StackOne Connect Session. Create one via the dashboard or the SDK — you get an auth link and ready-to-paste config for Claude Desktop, Cursor, and other MCP clients. Your user authenticates their own CircleCI account; StackOne handles token exchange, storage, and refresh. Credentials never reach the LLM, and each user is isolated via origin_owner_id.
Are CircleCI MCP tools vulnerable to prompt injection?
Yes — CircleCI MCP tools can be vulnerable to indirect prompt injection. Any tool that reads user-written content — documents, messages, tickets, records, or free-text fields — is a potential vector. StackOne Defender scans every tool response before it enters the agent's context — regex patterns in ~1ms, then a MiniLM classifier in ~4ms. 88.7% accuracy, CPU-only.
What is the context bloat of a CircleCI agent and how do I avoid it?
Context bloat happens when CircleCI tool schemas and API responses eat your CircleCI agent's memory, preventing it from reasoning effectively. A single CircleCI query can return a massive JSON response, and connecting multiple tools compounds the problem. Tools Discovery and Code Mode reduce context bloat — loading only relevant tools per query and keeping raw responses out of the agent's context.
Can I limit which actions my CircleCI agent can access?
Yes — you can limit which actions your CircleCI agent can access directly from the StackOne dashboard. Toggle actions on or off, or restrict them to specific accounts, with no code changes to your agent. Session tokens can be scoped to exact actions so if one leaks, exposure stays contained.
Can I create custom agent actions for my CircleCI MCP server?
Yes — you can create custom agent actions for your CircleCI MCP server using Connector Builder. It's an integration agent your coding assistant (Claude Code, Cursor, or Copilot) can invoke to research CircleCI's API, generate production-ready connector YAML, test against the live API, and validate before you ship.
When should I NOT use a CircleCI MCP server?
Skip a CircleCI MCP server if your integration is purely software-to-software — direct CircleCI API integration is simpler when no AI agent is involved. For deterministic, compliance-critical operations (financial transactions, regulatory reporting), direct API gives you predictable behavior without agent-driven decision-making. MCP shines when AI agents need to dynamically discover and call CircleCI actions at runtime.
What AI frameworks and AI clients does the StackOne CircleCI MCP server support?
The StackOne CircleCI MCP server supports both. MCP clients (paste-and-go apps): Claude Desktop, Claude Code, Cursor, VS Code, Goose. Agent frameworks (code SDKs you build with): OpenAI Agents SDK, Anthropic, Vercel AI, Google ADK, CrewAI, Pydantic AI, LangChain, LangGraph, Azure AI Foundry.

Put your AI agents to work

All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.