CP

circleci-public/mcp-server-circleci

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

94 stars 63 forks 质量 81 趋势 29NOASSERTION

circleci-public/mcp-server-circleci 是从 https://github.com/circleci-public/mcp-server-circleci. 导入的 MCP 服务器候选

概览

circleci-public/mcp-server-circleci 是从 https://github.com/circleci-public/mcp-server-circleci. 导入的 MCP 服务器候选

概述(AI 翻译)

[!重要] 此软件包已被弃用。请迁移。

@circleci/mcp-server-circleci 不再接收功能开发。请使用 CircleCI 的托管 MCP 服务器或 CircleCI CLI MCP——参见 CircleCI MCP 概述。

本仓库将被归档。现有版本仍可从 npm 安装,但不建议运行未维护的服务器并持有 CircleCI 个人 API 令牌。

如果你运行的是自管理远程传输(start=remote),请先迁移:托管服务器是它的直接替代,免除了运营面向网络的服务来代理组织令牌的需求。

CircleCI MCP 服务器

模型上下文协议(MCP)是一种新的标准化协议,用于管理大型语言模型(LLM)与外部系统之间的上下文。在本仓库中,我们提供了一个CircleCI的MCP服务器。

使用Cursor、Windsurf、Copilot、Claude或任何兼容MCP的客户端,即可使用自然语言与CircleCI交互——无需离开你的IDE。

工具

工具 描述
config_helper 验证并获得CircleCI配置的指导

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

[!IMPORTANT] This package is deprecated. Please migrate.

@circleci/mcp-server-circleci is no longer receiving feature work. Use CircleCI’s hosted MCP server or the CircleCI CLI MCP instead — see the CircleCI MCP overview.

This repository will be archived. Existing versions remain installable from npm, but running an unmaintained server that holds a CircleCI Personal API Token is not recommended.

If you are running the self-managed remote transport (start=remote), migrate first: the hosted server is its direct replacement and removes the need to operate a network-facing service that brokers your org’s token.

CircleCI MCP Server

Model Context Protocol (MCP) is a new, standardized protocol for managing context between large language models (LLMs) and external systems. In this repository, we provide an MCP Server for CircleCI.

Use Cursor, Windsurf, Copilot, Claude, or any MCP-compatible client to interact with CircleCI using natural language — without leaving your IDE.

Tools

Tool Description
config_helper Validate and get guidance for your CircleCI configuration
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
list_component_versions List all versions for a CircleCI component
list_followed_projects List all CircleCI projects you’re following
rerun_workflow Rerun a workflow from start or from the failed job
run_pipeline Trigger a pipeline to run
在 GitHub 查看完整 README

安装

npx -y @circleci/mcp-server-circleci@latest
新手?先看 mcpskill.org 教程 →

配置

{ "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" } } } }