show_survivors
Display surviving mutations from the last mutmut test run to identify untested code paths in Python projects.
Instructions
List details of surviving mutations from the last mutmut run using the mutmut CLI. Returns the plain text output.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venv_path | No |
Implementation Reference
- mutmut_mcp.py:101-106 (handler)The implementation of the show_survivors tool, which executes 'mutmut survivors' via a shell command helper.
def show_survivors(venv_path: Optional[str] = None) -> str: """ List details of surviving mutations from the last mutmut run using the mutmut CLI. Returns the plain text output. """ return _run_mutmut_cli(["survivors"], venv_path) - mutmut_mcp.py:184-184 (registration)Registration of the show_survivors tool with the FastMCP server.
mcp.tool()(show_survivors)