Koskamo

mcp-refactoring MCP

This MCP server exposes Martin Fowler's refactoring catalog to LLMs, offering 71+ refactorings with a pluggable, language-agnostic architecture. It supports previewing changes before applying them and provides tools to list refactorings, analyze code for smells, and inspect structure. The server is optimized for LLMs with TOON output format for token efficiency and currently supports Python with Ruby, Java, and Go planned.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

mcp-refactoring MCP logo, by marshallyCommunity listingLocal stdioSource reviewed; not executedPublished by marshally
Vendor documentation

What you can do with it

  • List available refactorings with their parameter contracts
  • Preview what changes a refactoring would make in dry-run mode
  • Apply a refactoring to the codebase such as renaming a method
  • Analyze code for smells and suggest refactorings

Source and maintenance

Community listingRegistry 0.1.2
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

mcp-refactoring 0.1.2

pypi
mcp-refactoring package definition
{
  "version": "0.1.2",
  "transport": "stdio",
  "identifier": "mcp-refactoring",
  "registryType": "pypi"
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "mcp-refactoring-mcp": {
      "command": "uvx",
      "args": [
        "mcp-refactoring==0.1.2"
      ]
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mcp-refactoring-mcp": {
      "command": "uvx",
      "args": [
        "mcp-refactoring==0.1.2"
      ]
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "mcp-refactoring-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-refactoring==0.1.2"
      ]
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "mcp-refactoring-mcp": {
      "command": "uvx",
      "args": [
        "mcp-refactoring==0.1.2"
      ]
    }
  }
}

Let your agent find its tools

Find servers like mcp-refactoring MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.