npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

z-mcp-chandao

v1.1.11

Published

对接 禅道 (ZenTao) 的 MCP 服务,提供项目管理、需求、任务、Bug 等查询能力

Readme

z-mcp-chandao

禅道 (ZenTao) 的 MCP 服务,供 Cursor 等 AI 客户端通过自然语言查询产品、项目、需求、任务和 Bug。

启动时使用禅道登录账号和密码自动换取 API Token,无需在后台手动创建 Token。

前置条件

  • Node.js 18+
  • 禅道已开启 REST API(后台 → 安全 → API 设置)

快速配置

在项目根目录创建 .cursor/mcp.json

{
  "mcpServers": {
    "z-mcp-chandao": {
      "command": "npx",
      "args": [
        "-y",
        "z-mcp-chandao",
        "--stdio",
        "--chandao-base-url=https://your-zentao.example.com",
        "--chandao-account=your_account",
        "--chandao-password=your_password"
      ]
    }
  }
}

本地开发时可将 command 改为 nodeargs 首项指向 ./dist/index.js(需先执行 npm run build)。

配置完成后重启 Cursor,或在 MCP 面板中重新加载该服务。

启动参数

| 参数 | 必填 | 说明 | |------|------|------| | --stdio | 是 | MCP 通信模式 | | --chandao-base-url | 是 | 禅道站点根地址,如 https://zentao.example.com | | --chandao-account | 是 | 禅道登录账号 | | --chandao-password | 是 | 禅道登录密码 |

认证流程:服务启动时向 POST /api.php/v1/tokens(即 baseUrl + /api.php/v1/tokens)提交账号密码获取 Token,后续请求使用 Token: <token> 请求头;业务接口前缀为 /api.php/v1

提供的工具

| 工具 | 说明 | |------|------| | zentao_list_products | 产品列表(支持 pagelimit) | | zentao_get_product | 产品详情,参数 id | | zentao_list_projects | 项目 / 项目集列表 | | zentao_get_project | 项目详情,参数 id | | zentao_list_stories | 产品下的需求列表,参数 productId | | zentao_list_tasks | 迭代下的任务列表,参数 executionId | | zentao_list_bugs | 产品下的 Bug 列表,参数 productId | | zentao_get_bug | Bug 详情,参数 id |

对话示例

  • 获取禅道产品列表
  • 获取产品 35 下的 Bug 列表
  • 查看 Bug 5479 的详情
  • 获取项目列表