CircleCI MCP 与 API 接入

团队应用鉴权:api_key

团队 CircleCI 持续集成:流水线、工作流与任务(触发、重跑、取消、审批)、定时任务与不稳定测试分析。

本地 CircleCI MCP 配置

每台设备存放明文密钥

  • 原始 CircleCI Token 被复制到本地配置文件
  • 每位成员在每台电脑都需要重复安装配置
  • 每次对话都要注入数十个工具 Schema 占满上下文
通过 Duang 金库接入 CircleCI

一次连接,随时一键吊销

  • 每团队独立信封加密保存凭证
  • 本地磁盘与大模型提示词中零明文密钥
  • 全团队共享同一个远程 MCP 端点
发给 Agent 对话直接发给 Claude Code、OpenClaw、OpenCode、Grok Bot、Antigravity、Hermes 或 Pi

set up https://duang.ai/SKILL.md

全部操作(104)

操作价格
POST circleci.com/api/v2/context

Create a new context

自备 Key
GET circleci.com/api/v2/context

List contexts

自备 Key
GET circleci.com/api/v2/context/{context_id}

Get a context

自备 Key
DELETE circleci.com/api/v2/context/{context_id}

Delete a context

自备 Key
GET circleci.com/api/v2/context/{context_id}/environment-variable

List environment variables

自备 Key
DELETE circleci.com/api/v2/context/{context_id}/environment-variable/{env_var_name}

Remove an environment variable

自备 Key
GET circleci.com/api/v2/context/{context_id}/restrictions

Get context restrictions

自备 Key
POST circleci.com/api/v2/context/{context_id}/restrictions

Create context restriction

自备 Key
DELETE circleci.com/api/v2/context/{context_id}/restrictions/{restriction_id}

Delete context restriction

自备 Key
GET circleci.com/api/v2/deploy/environments

List Environments

自备 Key
GET circleci.com/api/v2/deploy/environments/{environment_id}

Get Environment

自备 Key
GET circleci.com/api/v2/deploy/components

List Components

自备 Key
GET circleci.com/api/v2/deploy/components/{component_id}

Get Component

自备 Key
GET circleci.com/api/v2/deploy/components/{component_id}/versions

List Component Versions

自备 Key
GET circleci.com/api/v2/organizations/{org_id}/groups

Groups in an organization

自备 Key
POST circleci.com/api/v2/organizations/{org_id}/groups

Create Groups

自备 Key
GET circleci.com/api/v2/organizations/{org_id}/groups/{group_id}

A group in an organization

自备 Key
DELETE circleci.com/api/v2/organizations/{org_id}/groups/{group_id}

Delete a group

自备 Key
POST circleci.com/api/v2/insights/pages/{project-slug}/summary

Get summary metrics and trends for a project across its workflows and branches, with the filters in the request body

自备 Key
GET circleci.com/api/v2/insights/time-series/{project-slug}/workflows/{workflow-name}/jobs

Job timeseries data

自备 Key
GET circleci.com/api/v2/insights/{project-slug}/branches

Get all branches for a project

自备 Key
GET circleci.com/api/v2/insights/{project-slug}/flaky-tests

Get flaky tests for a project

自备 Key
GET circleci.com/api/v2/insights/{project-slug}/workflows

Get summary metrics for a project's workflows

自备 Key
GET circleci.com/api/v2/insights/{project-slug}/workflows/{workflow-name}

Get recent runs of a workflow

自备 Key
GET circleci.com/api/v2/insights/{project-slug}/workflows/{workflow-name}/jobs

Get summary metrics for a project workflow's jobs.

自备 Key
GET circleci.com/api/v2/insights/{project-slug}/workflows/{workflow-name}/summary

Get metrics and trends for workflows

自备 Key
GET circleci.com/api/v2/insights/{project-slug}/workflows/{workflow-name}/test-metrics

Get test metrics for a project's workflows

自备 Key
POST circleci.com/api/v2/jobs/{job-id}/cancel

Cancel job by job ID

自备 Key
POST circleci.com/api/v2/project/{project-slug}/job/{job-number}/cancel

Cancel job by job number

自备 Key
GET circleci.com/api/v2/jobs/{job_id}

Get a job

自备 Key
GET circleci.com/api/v2/org/{orgID}/oidc-custom-claims

Get org-level claims

自备 Key
DELETE circleci.com/api/v2/org/{orgID}/oidc-custom-claims

Delete org-level claims

自备 Key
PATCH circleci.com/api/v2/org/{orgID}/oidc-custom-claims

Patch org-level claims

自备 Key
GET circleci.com/api/v2/org/{orgID}/project/{projectID}/oidc-custom-claims

Get project-level claims

自备 Key
DELETE circleci.com/api/v2/org/{orgID}/project/{projectID}/oidc-custom-claims

Delete project-level claims

自备 Key
PATCH circleci.com/api/v2/org/{orgID}/project/{projectID}/oidc-custom-claims

Patch project-level claims

自备 Key
POST circleci.com/api/v2/organization

Create a new organization

自备 Key
GET circleci.com/api/v2/organization/{org-slug-or-id}

Get an organization

自备 Key
DELETE circleci.com/api/v2/organization/{org-slug-or-id}

Delete an organization

自备 Key
GET circleci.com/api/v2/organization/{org-slug-or-id}/url-orb-allow-list

List the entries in the org's URL Orb allow-list

自备 Key
POST circleci.com/api/v2/organization/{org-slug-or-id}/url-orb-allow-list

Create a new URL Orb allow-list entry

自备 Key
DELETE circleci.com/api/v2/organization/{org-slug-or-id}/url-orb-allow-list/{allow-list-entry-id}

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

自备 Key
GET circleci.com/api/v2/otel/exporters

🧪 List OTLP exporters

自备 Key
POST circleci.com/api/v2/otel/exporters

🧪 Create an OTLP exporter

自备 Key
DELETE circleci.com/api/v2/otel/exporters/{otel_exporter_id}

🧪 Delete an OTLP exporter

自备 Key
GET circleci.com/api/v2/pipeline

Get a list of pipelines

自备 Key
POST circleci.com/api/v2/pipeline/continue

Continue a pipeline

自备 Key
GET circleci.com/api/v2/pipeline/{pipeline-id}

Get a pipeline by ID

自备 Key
GET circleci.com/api/v2/pipeline/{pipeline-id}/config

Get a pipeline's configuration

自备 Key
GET circleci.com/api/v2/pipeline/{pipeline-id}/workflow

Get a pipeline's workflows

自备 Key
GET circleci.com/api/v2/project/{project-slug}/pipeline

Get all pipelines

自备 Key
POST circleci.com/api/v2/project/{project-slug}/pipeline

Trigger a new pipeline

自备 Key
GET circleci.com/api/v2/project/{project-slug}/pipeline/mine

Get your pipelines

自备 Key
GET circleci.com/api/v2/project/{project-slug}/pipeline/{pipeline-number}

Get a pipeline by pipeline number

自备 Key
POST circleci.com/api/v2/project/{provider}/{organization}/{project}/pipeline/run

[Recommended] Trigger a new pipeline

自备 Key
GET circleci.com/api/v2/pipeline/{pipeline_id}/values

Get pipeline values for a pipeline

自备 Key
GET circleci.com/api/v2/projects/{project_id}/pipeline-definitions

List pipeline definitions

自备 Key
POST circleci.com/api/v2/projects/{project_id}/pipeline-definitions

Create pipeline definition

自备 Key
GET circleci.com/api/v2/projects/{project_id}/pipeline-definitions/{pipeline_definition_id}

Get pipeline definition

自备 Key
PATCH circleci.com/api/v2/projects/{project_id}/pipeline-definitions/{pipeline_definition_id}

Update pipeline definition

自备 Key
已展示 60 / 104 个操作,在上方输入关键词可检索全部。

常见问题

如何在 Claude Code 或 Cursor 中接入 CircleCI?

通过 Duang 远程 MCP 网关(https://api.duang.ai/mcp)一键连接,即可让 AI Agent 调用 CircleCI 全部 104 个操作,无需本地维护 MCP 插件或明文密钥。

通过 Duang 接入 CircleCI 需要额外付费吗?

团队应用接入永久 $0 平台费。凭证加密封存于团队金库,永不进入模型上下文。

我的 CircleCI 密钥会暴露给大模型吗?

不会。密钥仅在 Duang 服务端出站请求时解密注入,本地配置文件与大模型上下文中均不包含明文密钥。

相关团队应用