ZenTao MCP Server
The ZenTao MCP Server provides an MCP interface to interact with a ZenTao (禅道) project management instance, enabling bug and product management through the following tools:
initZentao: Authenticate with a ZenTao instance using a base URL, account, and password or token.getProducts: Retrieve a list of all products from ZenTao.getMyBugs: Fetch bugs assigned to the current user, filterable by status (active,resolved,closed,all) and optionally by product ID.getBugDetail: Get detailed information about a specific bug by its ID.resolveBug: Mark a bug as resolved with a resolution type (fixed,notrepro,duplicate,bydesign,willnotfix,tostory,external), optional comments, and duplicate bug references.activateBug: Reopen a resolved or closed bug, with options to reassign it, specify an opened build, and add a comment.healthCheck: Verify server availability and current session status.
Click on "Install 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 Servershow me my active bugs for product ID 123"
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 Server (API V1.0)
A ZenTao MCP server based on TypeScript + Node.js + @modelcontextprotocol/sdk, supporting:
Login initialization (
initZentao)View products (
getProducts)View my bugs (
getMyBugs)View bug details (
getBugDetail)Resolve bugs (
resolveBug)Activate bugs (
activateBug, reopen)
1. Environment Preparation
npm install
cp .env.example .envPlease configure the ZenTao URL and authentication information in .env (it is recommended to pass the account and password at runtime via initZentao rather than storing plain text in files).
Related MCP server: ZenTao MCP Server
2. Running from npm / npx (Recommended for other machines)
npm package name: @wudidada/zentao-mcp-server (scoped package; executable command zentao-mcp-server).
Requirements: Node.js >= 20. For Linux/macOS, it is recommended to install the system curl (the default HTTP backend is curl).
2.1 Command Line Trial
npx -y @wudidada/zentao-mcp-serverHTTP mode example:
MCP_TRANSPORT=http npx -y @wudidada/zentao-mcp-server2.2 Cursor mcp.json (stdio + environment variables)
Configure in .cursor/mcp.json in the project or user directory, for example:
{
"mcpServers": {
"zentao": {
"command": "npx",
"args": ["-y", "@wudidada/zentao-mcp-server"],
"env": {
"ZENTAO_BASE_URL": "http://your-host/zentao/api.php/v1",
"ZENTAO_ACCOUNT": "your_account",
"ZENTAO_PASSWORD": "your_password",
"ZENTAO_HTTP_BACKEND": "curl",
"LOG_LEVEL": "info"
}
}
}
}Please fully restart Cursor after modifying the configuration. You can also change the package name in args to a fixed version, such as @wudidada/zentao-mcp-server@1.0.1.
2.3 Maintainer: Publishing to npm
npm run build
npm test
npm publish --access publicBefore the first release, you need to npm login and ensure the version in package.json is not already taken.
Source repository: https://github.com/wudidada/zentao-mcp-server
3. Startup Methods
stdio (Preferred for local IDEs)
npm run start:stdioHTTP/SSE (Remote Access)
npm run start:httpDefault port 3000, health check:
curl http://localhost:3000/healthz4. Build and Test
npm run build
npm test5. MCP Tool Parameter Description
initZentao
baseUrl?: stringaccount: stringpassword?: stringtoken?: string
Choose either
passwordortoken.
getMyBugs
status?: "active" | "resolved" | "closed" | "all"(defaultactive)productId?: number
getBugDetail
bugId: number
activateBug
bugId: numberassignedTo?: string(assigned to, account)openedBuild?: string | string[](affected build, documentation says array; defaults to["trunk"]if not provided)comment?: string
resolveBug
bugId: numberresolution.resolution: "fixed" | "notrepro" | "duplicate" | "bydesign" | "willnotfix" | "tostory" | "external"resolution.resolvedBuild?: string(When the resolution isfixed, the server fixedly submitstrunk, ignoring this field to avoid display anomalies on some ZenTao web interfaces)resolution.duplicateBug?: number(Required whenresolution=duplicate)resolution.comment?: string
6. Security and Operations Baseline
Logs are masked for
password/token/authorizationby defaultDefault request timeout is
10sQuery interfaces (GET) support exponential backoff retries
HTTP mode provides
/healthzhealth checkIf
ZENTAO_BASE_URL+ZENTAO_ACCOUNT+ (ZENTAO_PASSWORDorZENTAO_TOKEN) are configured, the process will automatically log in upon startup, no need to callinitZentaoevery timeZENTAO_HTTP_BACKEND:axiosuses Node's built-in HTTP;curlcalls the systemcurl. On non-Windows systems,curlis the default to avoid issues where some ZenTao instances do not respond for a long time to "Node client +Tokenheader + GET"
6.1 Environment Variables Overview
Variable | Description |
| ZenTao API V1 root address, e.g., |
| For automatic login (choose either password or token) |
|
|
7. Project Structure
src/
adapters/ # 禅道 API V1.0 适配层
schemas/ # zod 参数校验
server/ # stdio/http 双入口
services/ # 领域服务
tools/ # MCP 工具实现8. Notes
The current implementation is encapsulated according to common ZenTao API V1.0 REST paths (
/tokens,/bugs,/products).Resolve Bug: The official v1 interface is
POST /bugs/{id}/resolve(not PUT). If PUT is used by mistake, it may result in an HTTP success while the ZenTao status is not actually updated.If your ZenTao instance path or authentication fields differ, you can adapt them in
src/adapters/zentaoApiV1.ts.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityNot gradedmaintenanceEnables direct integration with Zentao bug tracking systems through Cursor. Supports authentication, bug retrieval, searching, and listing operations for comprehensive bug management through natural language.57
- FlicenseNot gradedqualityFmaintenanceEnables 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.4
- 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.117ISC
- FlicenseBqualityCmaintenanceEnables interaction with ZenTao project management system through RESTful API v1. Supports bug tracking, project/product management, and automated token authentication for seamless integration.10491
Related MCP Connectors
Task manager your agent can fully operate: boards, tasks, sprints, roles, worklogs, day planner.
Connect to Atlassian Jira, Confluence, and Compass to search, create, and manage your work.
Search, document and execute authenticated API calls across 700+ apps via one MCP server
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wudidada/zentao-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server