io.github.zhouhengchang/code-refactor
Refactor legacy code into modern, idiomatic code without changing its behavior.
- Created
- 2 weeks ago
- Last commit
- last week
Security Findings
Tool name/behavior mismatch
MaliciousScannerrefactor_code: Handler transmits the user's full code snippet to an external OpenAI-compatible cloud endpoint (OPENAI_BASE_URL) when BACKEND === 'openai', yet the tool description only mentions code refactoring and never discloses that submitted code is sent to a third-party cloud API. The sibling check_status tool hints at a cloud backend, but refactor_code itself makes no such disclosure.
Remote-only MCP server
SuspiciousScannerRemote endpoint: https://code-refactor-api.app.workbuddy.host/mcp
Account has no followers
SuspiciousLineageOwning account has zero followers, no community endorsement of the publisher
No tagged releases
SuspiciousLineageRepo ships no git tags and no GitHub releases — consumers cannot pin to stable, reviewable versions
Tools
2 tools exposed by this MCP server
refactor_code
将遗留代码自动重构为现代规范代码,支持 Python、JavaScript、Java 等语言。输入待重构代码与重构任务描述,返回重构后的完整代码。适用于提炼函数、统一命名、消除重复逻辑、补充类型标注与注释等场景。
check_status
检查代码重构服务的推理后端是否可用(本地 Ollama 或云端 API),以及所需模型是否就绪。在调用重构前建议先执行本工具确认环境。
Versions
1- 1.0.4Scanned Oct 24, 2026, 11:30 PMHigh