Back to MCP directory
publicPublicdnsLocal runtime

github-actions-for-plane-mcp

该项目配置了GitHub Actions工作流,用于测试Plane.so API端点,包含单元测试和集成测试,需配置API密钥和工作区slug作为密钥。

article

README

🚀 GitHub Actions for Plane-MCP

本项目借助GitHub Actions工作流,实现对Plane-MCP项目的自动化测试与部署。通过配置特定的工作流和保密信息,可确保测试的顺利进行。

🚀 快速开始

保密配置

为保障集成测试在GitHub Actions上正常运行,您需在GitHub仓库设置里配置如下机密信息:

  • TEST_PLANE_TOKEN_API:用于测试的Plane.so API密钥
  • TEST_PLANE_WORKSPACE_SLUG:您的Plane.so工作区标识符(例如,“your-organization”)

如何配置机密

  1. 进入您的GitHub仓库。
  2. 前往“设置”>“机密和变量”>“Actions”。
  3. 点击“新建仓库机密”。
  4. 添加上述提及的两个机密。

可用工作流

test-endpoints.yml

此工作流用于对Plane API端点进行测试,触发条件如下:

  • 推送到主/MASTER分支时。
  • 创建到主/MASTER分支的拉取请求时。
  • 通过GitHub Actions界面手动执行。
  • 自动每天午夜(00:00 UTC)运行一次。

该工作流包含两个作业:

  1. unit-tests:运行所有单元测试。
  2. integration-tests:运行集成测试和端点验证脚本。

手动执行

若要通过GitHub Actions手动运行测试,可按以下步骤操作:

  1. 进入仓库的“Actions”标签页。
  2. 在侧边栏选择“Test API Endpoints”工作流。
  3. 点击“运行工作流”。
  4. 选择要在其上运行测试的分支。
  5. 再次点击“运行工作流”。
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