SERVER

Code Refactor

Rank #16,924

io.github.zhouhengchang/code-refactor

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

Listed & last published
Oct 18, 2026
PURPOSE

What you can do with Code Refactor

Code Refactor is a Model Context Protocol (MCP) server published by zhouhengchang. It ranks #16,924 of 152,909 active servers on MCP Toplist. Code Refactor is listed across 2 registries — Official MCP and Glama, with 2 tracked versions. It was first listed on Oct 18, 2026 and most recently updated on Oct 18, 2026.

Not verifiedMCP Toplist has not yet written a checked profile for this server, so the paragraph above is assembled from registry data only. The repository README is the authority on what it does.

CAPABILITIES AND LIMITATIONS

What Code Refactor can and cannot do

MCP Toplist connected to the public endpoint on Oct 19, 2026 and it listed 2 tools. Tool names are not stored, so what they do is not catalogued here.

Not verifiedMCP Toplist has not catalogued this server's tools or limitations. The repository README lists them.

REQUIREMENTS

What you need before using Code Refactor

VerifiedNo credentialsNo credentials declared

The registry listing declares no required environment variables or authentication. This is declared metadata, not a verified install — the repository README is the authority.

Verified by MCP Toplist on Oct 19, 2026: the public endpoint completed the MCP handshake and listed 2 tools without credentials.

Declared by Glama, last synced Oct 27, 2026. Not independently verified by MCP Toplist.

Declared in the registry install config
  • REFACTOR_BACKEND · optional
  • OPENAI_BASE_URL · optional
  • OPENAI_API_KEY · optional
  • OPENAI_MODEL · optional
  • OLLAMA_HOST · optional
  • OLLAMA_MODEL · optional
  • REFACTOR_TIMEOUT_MS · optional

Hosted endpoint declared as public.

INSTALLATION AND FIRST TASK

Connect Code Refactor and confirm it works

Remote · HTTP
claude mcp add --transport http code-refactor https://code-refactor-api.app.workbuddy.host/mcp
npm package
claude mcp add code-refactor -e "REFACTOR_BACKEND=<your REFACTOR_BACKEND>" -e "OPENAI_BASE_URL=<your OPENAI_BASE_URL>" -e "OPENAI_API_KEY=<your OPENAI_API_KEY>" -e "OPENAI_MODEL=<your OPENAI_MODEL>" -e "OLLAMA_HOST=<your OLLAMA_HOST>" -e "OLLAMA_MODEL=<your OLLAMA_MODEL>" -e "REFACTOR_TIMEOUT_MS=<your REFACTOR_TIMEOUT_MS>" -- npx -y workbuddy-code-refactor-connector

Replace each placeholder with your own value before saving.

First successful task

After adding the config, ask your client to list this server's tools. A tool list confirms the connection; an empty list or an error means the server did not start or needs credentials.

ALTERNATIVES

When to choose another server

Other servers by zhouhengchang
View all zhouhengchang servers →

No task-specific alternatives are catalogued for Code Refactoryet; the list above is its publisher's other servers.

MAINTENANCE AND EVIDENCE

What changed, and when this was checked

First listed
Oct 18, 2026
Latest version published
Oct 18, 2026
Version history
2 versions tracked (below)
Requirements evidence
Verified by MCP Toplist on Oct 19, 2026: the public endpoint completed the MCP handshake and listed 2 tools without credentials.
Profile checked
Not yet — purpose, capabilities and requirements above come from registry data only
Ranking data as of
Oct 27, 2026
Registry sightings

Do you maintain Code Refactor? to correct or enrich this profile.

VERSIONS

Available versions (2)

1.0.3 · Oct 18, 20261.0.4 · Oct 18, 2026Oct 18, 2026Oct 18, 2026
VersionPublished
1.0.4Oct 18, 2026
1.0.3Oct 18, 2026
STANDING
#16,924of 152,909 active serversTop 25%

Ranks ahead of 135,985 of 152,909 servers on MCP Toplist.

BADGE

Show your rank

Maintain this server? Add the live rank badge to your README — it updates automatically as the leaderboard changes.

MCP Toplist: Top 25% of 152,909
Markdown
[![MCP Toplist](https://mcptoplist.com/badge/io.github.zhouhengchang%2Fcode-refactor.svg)](https://mcptoplist.com/server/io.github.zhouhengchang%2Fcode-refactor)
HTML
<a href="https://mcptoplist.com/server/io.github.zhouhengchang%2Fcode-refactor"><img src="https://mcptoplist.com/badge/io.github.zhouhengchang%2Fcode-refactor.svg" alt="MCP Toplist: Top 25% of 152,909" /></a>

Variants: append ?metric=score or ?metric=stars to the image URL.

FAQ

Frequently asked questions

Who maintains Code Refactor?
Code Refactor is maintained by zhouhengchang, which publishes 2 MCP servers (2 total versions) tracked on MCP Toplist.
Is Code Refactor listed on the Official MCP Registry?
Yes — Code Refactor is listed on the Official MCP Registry, alongside Glama.
How many versions does Code Refactor have?
MCP Toplist tracks 2 versions of Code Refactor, most recently published on Oct 18, 2026.
Where can I find the source code for Code Refactor?
The source code for Code Refactor is hosted at github.com/zhouhengchang/code-refactor.
Used in projects

Do you run this server?

Community projects list the MCP servers behind real agents and apps. Publish yours and this page will link to it.

EXPLORE