Rector
Provides tools to query and filter Rector PHP refactoring rules for enhanced code quality.
Rector acts as an MCP server, integrating powerful PHP refactoring capabilities directly into your preferred AI and development environments. It allows developers to seamlessly access, search, and filter Rector's extensive library of refactoring rules, enabling more efficient and intelligent code transformations. By bridging Rector with popular platforms like Claude Desktop, VS Code extensions (Cline, Continue.dev), and Zed Editor, it streamlines the process of applying and understanding PHP code improvements, thereby elevating code quality and maintainability.
Key Features
01Query and filter Rector PHP refactoring rules
02Seamless integration with popular AI/IDE clients (e.g., Claude, VS Code, Zed)
03Quick start with `npx` or global installation
04Provides `list-rector-rules`, `filter-rector-rules`, and `search-rector-rules` tools
05Supports local testing and interactive rule exploration with MCP Inspector
060 GitHub stars
Use Cases
01Integrate Rector PHP refactoring rules into AI assistants for automated code suggestions and improvements
02Browse and apply specific Rector rules directly within various IDEs and code editors
03Streamline PHP refactoring workflows by making rule discovery and application more accessible