KosmoKrator

devtools

CircleCI MCP Integration for Claude Code

Connect CircleCI to Claude Code through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write Bearer token auth

Connect CircleCI to Claude Code

Connect local KosmoKrator integrations to Claude Code through one scoped MCP gateway entry.

Add KosmoKrator as a stdio MCP server in the Claude Code project config and select the integrations that should be visible. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Code can inspect read-capable tools without receiving write access by default.

CircleCI MCP Config for Claude Code

Claude Code can launch the local kosmo binary directly from the project MCP config.

{
  "mcpServers": {
    "kosmokrator-circleci": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=circleci",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=circleci --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only CircleCI instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

CircleCI Tools Visible to Claude Code

Claude Code sees stable MCP tool names generated from the CircleCI integration catalog.

MCP toolSource functionTypeDescription
integration__circleci__circleci_list_pipelines circleci.circleci_list_pipelines Read List recent CI/CD pipelines in CircleCI. Filter by organization slug and branch. Returns pipeline IDs, status, trigger information, and revision details.
integration__circleci__circleci_get_pipeline circleci.circleci_get_pipeline Read Get detailed information about a specific CircleCI pipeline, including its status, configuration, trigger source, and commit details.
integration__circleci__circleci_list_workflows circleci.circleci_list_workflows Read List all workflows for a specific CircleCI pipeline. Shows workflow names, statuses (running, success, failed, etc.), and timing information.
integration__circleci__circleci_get_workflow circleci.circleci_get_workflow Read Get detailed information about a specific CircleCI workflow, including its status, timing, duration, and associated project.
integration__circleci__circleci_list_projects circleci.circleci_list_projects Read List all projects in a CircleCI organization. Returns project slugs, repository URLs, and VCS provider information.
integration__circleci__circleci_trigger_pipeline circleci.circleci_trigger_pipeline Write Trigger a new CI/CD pipeline on a CircleCI project. Specify the organization, project, branch, and optional pipeline parameters.
integration__circleci__circleci_get_current_user circleci.circleci_get_current_user Read Get the current authenticated CircleCI user profile. Returns login, name, and account details. Useful for verifying API token validity.

Related CircleCI Pages