MCP Catalogs
Home

mcp-server-circleci

by CircleCI-Public·83·Score 46

A TypeScript MCP server that integrates CircleCI's development workflow with AI assistants via natural language commands.

developer-toolsops-infraproductivity
57
Forks
26
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

The CircleCI MCP server provides a comprehensive bridge between CircleCI's CI/CD infrastructure and AI assistants like Cursor, Windsurf, Claude, and VS Code. It exposes 18 specialized tools for analyzing builds, finding flaky tests, rerunning workflows, managing artifacts, and optimizing resource usage. The server supports multiple deployment methods including NPX, Docker, and self-managed remote servers, with clear configuration instructions for each popular IDE and client.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Trigger and monitor CircleCI pipelines directly from AI assistants without leaving your IDE
you:Analyze build failures and test results to identify and fix issues faster
you:Optimize CircleCI configurations by finding underused resources and flaky tests
you:What permissions do I need for the CircleCI API token?
you:Can I use this server with on-premise CircleCI?

When to choose this

Choose this server if you're using CircleCI for CI/CD and want to interact with your pipelines through natural language commands in your IDE.

When NOT to choose this

Avoid if you're not using CircleCI or prefer a more generic CI/CD tool with broader platform support.

Tools this server exposes

12 tools extracted from the README
  • analyze_diff

    Analyze git diffs against cursor rules for violations

  • config_helper

    Validate and get guidance for your CircleCI configuration

  • create_prompt_template

    Generate structured prompt templates for AI applications

  • download_usage_api_data

    Download usage data from the CircleCI Usage API

  • find_flaky_tests

    Identify flaky tests by analyzing test execution history

  • find_underused_resource_classes

    Find jobs with underused compute resources

  • get_build_failure_logs

    Retrieve detailed failure logs from CircleCI builds

  • get_job_test_results

    Retrieve test metadata and results for CircleCI jobs

  • get_latest_pipeline_status

    Get the status of the latest pipeline for a branch

  • list_artifacts

    List artifacts produced by a CircleCI job

  • rerun_workflow

    Rerun a workflow from start or from the failed job

  • run_pipeline

    Trigger a pipeline to run

Comparable tools

github-mcp-serverjenkins-mcp-servergitlab-mcp-server

Installation

Installation

With Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "circleci-mcp-server": {
      "command": "npx",
      "args": ["-y", "@circleci/mcp-server-circleci@latest"],
      "env": {
        "CIRCLECI_TOKEN": "your-circleci-token",
        "CIRCLECI_BASE_URL": "https://circleci.com",
        "MAX_MCP_OUTPUT_LENGTH": "50000"
      }
    }
  }
}

With VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "circleci-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@circleci/mcp-server-circleci@latest"],
      "env": {
        "CIRCLECI_TOKEN": "${input:circleci-token}",
        "CIRCLECI_BASE_URL": "${input:circleci-base-url}"
      }
    }
  }
}

**Prerequisites:** CircleCI Personal API token, Node.js ≥ v18, pnpm, Docker (optional)

FAQ

What permissions do I need for the CircleCI API token?
The token needs the 'Status' and 'Settings' scopes to access pipeline information, build details, and configuration validation features.
Can I use this server with on-premise CircleCI?
Yes, you need to set the CIRCLECI_BASE_URL environment variable to your on-premise instance URL instead of the default 'https://circleci.com'.

Compare mcp-server-circleci with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.