MCP ServerSTDIOOfficialv0.1.2

Refactoring MCP Server

Access Martin Fowler's refactoring catalog with 71+ documented patterns. Helps developers and AI assistants identify and apply proven code improvement techniques during development and code review.

io.github.marshally/mcp-refactoring

Hosted URL

Local install

Transport

STDIO

Auth

No auth required

What the Refactoring MCP server does

How models use it and what it is built for.

Access Martin Fowler's refactoring catalog with 71+ documented patterns. Helps developers and AI assistants identify and apply proven code improvement techniques during development and code review.

Connect to Refactoring

Local install — runs as a subprocess.

uvx mcp-refactoring==0.1.2

Resources

Where to find authoritative docs and source for Refactoring.

Example prompts for Refactoring

Paste any of these into Agent Studio after connecting Refactoring.

  • List refactorings that reduce function complexity and improve readability
  • Show me the Extract Method refactoring pattern with examples
  • Which refactorings help eliminate code duplication in this codebase
  • Explain how to apply the Replace Temp with Query refactoring

Refactoring MCP server — FAQ

Common questions about connecting and running Refactoring.

  • What refactorings are included in this MCP server?

    The server exposes Martin Fowler's refactoring catalog with 71+ documented refactoring patterns. These cover common code improvement techniques like Extract Method, Rename Variable, and Replace Temp with Query.

  • How do I install and run the mcp-refactoring server?

    Install via uvx with the command: uvx mcp-refactoring@0.1.2. The server uses stdio transport, so it communicates with your MCP client through standard input/output streams.

  • Can I use this server to get refactoring suggestions for my code?

    Yes. Connect this MCP server to an LLM-powered chat or IDE integration, then ask for refactoring recommendations. The server provides access to Fowler's patterns, which the LLM can match against your code context.

  • Is there authentication or API key setup required?

    No authentication is mentioned in the registry metadata. The server exposes a local refactoring catalog, so setup is minimal—just install and run via uvx.

  • How does this compare to other refactoring tools?

    This server makes Fowler's refactoring catalog available to LLMs and AI assistants, enabling intelligent refactoring suggestions. Unlike IDE-only refactoring tools, it integrates with any MCP-compatible client for broader context-aware recommendations.

Skip the local setup — run MCP in your browser

MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 60+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.

Open Agent Studio

Related servers

More on MCP Playground