api-schema-drift-detector
Cloudflare Workers MCP server: api-schema-drift-detector
我該用這個嗎
品質與安全性
A
發現項目(3)
- LOW在 schema-validator 中
- LOW在 drift-detector 中
- LOW在 breaking-change-analyzer 中
根據工具定義與協定合規性的自動化分析。
上下文成本
~282Token(工具定義)
~634 B典型回應大小
極小的注意力影響(128k 上下文的 0.22%)
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"api-schema-drift-detector": {
"url": "https://api.lazy-mac.com/api-schema-drift-detector/mcp"
}
}
}遠端端點
https://api.lazy-mac.com/api-schema-drift-detector/mcpstreamable-http它能做什麼
工具清單
工具(3)
🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
⚪schema-validator(schema, data)
Validates if data conforms to a JSON schema. Returns valid:true/false and an error message on failure.
輸入結構描述
{
"type": "object",
"properties": {
"schema": {
"type": "object",
"description": "JSON schema to validate against"
},
"data": {
"description": "Data to validate (any type)"
}
},
"required": [
"schema",
"data"
]
}⚪drift-detector(schema, response)
Detects differences between an actual API response and an expected JSON schema. Reports missing_required (error), type_mismatch (error), enum_violation (error), missing_optional (warning), unexpected_field (info). Recurses into nested objects.
輸入結構描述
{
"type": "object",
"properties": {
"schema": {
"type": "object",
"description": "Expected JSON schema"
},
"response": {
"type": "object",
"description": "Actual API response to check against schema"
}
},
"required": [
"schema",
"response"
]
}🟡breaking-change-analyzer(oldSchema, newSchema)
Analyzes breaking changes between two schema versions. Detects: field removal, type changes, newly required fields, enum value removal, constraint tightening.
輸入結構描述
{
"type": "object",
"properties": {
"oldSchema": {
"type": "object",
"description": "Previous (deployed) schema version"
},
"newSchema": {
"type": "object",
"description": "New (candidate) schema version"
}
},
"required": [
"oldSchema",
"newSchema"
]
}社群
證據
近期觀測
已驗證未記錄版本3 個工具
已驗證未記錄版本3 個工具
已驗證未記錄版本3 個工具