Loading MCP server directory, please wait...
Refactor legacy code into modern, idiomatic code without changing its behavior.
npx @getmcp/cli add io.github.zhouhengchang/code-refactorRequires Node.js 18+. Community-contributed server. Review source before installing.
Config file: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"io.github.zhouhengchang/code-refactor": {
"command": "npx",
"args": [
"-y",
"workbuddy-code-refactor-connector"
],
"env": {
"REFACTOR_BACKEND": "ollama",
"OPENAI_BASE_URL": "",
"OPENAI_API_KEY": "",
"OPENAI_MODEL": "deepseek-chat",
"OLLAMA_HOST": "http://127.0.0.1:11434",
"OLLAMA_MODEL": "qwen2.5-coder",
"REFACTOR_TIMEOUT_MS": "180000"
}
}
}
}