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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@leeguoo/zentao-mcp

v0.4.1

Published

MCP server for ZenTao RESTful APIs

Downloads

729

Readme

zentao-mcp

MCP server for ZenTao RESTful APIs (products + bugs).

Quick Start

Cursor IDE

  1. Open Cursor Settings (⌘, on Mac or Ctrl+, on Windows/Linux)
  2. Navigate to FeaturesModel Context Protocol
  3. Click Edit Config to open ~/.cursor/mcp.json (or create it)
  4. Add the following configuration:
{
  "mcpServers": {
    "zentao-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@leeguoo/zentao-mcp",
        "--zentao-url=https://zentao.example.com/zentao",
        "--zentao-account=leo",
        "--zentao-password=***",
        "--stdio"
      ]
    }
  }
}
  1. Restart Cursor IDE

Other MCP Clients (Claude Desktop, etc.)

For clients using TOML configuration (e.g., Claude Desktop), add to your MCP config file:

[mcp_servers."zentao-mcp"]
command = "npx"
args = [
  "-y",
  "@leeguoo/zentao-mcp",
  "--zentao-url=https://zentao.example.com/zentao",
  "--zentao-account=leo",
  "--zentao-password=***",
  "--stdio"
]

Config file locations:

  • Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.toml (Mac) or %APPDATA%\Claude\claude_desktop_config.toml (Windows)
  • Cursor: ~/.cursor/mcp.json (JSON format)

Configuration

Required Parameters

You can configure the server using CLI arguments or environment variables:

CLI Arguments:

  • --zentao-url (e.g. https://zentao.example.com/zentao)
  • --zentao-account
  • --zentao-password

Environment Variables:

  • ZENTAO_URL (e.g. https://zentao.example.com/zentao)
  • ZENTAO_ACCOUNT
  • ZENTAO_PASSWORD

Using Environment Variables in Cursor

If you prefer to use environment variables instead of CLI args, you can configure them in Cursor:

{
  "mcpServers": {
    "zentao-mcp": {
      "command": "npx",
      "args": ["-y", "@leeguoo/zentao-mcp", "--stdio"],
      "env": {
        "ZENTAO_URL": "https://zentao.example.com/zentao",
        "ZENTAO_ACCOUNT": "leo",
        "ZENTAO_PASSWORD": "***"
      }
    }
  }
}

Tip: ZENTAO_URL should include the ZenTao base path (often /zentao).

Tools

The MCP server provides four tools that can be triggered by natural language in Cursor:

  • zentao_products_list - List all products
  • zentao_bugs_list - List bugs for a specific product
  • zentao_bug_get - Get bug details by ID
  • zentao_bugs_mine - List my bugs by assignment or creator (status filter supported)

Usage Examples

After configuring the MCP server in Cursor, you can use natural language to interact with ZenTao:

English:

  • "Show me all products"
  • "List bugs for product 1"
  • "Show bug 123"
  • "Show me bugs"
  • "Show my bugs"
  • "List bugs assigned to me"
  • "View bugs in product 2"

Chinese (中文):

  • "看bug" / "查看bug" / "显示bug"
  • "产品1的bug列表"
  • "查看bug 123"
  • "显示所有产品"
  • "查看产品2的问题"
  • "我的bug"
  • "分配给我的bug"

The AI will automatically:

  1. Use zentao_products_list to get product IDs when needed
  2. Use zentao_bugs_list when you ask to see bugs
  3. Use zentao_bug_get when you ask for bug details
  4. Use zentao_bugs_mine when you ask for your own bugs

Tool Parameters

zentao_products_list:

{
  "page": 1,
  "limit": 1000
}

zentao_bugs_list:

{
  "product": 1,
  "page": 1,
  "limit": 20
}

zentao_bug_get:

{
  "id": 123
}

zentao_bugs_mine:

{
  "status": "active",
  "scope": "assigned",
  "includeZero": false,
  "includeDetails": true,
  "maxItems": 50
}

Local Development

pnpm install
ZENTAO_URL=https://zentao.example.com/zentao \\
ZENTAO_ACCOUNT=leo \\
ZENTAO_PASSWORD=*** \\
pnpm start

Security

Do not commit credentials. Prefer environment variables in local runs.