Zentao Bug MCP

Zentao Bug MCP

MCP server for Zentao that reads bugs, extracts reproduction steps, and allows AI to update bug status after fixing.

Category
Visit Server

README

禅道 Bug MCP

面向 AI 修 Bug 场景的禅道 MCP Server。通过 Cursor / Claude 等 MCP 客户端,读取禅道 Bug、获取 AI 友好的重现步骤摘要,并在修复完成后受控回写禅道状态。

适配 禅道开源版 16.5+ / 18.12,REST API v1:${ZENTAO_URL}/api.php/v1

一键安装

无需 clone 仓库,复制一条命令执行即可。脚本会自动从 GitHub 下载、安装依赖、构建,并交互式询问禅道账号与 AI 平台;也可选择「稍后配置」账号。

macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/ceeyang/zentao_mcp/main/install.sh | bash

Windows PowerShell:

irm https://raw.githubusercontent.com/ceeyang/zentao_mcp/main/install.ps1 | iex

安装过程:

  1. 下载到 ~/.local/share/zentao-mcp(Windows:%LOCALAPPDATA%\zentao-mcp
  2. 自动 npm install + 构建
  3. 询问禅道地址 / 账号 / 密码(可跳过,稍后在 MCP 配置的 env 里填写)
  4. 自动检测本机 AI 客户端并写入 MCP 配置

安装完成后重启 AI 客户端,对话测试:调用 zentao_health_check 检查禅道连接

查看安装命令:npm run install:urls

稍后配置禅道账号

安装时选「否」跳过账号,或安装完成后编辑 MCP 配置文件里 zentaoenv

"env": {
  "ZENTAO_URL": "https://your-zentao-host",
  "ZENTAO_ACCOUNT": "your_account",
  "ZENTAO_PASSWORD": "your_password",
  "ZENTAO_SKIP_SSL": "true"
}

常见路径:~/.cursor/mcp.json(Cursor)、Claude Desktop 的 claude_desktop_config.json 等。

CI / 批量部署(可选)

ZENTAO_URL=https://zentao.example.com \
ZENTAO_ACCOUNT=bot \
ZENTAO_PASSWORD=secret \
curl -fsSL https://raw.githubusercontent.com/ceeyang/zentao_mcp/main/install.sh | bash -s -- --yes

功能

Tool 说明 默认权限
zentao_health_check 检查配置、认证、写操作开关 只读
zentao_list_my_bugs 查询指派给当前用户的 Bug 只读
zentao_list_bugs 按产品/项目/执行列 Bug 只读
zentao_get_bug Bug 详情 + HTML 步骤转纯文本 只读
zentao_resolve_bug 标记已修复 需开关
zentao_close_bug 关闭 Bug 需开关
zentao_activate_bug 重新激活 Bug 需开关

支持的 AI 平台

cursor · claude · claude_code · windsurf · trae · trae_cn · vscode · cline · opencode · continue · zed · kiro · roocode · amazonq · copilot_cli · gemini · kimi · codex

安装时默认 auto 自动检测,详见 docs/INSTALL.zh-CN.md

维护者

git clone https://github.com/ceeyang/zentao_mcp.git
cd zentao_mcp
npm install && npm run build
./install.sh
npm run test:install     # 本地 E2E
npm run verify:github    # 检查 GitHub raw 是否可访问
npm run pack:release     # 离线 tgz 包

环境变量

变量 说明
ZENTAO_URL / ZENTAO_ACCOUNT / ZENTAO_PASSWORD 禅道凭据(安装时输入或写入 MCP env)
ZENTAO_SKIP_SSL 自签名证书设为 true
INSTALL_PLATFORMS auto / all / 逗号列表(非交互 --yes 时用)
ZENTAO_MCP_REPO GitHub 仓库,默认 ceeyang/zentao_mcp
ZENTAO_NODE_PATH 指定 node 绝对路径

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured