穆特穆特 MCP
用于管理使用mutmut进行突变测试的模型上下文协议 (MCP) 服务器。该工具提供了一组编程 API,用于运行突变测试、分析结果以及提高 Python 项目中的测试覆盖率。
特征
在任何 Python 模块或包上运行突变测试会话
显示整体突变检测结果和存活突变
建议需要更好测试覆盖的领域
对特定幸存者或所有幸存者重新运行 mutmut
清理 mutmut 缓存
专为自动化和与其他 MCP 工具集成而设计
安装
克隆存储库:
git clone https://github.com/wdm0006/mutmut-mcp.git cd mutmut-mcp安装依赖项:
python3 -m venv .venv source .venv/bin/activate pip install -U pip pip install mcp[cli] mutmut
用法
您可以直接运行 MCP 服务器:
或者与uv一起使用:
API / 工具
可以使用以下工具:
run_mutmut(target, test_command="pytest", options="", venv_path=None)
– 运行突变测试show_results(venv_path=None)
– 显示总体结果show_survivors(venv_path=None)
– 列出幸存的突变generate_test_suggestion(venv_path=None)
– 建议需要更好测试覆盖的区域rerun_mutmut_on_survivor(mutation_id=None, venv_path=None)
– 在幸存者上重新运行 mutmutclean_mutmut_cache(venv_path=None)
– 清理 mutmut 缓存
执照
本项目遵循 MIT 许可证。详情请参阅许可证。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
模型上下文协议服务器提供编程 API,用于使用 mutmut 运行突变测试、分析结果并提高 Python 项目中的测试覆盖率。
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that enables seamless execution of commands, Python code, web content fetching, and reusable task management with secure credentials handling.
- -securityAlicense-qualityA streamlined foundation for building Model Context Protocol servers in Python, designed to make AI-assisted development of MCP tools easier and more efficient.Last updated -13MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server designed for testing backend APIs for security vulnerabilities like authentication bypass, injection attacks, and data leakage.Last updated -1411MIT License
- -securityAlicense-qualityModel Context Protocol server that enables API test automation across various AI hosts (Claude, OpenAI, custom) using Postman Collections.Last updated -MIT License