devtools
CircleCI MCP Integration for Claude Agent SDK
Connect CircleCI to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect CircleCI to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
CircleCI MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"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
Expose only CircleCI instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
CircleCI Tools Visible to Claude Agent SDK
Claude Agent SDK sees stable MCP tool names generated from the CircleCI integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |