query
(required): Search keyword or multi-word phrase (e.g., "rename class")
How to use it
query is exposed by the MCP Rector MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the query tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Rector
$
npx @vasilvestre/mcp-rectorOther tools in MCP Rector (4)
filter-rector-rules
Filter rules by rule set category.
list-rector-rules
List all available Rector rules with optional filtering by rule set.
ruleSet
(optional): Filter rules by rule set category (e.g., "php80", "code-quality")
search-rector-rules
Search Rector rules by keyword with multi-word query support.