Skip to main content
Glama

穆特穆特 MCP

用于管理使用mutmut进行突变测试的模型上下文协议 (MCP) 服务器。该工具提供了一组编程 API,用于运行突变测试、分析结果以及提高 Python 项目中的测试覆盖率。

特征

  • 在任何 Python 模块或包上运行突变测试会话

  • 显示整体突变检测结果和存活突变

  • 建议需要更好测试覆盖的领域

  • 对特定幸存者或所有幸存者重新运行 mutmut

  • 清理 mutmut 缓存

  • 专为自动化和与其他 MCP 工具集成而设计

Related MCP server: CyberMCP

安装

  1. 克隆存储库:

    git clone https://github.com/wdm0006/mutmut-mcp.git
    cd mutmut-mcp
  2. 安装依赖项:

    python3 -m venv .venv
    source .venv/bin/activate
    pip install -U pip
    pip install mcp[cli] mutmut

用法

您可以直接运行 MCP 服务器:

python mutmut_mcp.py

或者与uv一起使用:

uv run --with mcp --with mutmut mutmut_mcp.py

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) – 在幸存者上重新运行 mutmut

  • clean_mutmut_cache(venv_path=None) – 清理 mutmut 缓存

执照

本项目遵循 MIT 许可证。详情请参阅许可证

-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

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/wdm0006/mutmut-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server