io.github.marshally/mcp-refactoring
Refactoring MCP Server
Is the Refactoring MCP server down? No. Installed with mcp<2, it started and listed its tools on 2026-11-04.
MCP server exposing Martin Fowler's refactoring catalog to LLMs with 71+ refactorings
needs mcp<2 probed 2026-11-29 · unchanged since 2026-11-04
A plain install of the package stops at the import below. These tool definitions are from a second install with mcp<2, started in a container with the network off, on 2026-11-04.
MCP error -32000: Connection closed ModuleNotFoundError: No module named 'mcp.server.fastmcp'. This is mcp 2.x, where FastMCP was renamed to MCPServer (from mcp
- Run it
- uvx --with 'mcp<2' mcp-refactoring@0.1.2 (stdio, probed in a container with the network off)
- Host
- pypi.org
- Reports itself as
- refactoring_mcp 1.30.0
- Capabilities
- experimental, prompts, resources, tools
- Repository
- https://github.com/marshally/mcp-refactoring.git
- Registry
- active, updated 2025-11-29 · registry entry
- Changes
- 3 recorded, reachable in 0 of them. A row is added when the result, the tool count or the cost changes.
Most expensive tools
Estimates with the o200k_base tokenizer.
| Tool | o200k estimate | Share of this server |
|---|---|---|
| analyze_code | 293 | 23 % |
| preview_refactoring | 274 | 22 % |
| apply_refactoring | 257 | 20 % |
| list_refactorings | 255 | 20 % |
| inspect_structure | 182 | 14 % |
Compare this server with others.
More servers
Other registry entries on pypi.org, the ones next to this name; all of them.
- Markdown Pipeline io.github.markdown-pipeline/mdpipeline · alive
- ID Protocol io.github.markoblogo/id · crashed on start
- io.github.marlenezw/publish-mcp-server · needs mcp<2
- Sendermap io.github.marmot7775/sendermap · needs args
- io.github.martimy/batfish-q-mcp · alive
- ResearchTwin io.github.martinfrasch/researchtwin · crashed on start
- Watch Video io.github.marwanm7moud/watch-video · alive
- MaskFlow PII proxy io.github.maskflow/mcp · needs args
Servers that mention refactoring.
- CleanCode AI io.github.Evozim/cleancode-ai · not found
- Yul-GasMaster io.github.Evozim/yul-gasmaster · not found
- SharpLens io.github.pzalutski-pixel/sharplens · crashed on start
- io.github.ryudi84/code-quality · alive
- io.github.MrRefactoring/atlassian-dc-mcp-confluence · needs env
- io.github.Weavatrix/weavatrix-refactor · crashed on start
- io.github.Murugarajr/ohm-mcp · crashed on start
- Roslyn CodeLens io.github.MarcelRoozekrans/roslyn-codelens · crashed on start
History
We add a row when the result changes. A server with no change keeps its last row.
| Probed | Result | Init | Tools | Claude | o200k |
|---|---|---|---|---|---|
| 2026-11-04 08:06 | needs mcp<2 | 1.2 s | 5 | 2.1k | 1.3k |
| 2026-10-21 06:42 | crashed on start | ||||
| 2026-10-14 17:23 | crashed on start |
Badge for the README
The result of the latest probe, the tool count and the token cost. The feed has an entry for every probe that changed them.
A mail when this server changes
Stops answering, comes back, tool set or cost changes. One confirmation mail first, a stop link in every mail.
For the publisher
- The package imports FastMCP from mcp.server.fastmcp. mcp 2.0, the Python SDK of 28 July 2026, renamed FastMCP to MCPServer, and the package asks for mcp with no upper bound, so a plain install (uvx, pip) gets mcp 2.x and the server stops at the import. Installed with mcp<2, it starts and lists its tools. The fix for the publisher: pin mcp<2 in the dependencies, for example mcp>=1.2,<2, and publish a new version, or move to MCPServer as the SDK's migration guide says. Until then, run it with uvx --with 'mcp<2'.
The cause and the fix, with the code before and after: ModuleNotFoundError: No module named 'mcp.server.fastmcp'