- Rector Mcp
Overview
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.
Server Config
{
"mcpServers": {
"rector": {
"command": "npx",
"args": [
"-y",
"mcp-rector"
]
}
}
}Project Info
Created At
7 months agoUpdated At
7 months agoAuthor Name
vasilvestreStar
-Language
-License
-Category
developer-tools
Recommend Servers
View AllMcp Server Chatsum
@chatmcp
summarize chat message
typescript
a year ago
Sigstore
@3089464667
a day ago
Shotapi
@smallhandsome
a day ago
Amap Maps
@amap
高德地图官方 MCP Server
a year ago
Memory
@modelcontextprotocol
a year ago