Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"rector": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-rector"
]
}
}
}