api-schema-drift-detector

v1.0.0
io.github.lazymac2x/api-schema-drift-detector Checked 15 hours ago Published 6 months ago

Cloudflare Workers MCP server: api-schema-drift-detector

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

schema-validator

Validates if data conforms to a JSON schema. Returns valid:true/false and an error message on failure.

ParameterTypeDescription
data *Data to validate (any type)
schema *objectJSON schema to validate against

drift-detector

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.

ParameterTypeDescription
response *objectActual API response to check against schema
schema *objectExpected JSON schema

breaking-change-analyzer

Analyzes breaking changes between two schema versions. Detects: field removal, type changes, newly required fields, enum value removal, constraint tightening.

ParameterTypeDescription
newSchema *objectNew (candidate) schema version
oldSchema *objectPrevious (deployed) schema version