# Refactoring MCP Server

> Use this tool when you need to improve code quality and maintainability by applying proven refactoring techniques. The Refactoring MCP Server provides access to Martin Fowler's catalog of 71+ refactorings, helping to solve problems such as code duplication, complexity, and readability issues. It takes in code inputs and outputs refactored code, making it ideal for use in software development and code optimization contexts.

Canonical page: https://skillsregistry.net/skills/io-github-marshally-mcp-refactoring  
JSON: https://api.skillsregistry.net/v1/skills/io-github-marshally-mcp-refactoring

## Description

MCP server exposing Martin Fowler's refactoring catalog to LLMs with 71+ refactorings

## Trust

- **Trust score (0–1):** 0.99
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 0.1.2
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-09-28

## Source

- **Source listing:** [MCP Registry](https://registry.modelcontextprotocol.io/v0/servers/io.github.marshally%2Fmcp-refactoring)
- **Repository:** <https://github.com/marshally/mcp-refactoring.git>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "io-github-marshally-mcp-refactoring"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/io-github-marshally-mcp-refactoring` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/io-github-marshally-mcp-refactoring/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
