Kiwi TCMS MCP服务器
MCP服务器,用于集成Claude Desktop和 Kiwi TCMS 测试管理系统。
安装
pip install kiwi-tcms-mcp或者从源代码安装:
git clone https://github.com/yourusername/kiwi-tcms-mcp.git
cd kiwi-tcms-mcp
pip install -e .配置
添加到Claude Desktop MCP设置:
{
"mcpServers": {
"kiwi-tcms": {
"type": "stdio",
"command": "python",
"args": ["-m", "kiwi_mcp"],
"env": {
"KIWI_TCMS_URL": "https://your-kiwi-instance.com"
}
}
}
}用法
首次身份验证:
authenticate with username "your_username" and password "your_password"然后使用可用的工具:
list all test plans
create test case "Login test" in product 1
mark test execution 123 as passed可用工具
- 认证:
authenticate - 产品:
list_products,get_product - 测试计划:
create_test_plan,update_test_plan,list_test_plans - 测试用例:
create_test_case,update_test_case,list_test_cases - 测试运行:
create_test_run,add_case_to_run,list_test_runs - 测试执行:
mark_test_passed,mark_test_failed,mark_test_blocked
以及30多个用于完整测试管理的工具。
发展
# Install in development mode
pip install -e .
# Run tests
pytest
# Run with coverage
pytest --cov=kiwi_mcp许可证
麻省理工学院
