wdm0006

Mutmut MCP

Community wdm0006
Updated

A handy MCP for working with mutmut for mutation testing

Mutmut MCP

A Model Context Protocol (MCP) server for managing mutation testing with mutmut. This tool provides a set of programmatic APIs for running mutation tests, analyzing results, and improving test coverage in Python projects.

Features

  • Run mutation testing sessions on any Python module or package
  • Show overall mutation testing results and surviving mutations
  • Suggest areas needing better test coverage
  • Rerun mutmut on specific survivors or all survivors
  • Clean mutmut cache
  • Designed for automation and integration with other MCP tools

Installation

  1. Clone the repository:
    git clone https://github.com/wdm0006/mutmut-mcp.git
    cd mutmut-mcp
    
  2. Install dependencies:
    python3 -m venv .venv
    source .venv/bin/activate
    pip install -U pip
    pip install mcp[cli] mutmut
    

Usage

You can run the MCP server directly:

python mutmut_mcp.py

Or use with uv:

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

API / Tools

The following tools are available:

  • run_mutmut(target, test_command="pytest", options="", venv_path=None) – Run mutation testing
  • show_results(venv_path=None) – Show overall results
  • show_survivors(venv_path=None) – List surviving mutations
  • generate_test_suggestion(venv_path=None) – Suggest areas needing better test coverage
  • rerun_mutmut_on_survivor(mutation_id=None, venv_path=None) – Rerun mutmut on survivors
  • clean_mutmut_cache(venv_path=None) – Clean mutmut cache

License

This project is licensed under the MIT License. See LICENSE for details.

MCP Server · Populars

MCP Server · New

    Poechant

    davinci-resolve-cli (dvr)

    A CLI for DaVinci Resolve 18+ — project / media / render / timeline control for humans and AI agents.

    Community Poechant
    WW-AI-Lab

    Any2Markdown MCP 服务器

    一个高性能的文档转换服务器,同时支持 Model Context Protocol (MCP) 和 RESTful API 接口。将 PDF、Word 和 Excel 文档转换为 Markdown 格式,具备图片提取、页眉页脚移除和批量处理等高级功能

    Community WW-AI-Lab
    bartholomej

    CSFD API 🎬 + CSFD Export 💾 + CSFD MCP 🤖

    ČSFD API in JavaScript. Amazing NPM library for scrapping csfd.cz. Now with MCP server

    Community bartholomej
    okx

    OKX Agent Trade Kit

    OKX trading MCP server — connect AI agents to spot, swap, futures, options & grid bots via the Model Context Protocol.

    Community okx
    ashwwwin

    🤖 Automation MCP

    Control your Mac with detailed mouse, keyboard, screen, and window management capabilities.

    Community ashwwwin