Rector Mcp
Created at a month ago
by vasilvestre
Categories
developer-tools
Tags
mcp
php
refactoring
what is Rector Mcp?
Rector Mcp is a server that provides tools to query and filter Rector PHP refactoring rules, enabling developers to automate and streamline their code refactoring processes.
how to use Rector Mcp?
To use Rector Mcp, you can run the server directly from GitHub Packages using the command npx @vasilvestre/mcp-rector. For a permanent installation, you can install it globally with npm install -g @vasilvestre/mcp-rector.
key features of Rector Mcp?
- Query and filter Rector rules easily.
- Supports multiple installation methods (quick start, global installation, development setup).
- Integration with various development environments like Claude Desktop, Cline, and Zed Editor.
use cases of Rector Mcp?
- Automating PHP code refactoring tasks.
- Integrating with IDEs for seamless development experience.
- Testing and verifying refactoring rules locally before deployment.
FAQ from Rector Mcp?
- Can I run Rector Mcp without installation?
Yes! You can run it directly using
npxwithout any installation.
- How do I configure it with my IDE?
You can add the configuration to your IDE's settings as specified in the documentation for each supported IDE.
- What if I encounter permission issues?
Ensure you have Node.js 18+ installed and check your permissions or try using
npx --yes mcp-rector.
View More
MCP Servers