ZenTao MCP Server
The ZenTao MCP Server is a CLI tool that provides programmatic integration with ZenTao project management software to manage and query products and bugs.
List Products: Retrieve all products with details like ID, name, and bug counts, with pagination support using
zentao_products_list.List Bugs by Product: View bugs for a specific product by providing the product ID with
zentao_bugs_list.Get Bug Details: Fetch comprehensive details about a specific bug using its ID with
zentao_bug_get.List My Bugs: Access a personalized list of bugs assigned to or created by you with flexible filtering options including scope (assigned/opened/resolved/all), status (active/resolved/closed/all), product ID, account, pagination controls, and optional full details using
zentao_bugs_mine.Authentication: Configure credentials via CLI arguments, environment variables, or saved login for seamless access without re-authentication.
Bilingual Support: Handles queries in both English and Chinese for common bug-related operations.
JSON Output: Commands support full JSON output for programmatic use.
Self-Test: Verify configuration and connectivity with a diagnostic self-test command.
Local Development: Includes tools for testing and development workflows.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ZenTao MCP Server show me bugs assigned to me"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
zentao-mcp
Check bugs, tasks, requirements, to-dos, products, projects, tests, and documents from the command line, allowing your AI assistant to interact directly with ZenTao.
Zero dependencies, single file, ready to use after installation.
Quick Start
npx skills add leeguooooo/zentao-mcp -y -gInstall CLI:
pnpm i -g @leeguoo/zentao-mcpNo pnpm? You can also use npm:
npm i -g @leeguoo/zentao-mcpDon't want to install? Run directly:
npx -y @leeguoo/zentao-mcp --helpskills add is only responsible for installing the skill file; it is still recommended to install the CLI globally and use the zentao command directly.
Related MCP server: ZenTao Bugs MCP Server
Login
Log in just once, and credentials will be saved to a local configuration file:
zentao login \
--zentao-url=https://zentao.example.com/zentao \
--zentao-account=你的账号 \
--zentao-password=你的密码Note: The URL usually needs to include the
/zentaopath. If you see a 404 when logging in, it is likely missing.
Verify login status:
zentao whoamiConfiguration file location: ~/.config/zentao/config.toml
Supported Capabilities
The current CLI supports these objects and actions:
Authentication and Connectivity:
login,whoami,self-testBugs: list, query, create, assign, comment, resolve, close, activate, check my bugs
Tasks: list, query, create, start, finish, pause, close
Requirements: list, query, create
To-dos: list, query, create, finish, close
Products / Projects / Programs / Executions: list, project build query
Plans / Releases: list, details
Test Cases / Test Runs / Test Suites: list, details
Document Libraries / Documents: list, details
Users / Departments: list
Issues / Risks: list, details
Machine-readable output: All commands support
--json
Daily Usage
View Product List
zentao products listView Bugs for a Specific Product
zentao bugs list --product 6View Bug Details
zentao bug get --id 1329View Bugs Assigned to Me
zentao bugs mine --status activeWith details:
zentao bugs mine --status active --include-detailsNeed Raw JSON?
Add --json after any command:
zentao products list --json
zentao bugs list --product 6 --json
zentao bug get --id 1329 --json
zentao bugs mine --include-details --jsonSelf-Test
Verify if the API connection is normal:
zentao self-testCommand Overview
zentao login --zentao-url=... --zentao-account=... --zentao-password=...
zentao whoami
zentao self-test
zentao products list
zentao programs list
zentao projects list
zentao projects builds --id 22
zentao executions list
zentao bugs list --product 6
zentao bugs mine --status active --include-details
zentao bug get --id 1329
zentao bug create --product 6 --title "bug title"
zentao bug assign --id 1329 --assigned-to someone
zentao bug resolve --id 1329 --resolution fixed
zentao bug close --id 1329
zentao bug activate --id 1329
zentao bug comment --id 1329 --comment "comment"
zentao tasks list --execution 25
zentao task get --id 388
zentao task create --execution 25 --name "task name"
zentao task start --id 388
zentao task finish --id 388
zentao task pause --id 388
zentao task close --id 388
zentao stories list --product 3
zentao story get --id 1
zentao story create --product 3 --title "story title"
zentao todos list
zentao todos get --id 1
zentao todos create --name "todo name"
zentao todos finish --id 1
zentao todos close --id 1
zentao plans list --product 3
zentao plans get --id 1
zentao releases list --product 3
zentao releases get --id 1
zentao testcases list --product 3
zentao testcases get --id 1
zentao testtasks list
zentao testtasks get --id 1
zentao testsuites list --product 3
zentao testsuites get --id 1
zentao docs libs
zentao docs list --lib 50
zentao docs get --id 1
zentao users list
zentao departments list
zentao issues list
zentao issues get --id 1
zentao risks list
zentao risks get --id 1Let AI Help You Check ZenTao
Just say to your AI assistant (Cursor / Claude Code / Windsurf, etc.):
Help me execute
npx skills add leeguooooo/zentao-mcp -y -g, then help me log in to ZenTao
After installation, you can directly say:
"Help me see which unresolved bugs are in product 6"
"Check the details of bug #1329"
"How many active bugs do I have?"
"Help me see what tasks are in execution 25"
"Check the requirements / plans / releases for product 3"
"List test runs, test cases, and test suites"
"Look at project issues and risks"
"Open the document list in document library 50"
When a user requests to install this repository as a skill, please execute in order:
1. Install Skill
npx skills add leeguooooo/zentao-mcp -y -g2. Install CLI
pnpm i -g @leeguoo/zentao-mcp || npm i -g @leeguoo/zentao-mcp3. Verify Installation
zentao --help4. Guide Login
Prompt the user to provide the ZenTao URL, account, and password, then execute:
zentao login --zentao-url="<用户的禅道URL>" --zentao-account="<账号>" --zentao-password="<密码>"Note: The URL usually needs to include
/zentao, such ashttps://zentao.example.com/zentao
5. Verify
zentao whoami
zentao self-testAfter everything passes, inform the user that the installation is complete.
FAQ
Q: 404 error when logging in?
A: The URL needs to include /zentao, for example https://zentao.example.com/zentao, not https://zentao.example.com/.
Q: Which ZenTao versions are supported? A: Supports ZenTao Open Source and Enterprise versions' REST API (v1).
Q: Are credentials secure?
A: Credentials are stored in plain text TOML in ~/.config/zentao/config.toml. Please ensure file permissions are secure. Do not commit the configuration file to Git.
Links
Available Tools
4 toolszentao_bug_getC
Get bug details (获取Bug详情) by bug ID.
Inputs: id (required).
zentao_bugs_listA
List bugs (缺陷/问题) for a specific product in ZenTao. Use this when user asks to 'see bugs', 'view bugs', 'show bugs', '看bug', '查看bug', '显示bug', or wants to check issues for a product. Requires product ID which can be obtained from zentao_products_list.
Inputs: product (required), page, limit.
zentao_bugs_mineA
List my bugs (我的Bug) by assignment or creator. Default scope is assigned. Use when user asks for 'my bugs', '我的bug', '分配给我', or personal bug list.
Inputs: account, scope, status, productIds, +4 more.
zentao_products_listA
List all products from ZenTao. Use this to get product IDs before querying bugs. Returns product information including ID, name, and bug counts.
Inputs: page, limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: zentao_bug_get retrieves a specific bug by ID, zentao_bugs_list lists bugs for a product, zentao_bugs_mine lists personal bugs, and zentao_products_list lists products. There is no overlap in functionality, and the descriptions explicitly differentiate their use cases, preventing misselection.
All tool names follow a consistent snake_case pattern with a 'zentao_' prefix and a clear verb_noun structure (e.g., 'bug_get', 'bugs_list', 'bugs_mine', 'products_list'). This predictability makes it easy for agents to understand and navigate the tool set without confusion.
With 4 tools, the count is reasonable for a ZenTao bug tracking server, covering core operations like listing products, viewing bugs, and personal bug lists. However, it feels slightly thin as it lacks tools for creating, updating, or deleting bugs, which are common in such domains, but the existing tools are well-scoped.
The tool set has significant gaps for a bug tracking system. It only supports read operations (get and list) for bugs and products, missing essential CRUD functionality such as creating, updating, or deleting bugs. This will likely cause agent failures when users need to perform these actions, making the surface incomplete for the domain.
Maintenance
Related MCP Connectors
Let AI agents list, read and resolve Bugsly error-tracking issues and check monitors.
Manage Redbooth tasks, task lists, comments, tags and files from Claude and other AI assistants.
Create and manage test cases, test runs and results in Testiny from your AI assistant.
Manage Orangescrum projects, tasks, users, sprints, test cases, releases, and risks from AI tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to interact with ZenTao project management system, supporting project and task management operations including creating, querying, and updating projects and tasks through natural language.5ISC
- AlicenseNot gradedqualityDmaintenanceEnables interaction with ZenTao bug tracking system to search products, query assigned bugs, view bug details with extracted images, and mark bugs as resolved through natural language commands.12 npm7ISC
- FlicenseBqualityNot gradedmaintenanceEnables interaction with ZenTao project management system through RESTful API v1. Supports bug tracking, project/product management, and automated token authentication for seamless integration.1018 npm2-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Zentao bugs, requirements, and test cases through natural language interactions. It supports querying, creating, and updating various Zentao data entities including products, projects, and executions.11 npm12MIT