{"server":{"$schema":"https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json","name":"io.github.zhouhengchang/code-refactor","description":"Refactor legacy code into modern, idiomatic code without changing its behavior.","title":"Code Refactor","repository":{"url":"https://github.com/zhouhengchang/code-refactor","source":"github","subfolder":"workbuddy-connector/server"},"version":"1.0.4","websiteUrl":"https://code-refactor-api.app.workbuddy.host","packages":[{"registryType":"npm","registryBaseUrl":"https://registry.npmjs.org","identifier":"workbuddy-code-refactor-connector","version":"1.0.4","transport":{"type":"stdio"},"environmentVariables":[{"description":"Inference backend: 'ollama' (local, code stays on your machine, default) or 'openai' (any OpenAI-compatible cloud endpoint, e.g. DeepSeek).","default":"ollama","name":"REFACTOR_BACKEND"},{"description":"Base URL of the OpenAI-compatible endpoint, e.g. https://api.deepseek.com/v1. Required when REFACTOR_BACKEND=openai.","name":"OPENAI_BASE_URL"},{"description":"API key for the cloud endpoint, e.g. a DeepSeek key. Only needed when REFACTOR_BACKEND=openai.","isSecret":true,"name":"OPENAI_API_KEY"},{"description":"Cloud model name, e.g. deepseek-chat.","default":"deepseek-chat","name":"OPENAI_MODEL"},{"description":"Ollama server address used when REFACTOR_BACKEND=ollama.","default":"http://127.0.0.1:11434","name":"OLLAMA_HOST"},{"description":"Ollama model name used when REFACTOR_BACKEND=ollama.","default":"qwen2.5-coder","name":"OLLAMA_MODEL"},{"description":"Per-call timeout in milliseconds. Raise it for slow local CPU inference.","default":"180000","name":"REFACTOR_TIMEOUT_MS"}]}],"remotes":[{"type":"streamable-http","url":"https://code-refactor-api.app.workbuddy.host/mcp"}]},"_meta":{"io.modelcontextprotocol.registry/official":{"status":"active","statusChangedAt":"2026-10-18T05:57:53.263181Z","publishedAt":"2026-10-18T05:57:53.263181Z","updatedAt":"2026-10-18T05:57:53.263181Z","isLatest":true}}}
