api-schema-drift-detector
Cloudflare Workers MCP server: api-schema-drift-detector
사용해야 할까요
품질 및 안전성
발견 사항 (3)
- LOWschema-validator에서
- LOWdrift-detector에서
- LOWbreaking-change-analyzer에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`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"
]
}커뮤니티
증거