AptLynx

MCP server

Code Refactor

io.github.zhouhengchang/code-refactor

Checked 25 Oct 2026, 20:29 UTC · Connected to it and listed its tools

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

Working at last checkAbout 2,592 tokens per request once connected18 tools
https://code-refactor-api.app.workbuddy.host/mcp

At a glance

Type
MCP server
Publisher
Not verified
Status
Working at last check
Tools
18
Token cost
About 2,592 tokens per request
Sets up in
Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
Last checked
25 Oct 2026, 20:29 UTC

Connect it to your agent

Add to CursorAdd to VS CodeVS Code Insiders

Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.

Claude Code

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

Claude Desktop

Settings → Connectors → Add custom connector, and paste the URL.

Codex (config.toml)

[mcp_servers.code-refactor]
url = "https://code-refactor-api.app.workbuddy.host/mcp"

Gemini CLI

{"mcpServers":{"code-refactor":{"httpUrl":"https://code-refactor-api.app.workbuddy.host/mcp"}}}

Cursor

{"mcpServers":{"code-refactor":{"url":"https://code-refactor-api.app.workbuddy.host/mcp"}}}

VS Code

{"servers":{"code-refactor":{"type":"http","url":"https://code-refactor-api.app.workbuddy.host/mcp"}}}

Antigravity

agy mcp add code-refactor https://code-refactor-api.app.workbuddy.host/mcp

ChatGPT

Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.

OpenAI API (Responses tools)

{"type":"mcp","server_label":"code-refactor","server_url":"https://code-refactor-api.app.workbuddy.host/mcp","require_approval":"always"}

Grok (xAI API tools)

{"type":"mcp","server_label":"code-refactor","server_url":"https://code-refactor-api.app.workbuddy.host/mcp"}

Tools

Browse

Related MCP servers

Badge for your README

AptLynx status badge

[![AptLynx](https://aptlynx.net/badge/io.github.zhouhengchang/code-refactor.svg)](https://aptlynx.net/servers/io.github.zhouhengchang/code-refactor)

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents