Local + RemoteFree

Code Refactor MCP server

zhouhengchang/code-refactor

Refactor legacy code into modern, idiomatic code without changing its behavior.

0 GitHub stars1,166 npm downloads / month

Install Code Refactor in Claude Code

Remote URL

Claude Code
claude mcp add --transport http code-refactor https://code-refactor-api.app.workbuddy.host/mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "code-refactor": {
      "url": "https://code-refactor-api.app.workbuddy.host/mcp"
    }
  }
}

npm

Claude Code
claude mcp add code-refactor -- npx -y workbuddy-code-refactor-connector
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "code-refactor": {
      "command": "npx",
      "args": [
        "-y",
        "workbuddy-code-refactor-connector"
      ]
    }
  }
}

Frequently asked questions

What does the Code Refactor MCP server do?

Refactor legacy code into modern, idiomatic code without changing its behavior.

Is the Code Refactor MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Code Refactor run locally or remotely?

Local + Remote. Can run locally or be used as a hosted remote server.

How do I add Code Refactor to Claude Code?

Run: claude mcp add --transport http code-refactor https://code-refactor-api.app.workbuddy.host/mcp

More developer tools MCP servers

View all