{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_bbtadjny72uf","handle":"code-refactor","url":"https://wellknown.network/agents/code-refactor","links":{"self":"https://wellknown.network/agents/code-refactor/record.json","html":"https://wellknown.network/agents/code-refactor","markdown":"https://wellknown.network/agents/code-refactor/record.md","api":"https://wellknown.network/api/v1/agents/code-refactor","status":"https://wellknown.network/api/v1/agents/code-refactor/status","claim":"https://wellknown.network/agents/code-refactor/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/code-refactor/claim.json","badge":"https://wellknown.network/agents/code-refactor/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/code-refactor/history","tools":"https://wellknown.network/api/v1/agents/code-refactor/tools"},"ard":{"identifier":"urn:air:code-refactor-api.app.workbuddy.host:server:code-refactor","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"Code Refactor","summary":"Refactor legacy code into modern, idiomatic code without changing its behavior.","description":"Refactor legacy code into modern, idiomatic code without changing its behavior.","publisher":{"name":"zhouhengchang","url":null},"homepage":"https://code-refactor-api.app.workbuddy.host","repository":"https://github.com/zhouhengchang/code-refactor","version":"1.0.4","license":null,"protocols":["mcp"],"tags":[],"pricing":null,"endpoints":[{"url":"https://code-refactor-api.app.workbuddy.host/mcp","type":"mcp_streamable_http","auth":null,"probeable":true},{"url":"npm:workbuddy-code-refactor-connector","type":"package_npm","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":{"updatedAt":"2026-10-18T05:57:53.263181Z","publishedAt":"2026-10-18T05:57:53.263181Z","registryName":"io.github.zhouhengchang/code-refactor"},"attribution":{"kind":"mcp_registry","name":"mcp_registry","repoUrl":"mcp_registry","summary":"mcp_registry","version":"mcp_registry","description":"mcp_registry","homepageUrl":"mcp_registry","publisherName":"mcp_registry"}},"derived":{"capabilities":[{"slug":"code.refactoring","name":"Refactoring","confidence":1,"provenance":"derived"}],"categories":["code"],"language":"en"},"observed":{"status":"recently_observed","statusReason":"Responded 25h ago; 2 recent checks failed (latest 1h ago).","lastOkAt":"2026-10-21T11:26:18.724Z","lastProbedAt":"2026-10-22T11:33:00.841Z","statusComputedAt":"2026-10-22T11:36:54.484Z","reliability30d":{"probes":5,"successRate":0.6,"p50Ms":687,"basis":"service","measures":{"availability":"availability","latency":"response time","tools":"tool surface observed","summary":"Checks reached the service itself."},"checks":{"total":5,"ok":3,"authBoundaryOk":0,"serviceOk":3,"note":"Counted from the observation rows for the window, checks of the server only (HTTP, A2A card, MCP initialize). ok = authBoundaryOk + serviceOk. `probes` is the sum of daily rollups and includes registry checks, so it can differ from `total`."}},"latestObservations":[{"at":"2026-10-22T11:33:00.841Z","kind":"mcp_initialize","ok":false,"httpStatus":501,"latencyMs":750,"error":"http 501","detail":null},{"at":"2026-10-21T21:34:06.336Z","kind":"mcp_initialize","ok":false,"httpStatus":501,"latencyMs":605,"error":"http 501","detail":null},{"at":"2026-10-21T11:26:18.724Z","kind":"mcp_initialize","ok":true,"httpStatus":200,"latencyMs":598,"error":null,"detail":{"tools":[{"name":"refactor_code","description":"把遗留代码重构为现代规范代码，行为保持不变。会做语义化重命名、补全类型标注、生成中文注释、优化结构。适用于 Python / JavaScript / TypeScript / Java / Go / Rust / C / C++。"},{"name":"check_status","description":"检查重构服务与云端模型（DeepSeek）是否可用，返回后端类型、模型名与密钥校验状态。建议在调用 refactor_code 前先调用本工具。"}],"toolCount":2,"toolsHash":"f9760fb2a9a7d2f4f869adf87c27d33d2491b5ed693ffe613aacf7712cd72371","serverName":"code-refactor","capabilities":["tools"],"serverVersion":"1.0.0","protocolVersion":"2025-06-18"}},{"at":"2026-10-21T02:27:41.692Z","kind":"mcp_initialize","ok":true,"httpStatus":200,"latencyMs":1601,"error":null,"detail":{"tools":[{"name":"refactor_code","description":"把遗留代码重构为现代规范代码，行为保持不变。会做语义化重命名、补全类型标注、生成中文注释、优化结构。适用于 Python / JavaScript / TypeScript / Java / Go / Rust / C / C++。"},{"name":"check_status","description":"检查重构服务与云端模型（DeepSeek）是否可用，返回后端类型、模型名与密钥校验状态。建议在调用 refactor_code 前先调用本工具。"}],"toolCount":2,"toolsHash":"f9760fb2a9a7d2f4f869adf87c27d33d2491b5ed693ffe613aacf7712cd72371","serverName":"code-refactor","capabilities":["tools"],"serverVersion":"1.0.0","protocolVersion":"2025-06-18"}},{"at":"2026-10-20T19:26:37.002Z","kind":"mcp_initialize","ok":true,"httpStatus":200,"latencyMs":705,"error":null,"detail":{"tools":[{"name":"refactor_code","description":"把遗留代码重构为现代规范代码，行为保持不变。会做语义化重命名、补全类型标注、生成中文注释、优化结构。适用于 Python / JavaScript / TypeScript / Java / Go / Rust / C / C++。"},{"name":"check_status","description":"检查重构服务与云端模型（DeepSeek）是否可用，返回后端类型、模型名与密钥校验状态。建议在调用 refactor_code 前先调用本工具。"}],"toolCount":2,"toolsHash":"f9760fb2a9a7d2f4f869adf87c27d33d2491b5ed693ffe613aacf7712cd72371","serverName":"code-refactor","capabilities":["tools"],"serverVersion":"1.0.0","protocolVersion":"2025-06-18"}}],"tools":[{"name":"refactor_code","description":"把遗留代码重构为现代规范代码，行为保持不变。会做语义化重命名、补全类型标注、生成中文注释、优化结构。适用于 Python / JavaScript / TypeScript / Java / Go / Rust / C / C++。"},{"name":"check_status","description":"检查重构服务与云端模型（DeepSeek）是否可用，返回后端类型、模型名与密钥校验状态。建议在调用 refactor_code 前先调用本工具。"}],"package":null,"toolSurface":{"id":"ts_und76x4w5ct5","endpointId":"ep_byepjyfqacnx","hash":"f9760fb2a9a7d2f4f869adf87c27d33d2491b5ed693ffe613aacf7712cd72371","toolCount":2,"serverName":"code-refactor","serverVersion":"1.0.0","protocolVersion":"2025-06-18","firstSeenAt":"2026-10-20T19:26:37.005Z","lastSeenAt":"2026-10-21T11:26:18.721Z","observations":3,"toolNames":["refactor_code","check_status"],"distinctSurfaces":1},"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"mcp_registry","key":"io.github.zhouhengchang/code-refactor","url":"https://registry.modelcontextprotocol.io/v0/servers/io.github.zhouhengchang%2Fcode-refactor","firstSeenAt":"2026-10-20T19:20:02.719Z","fetchedAt":"2026-10-20T19:20:02.719Z","normalizedAt":"2026-10-20T19:20:02.719Z"}]},"firstSeenAt":"2026-10-20T19:20:02.719Z","updatedAt":"2026-10-21T11:31:21.902Z"}