1.0.4

    io.github.zhouhengchang/code-refactor

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

    Rank#300
    zhouhengchangmcp-registrySpecialized toolLast scanned Oct 24, 2026, 11:30 PMhttps://github.com/zhouhengchang/code-refactor
    Created
    2 weeks ago
    Last commit
    last week

    Security Findings

    Tool name/behavior mismatch

    MaliciousScanner

    refactor_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

    SuspiciousScanner

    Remote endpoint: https://code-refactor-api.app.workbuddy.host/mcp

    Account has no followers

    SuspiciousLineage

    Owning account has zero followers, no community endorsement of the publisher

    No tagged releases

    SuspiciousLineage

    Repo ships no git tags and no GitHub releases — consumers cannot pin to stable, reviewable versions

    Tools

    2 tools exposed by this MCP server

    1 high risk1 clean

    refactor_code

    将遗留代码自动重构为现代规范代码,支持 Python、JavaScript、Java 等语言。输入待重构代码与重构任务描述,返回重构后的完整代码。适用于提炼函数、统一命名、消除重复逻辑、补充类型标注与注释等场景。

    High Risk
    workbuddy-connector/server/index.js

    check_status

    检查代码重构服务的推理后端是否可用(本地 Ollama 或云端 API),以及所需模型是否就绪。在调用重构前建议先执行本工具确认环境。

    Clean
    workbuddy-connector/server/index.js

    Versions

    1
    • 1.0.4
      Scanned Oct 24, 2026, 11:30 PMHigh