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.
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
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
mcp-refactoring 0.1.2
{
"version": "0.1.2",
"transport": "stdio",
"identifier": "mcp-refactoring",
"registryType": "pypi"
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"mcp-refactoring-mcp": {
"command": "uvx",
"args": [
"mcp-refactoring==0.1.2"
]
}
}
}Cline
{
"mcpServers": {
"mcp-refactoring-mcp": {
"command": "uvx",
"args": [
"mcp-refactoring==0.1.2"
]
}
}
}VS Code
{
"servers": {
"mcp-refactoring-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-refactoring==0.1.2"
]
}
}
}Claude Desktop
{
"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.