🐞 zentao — 技能工具
v1.0.1[自动翻译] Use the zentao CLI to login and query ZenTao products and bugs. ZENTAO_URL usually includes /zentao.
详细分析 ▾
运行时依赖
版本
- Documentation updated in SKILL.md for improved clarity and brevity - Added concise install and usage instructions - Provided clear login and verification workflow - Listed common commands with sample usage and output options - Removed redundant or overly detailed sections to focus on main workflow
安装命令 点击复制
技能文档
When to use this skill
Use this skill when the user asks to:
- login to ZenTao via the CLI
- list products
- list bugs for a product
- view bug details
- list the user's own bugs
Installation (recommended)
To install globally with pnpm:
pnpm i -g @leeguoo/zentao-mcp
If pnpm is not installed:
npm i -g pnpm
pnpm i -g @leeguoo/zentao-mcp
Login workflow
1) Run login once:
zentao login \
--zentao-url="https://zentao.example.com/zentao" \
--zentao-account="leo" \
--zentao-password="***"
2) This writes credentials to:
~/.config/zentao/config.toml(or$XDG_CONFIG_HOME/zentao/config.toml)
3) Verify:
zentao whoami
IMPORTANT: --zentao-url usually must include /zentao.
If login returns HTML 404, the base path is likely missing /zentao.
Commands
List products (simple by default):
zentao products list
List bugs for a product:
zentao bugs list --product 6
Get bug details:
zentao bug get --id 1329
List my bugs (include details):
zentao bugs mine --status active --include-details
Full JSON output:
zentao products list --jsonzentao bugs list --product 6 --jsonzentao bug get --id 1329 --jsonzentao bugs mine --include-details --json
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制