What tools does Rector Mcp provide?
It provides three tools: `list-rector-rules` (list with optional rule set filter), `search-rector-rules` (keyword search with multi-word support), and `filter-rector-rules` (filter by required rule set name).
@vasilvestre
基本信息
暂无概览
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"rector": {
"command": "npx",
"args": [
"-y",
"mcp-rector"
]
}
}
}List all available Rector rules with metadata including name, description, rule set, and status
Filter Rector rules by rule set category (e.g., php80, code-quality, type-declaration)
Search Rector rules by keyword query with optional rule set filter (case-insensitive partial matching)
Rector Mcp is an MCP server that provides tools to query and filter Rector PHP refactoring rules. It helps developers using AI coding assistants to discover and apply Rector rules for PHP code upgrades.
Install via npx @vasilvestre/mcp-rector or globally with npm install -g @vasilvestre/mcp-rector. Configure the server in your MCP client (e.g., Claude Desktop, Cline, Continue.dev, Zed) by adding a mcpServers entry with the npx command. After restarting the client, use the tools list-rector-rules, search-rector-rules, and filter-rector-rules.
It provides three tools: `list-rector-rules` (list with optional rule set filter), `search-rector-rules` (keyword search with multi-word support), and `filter-rector-rules` (filter by required rule set name).
Node.js 18+ and npm are required. The server runs via `npx` or can be globally installed.
Use the MCP Inspector: run `npx @modelcontextprotocol/inspector npx -y @vasilvestre/mcp-rector` and test the tools interactively in the Inspector UI.
Add a `rector` entry to your Claude Desktop configuration file (e.g., `claude_desktop_config.json`) with `"command": "npx"` and `"args": ["-y", "@vasilvestre/mcp-rector"]`.
Ensure Node.js 18+ is installed. On Unix/Linux try `npx --yes mcp-rector`. Clear npx cache with `rm -rf ~/.npm/_npx`. On Windows you may need to adjust PowerShell execution policy.
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40
Hindsight: Agent Memory That Learns

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep

Model Context Protocol Servers
A search tool helps dev to solve the naming things problem.
评论