Back to MCP directory
publicPublicdnsLocal runtime

github-actions-server

一个用于查询和监控GitHub Actions工作流运行的MCP服务器,提供多种筛选工具

article

README

🚀 GitHub Actions MCP 服务器

本项目是一个用于与GitHub Actions工作流交互的MCP服务器,提供了一系列工具,可用于查询和监控GitHub Actions工作流的运行情况,帮助用户更高效地管理工作流。

🚀 快速开始

若要使用本服务器,可按以下步骤操作:

  1. 构建项目:
npm run build
  1. 启动服务器:
npm start

✨ 主要特性

  • 可列出具有过滤选项的工作流运行。
  • 能够获取最新工作流运行。
  • 可以获取失败的工作流运行。
  • 支持根据状态、分支和事件类型进行筛选。

📦 安装指南

使用以下命令进行安装:

npm install

💻 使用示例

基础用法

本服务器提供了多个实用工具,以下是各工具的使用说明:

list - workflow - runs

列出仓库中的GitHub Actions工作流运行,具有过滤选项。

get - latest - workflow - run

获取最新工作流运行,可选过滤条件包括工作流ID。

get - failed - workflow - runs

获取失败的工作流运行列表,支持配置限制数量。

📚 详细文档

你需要一个具有适当权限的GitHub个人访问令牌,以便访问私有仓库。

📄 许可证

本项目采用MIT许可证。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client