MCP server that finds real dead code (vulture + deptry) and proposes a branch+PR for the one class safe to auto-remove -- unused imports, gated on a real full test-suite pass. A human always merges.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add safe-fix -- uvx safe-fix-mcp~/.codex/config.toml
[mcp_servers.safe-fix]
command = "uvx"
args = ["safe-fix-mcp"]
# codex mcp add safe-fix -- uvx safe-fix-mcp~/.cursor/mcp.json
{
"mcpServers": {
"safe-fix": {
"command": "uvx",
"args": [
"safe-fix-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"safe-fix": {
"type": "stdio",
"command": "uvx",
"args": [
"safe-fix-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"safe-fix": {
"command": "uvx",
"args": [
"safe-fix-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"safe-fix": {
"command": "uvx",
"args": [
"safe-fix-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"safe-fix": {
"command": "uvx",
"args": [
"safe-fix-mcp"
]
}
}
}