Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ZENTAO_TOKEN | No | 可选,已有 token;如果未提供会自动通过 /tokens 获取 | |
| ZENTAO_ACCOUNT | No | 登录账号 | |
| ZENTAO_BASE_URL | No | 禅道服务地址,形如 https://xxx.com | |
| ZENTAO_PASSWORD | No | 登录密码 |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_token | Fetch a token via POST /tokens using env ZENTAO_ACCOUNT/PASSWORD. Caches in-memory. |
| call | Call any ZenTao RESTful API endpoint (api.php/v1). Automatically injects Token header. Paths accept leading slash or relative. |
| listMyProjects | List projects related to the current account (PM/PO/QD/RD/assigned/team). |
| searchProducts | Search products by keyword; returns a short list of products. |
| getMyBug | Get the first active bug assigned to me in a product (by productName). Returns full bug detail. |
| getMyBugs | List bugs assigned to me under a product. Defaults to active bugs only. |
| getNextBug | Get the next active bug assigned to me under a product (first match). |
| getBugStats | Get counts of bugs assigned to me under a product (total and active). |
| getBugDetail | Get bug detail by ID; also extracts image URLs from steps HTML into stepsImages. |
| markBugResolved | Mark a bug as resolved (resolution=fixed). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| ZenTao RESTful v1 endpoints summary | |
| Current ZenTao config state (env names only) | |
| Projects related to current account |