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
Installing via Smithery
To install mutmut-mcp for Claude Desktop automatically via Smithery:
Manual Installation
- Clone the repository:
- Install dependencies:
Usage
You can run the MCP server directly:
Or use with uv:
API / Tools
The following tools are available:
run_mutmut(target, test_command="pytest", options="", venv_path=None)
– Run mutation testingshow_results(venv_path=None)
– Show overall resultsshow_survivors(venv_path=None)
– List surviving mutationsgenerate_test_suggestion(venv_path=None)
– Suggest areas needing better test coveragererun_mutmut_on_survivor(mutation_id=None, venv_path=None)
– Rerun mutmut on survivorsclean_mutmut_cache(venv_path=None)
– Clean mutmut cache
License
This project is licensed under the MIT License. See LICENSE for details.
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.
mutmut을 사용하여 돌연변이 테스트를 실행하고, 결과를 분석하고, Python 프로젝트에서 테스트 범위를 개선하기 위한 프로그래밍 API를 제공하는 모델 컨텍스트 프로토콜 서버입니다.
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.Last updated -2MIT License
- -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 -14MIT 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