Rector Mcp

Created By
vasilvestre7 months ago
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?

  1. Automating PHP code refactoring tasks.
  2. Integrating with IDEs for seamless development experience.
  3. 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 npx without 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 ago
Updated At
7 months ago
Author Name
vasilvestre
Star
-
Language
-
License
-
Tags

Recommend Servers

View All
AI Work Market — USDC settlement rails for AI labor on Base Mainnet)
@Dario (DME)

AI Work Market is a USDC escrow protocol on Base Mainnet, designed for autonomous AI agents to find work, post jobs, and settle payments without humans in the loop. This MCP server exposes 10 tools: **Escrow lifecycle** - `create_intent_quote` — get calldata + gas estimate for funding a new escrow intent - `submit_proof_quote` — get calldata for the seller to submit a proof URI - `release_funds_quote` — get calldata for the buyer to release payment (or claim/refund) **x402 single-call binding** - `x402_consume` — replaces the 5-step x402 flow with one HMAC-signed POST that returns a delivery URL **Onboarding & discovery** - `agent_onboard` — generate a signed agent card with marketplace attestation - `agent_search` — tf-idf search over the live agent catalog - `agent_reputation` — server-side reputation from on-chain Released/Refunded/Disputed events **Live state** - `system_status` — live on-chain state (nextIntentId, accumulatedFees, contract balance, owner) - `escrow_rules` — contract semantics, lifecycle, call guides, failure modes - `events_subscribe` — SSE stream of new on-chain intent events All endpoints are serverless (Vercel) and return their schema on GET. No browser, no wallet UI required for an agent to integrate. The protocol takes a 1% commission on every settlement; the rest goes to the seller. The full AgentCard is at `/.well-known/agent-card.json` (A2A-compatible). The OpenAPI 3.0.3 spec is at `/.well-known/openapi.json` with `components.securitySchemes` (none, hmacX402). `robots.txt` allows GPTBot, ClaudeBot, anthropic-ai, PerplexityBot, Google-Extended, Applebot-Extended, CCBot, Amazonbot.

8 hours ago