Skip to main content
Glama

Mutmut MCP

by wdm0006

穆特穆特 MCP

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

特征

  • 在任何 Python 模块或包上运行突变测试会话
  • 显示整体突变检测结果和存活突变
  • 建议需要更好测试覆盖的领域
  • 对特定幸存者或所有幸存者重新运行 mutmut
  • 清理 mutmut 缓存
  • 专为自动化和与其他 MCP 工具集成而设计

安装

  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

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 项目中的测试覆盖率。

  1. 特征
    1. 安装
      1. 用法
        1. API / 工具
          1. 执照

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables seamless execution of commands, Python code, web content fetching, and reusable task management with secure credentials handling.
              Last updated -
              2
              Python
              MIT License
              • Apple
            • -
              security
              A
              license
              -
              quality
              A 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 -
              14
              Python
              MIT License
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server designed for testing backend APIs for security vulnerabilities like authentication bypass, injection attacks, and data leakage.
              Last updated -
              5
              TypeScript
              MIT License
            • -
              security
              A
              license
              -
              quality
              Model Context Protocol server that enables API test automation across various AI hosts (Claude, OpenAI, custom) using Postman Collections.
              Last updated -
              Python
              MIT License

            View all related MCP servers

            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