Refactoring MCP Server
Expose Fowler's refactoring catalog to LLMs with preview, analysis, inspection, and application tools.
Install Refactoring MCP Server
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"refactoring-mcp-server": {
"command": "uvx",
"args": [
"mcp-refactoring"
],
"env": {
"MCP_REFACTORING_PYTHON_COMMAND": "YOUR_VALUE_HERE",
"MCP_REFACTORING_PYTHON_ENABLED": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
We couldn’t confirm it starts correctly
We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.
uvx mcp-refactoringNo response to initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- List available refactorings by language or category
- Preview code changes before applying them
- Apply named refactorings to methods and classes
- Inspect code structure for agent planning
- Analyze code smells and suggest refactorings
Key features
- 71+ catalog refactorings
- Dry-run change previews
- Language-backend architecture
- Code structure inspection
- Code-smell analysis
- TOON output format
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 16h ago via OSV.dev · mcp-refactoring (PyPI)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Refactoring MCP Server works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Refactoring MCP Server
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/refactoring-mcp-server)<a href="https://allmcps.com/mcp/refactoring-mcp-server"><img src="https://allmcps.com/api/badge/refactoring-mcp-server?style=directory" alt="Refactoring MCP Server on AllMCPs" /></a>