CircleCI
Let your AI check CircleCI: pipelines, workflows and jobs, failed tests and artifacts, Insights metrics and flaky tests, contexts and variable names, and start pipelines or rerun and cancel workflows after you confirm.
7 天免费 · 无需信用卡 · EU 托管
问 CircleCI 任何事
通过 AnythingMCP 对 CircleCI 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。
在 Cloud 上安装 CircleCIClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 CircleCI。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
CircleCI 指南
面向主流 AI 客户端的逐步设置。
配置 CircleCI
直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。
CircleCI
This connector works with CircleCI through the API v2 (https://circleci.com/api/v2): projects, pipelines, workflows and jobs, test results and artifacts, Insights metrics and flaky tests, contexts, and the names of environment variables. It can start pipelines and rerun or cancel workflows after you confirm. It acts as the user who owns the token and sees what that user can see.
Setup (about 2 minutes)
- In CircleCI open User Settings > Personal API Tokens (https://app.circleci.com/settings/user/tokens) and click Create New Token.
- Copy the token (newer ones start with CCIPAT_) and paste it into
CIRCLECI_TOKEN. It is sent in theCircle-Tokenheader to circleci.com only. Project API tokens do not work with API v2. - Check the setup with
circleci_get_current_user, thencircleci_list_collaborations.
The token has the same rights as your CircleCI user in every organization you belong to; share the MCP server only with people who may see those builds.
Project slugs: most tools need a project slug, shown in Project Settings > Overview:
- GitHub OAuth and Bitbucket Cloud projects:
gh/<org>/<repo>orbb/<workspace>/<repo>, e.g.gh/acme/web-app. - GitHub App and GitLab projects:
circleci/<organization id>/<project id>, e.g.circleci/43G3lM5RtfFE7v5sa4nWAU/44n9wujWcTnVZ2b5S8Fnat. Pass the slug with its slashes as it is.
How to work
circleci_list_pipelines(newest first, optionally one branch),circleci_get_pipelineby id, orcircleci_get_pipeline_by_numberfor the #number in the app.circleci_list_pipeline_workflows(orcircleci_get_workflowby id), thencircleci_list_workflow_jobsto find the failed job and its job_number.circleci_get_job,circleci_list_job_tests(counts, and failed tests with messages) andcircleci_list_job_artifacts. Full step logs are only in the CircleCI app via the job's web_url.- Trends:
circleci_get_workflow_metrics,circleci_get_workflow_summaryandcircleci_list_flaky_tests. Insights data is refreshed daily. - Configuration:
circleci_get_project,circleci_list_contexts,circleci_list_context_env_var_namesandcircleci_list_project_env_var_names. Only names are returned, never values.
Writes always need the user's confirmation: circleci_trigger_pipeline (needs a definition id from circleci_list_pipeline_definitions, which needs the project id from circleci_get_project; not available for GitLab projects), circleci_rerun_workflow and circleci_cancel_workflow. Each uses credits or stops running work, and may run or interrupt deploy jobs. Describe the effect and call only after the user agrees. Nothing here deletes projects, contexts or variables.
Pagination: lists return next_page_token; call again with page_token set to it until it is empty.
Errors: 401 means the token is wrong or revoked (or a project token was used). 404 usually means a wrong project slug, or a project the user cannot see; CircleCI answers 404 rather than 403 for projects outside your access. 429 means the rate limit is reached; wait and retry.
Out of scope here: approving held jobs, creating or deleting projects, contexts, environment variables, schedules and webhooks, and reading full job step logs.