jsonschema-mcp

v1.0.1
io.github.mrfentmen/jsonschema-mcp Checked 23 hours ago Published 1 month ago

Validate JSON against a JSON Schema offline, with a clear list of every structural error

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

validate_json

Validate a JSON instance against a JSON Schema and list every error found with its path.

ParameterTypeDescription
instance *stringThe JSON document to validate, as JSON text
schema *stringThe JSON Schema, as JSON text
maxErrorsintegerStop after this many errors

describe_schema

Explain a JSON Schema as a readable outline: types, required fields, bounds and nested structures.

ParameterTypeDescription
schema *stringThe JSON Schema, as JSON text
depthintegerHow deep to descend into properties and items

example_from_schema

Generate a deterministic example instance that satisfies a JSON Schema, useful as a template or test fixture.

ParameterTypeDescription
schema *stringThe JSON Schema, as JSON text