Servidor MCP

jsonaut

io.github.shoggi211/jsonaut
Herramientas para desarrolladores Público y accesible MCP 2026-07-28

Qué hace este MCP

Extracts, repairs, validates, and schema-shapes JSON from text or malformed agent output.

extract_json
Extract JSON embedded in arbitrary text — LLM prose, chat messages, logs, emails — then repair and validate it. Deterministic extraction is free. If no JSON can be located and allow_llm_fallback is true, a paid LLM extracts structured data from the text (requires x402 payment; charged only on success). Pass a JSON Schema to shape the output.
Esquema de entrada
{'type': 'object', 'required': ['input'], 'properties': {'input': {'type': 'string', 'description': 'Text that may contain JSON'}, 'schema': {'type': 'object', 'description': 'Optional JSON Schema the output must conform to'}, 'allow_llm_fallback': {'type': 'boolean', 'default': False, 'description': 'Permit the paid LLM extraction tier'}}}
infer_schema
Infer a JSON Schema (draft 2020-12) from an example JSON value. Free and deterministic. Set as_samples=true when the input is an array of example objects of the same shape to merge them into one schema. Turns sample agent/tool output into a reusable schema.
Esquema de entrada
{'type': 'object', 'required': ['input'], 'properties': {'input': {'type': 'string', 'description': 'A JSON value (or array of samples) to infer a schema from'}, 'as_samples': {'type': 'boolean', 'default': False, 'description': 'Treat a top-level array as multiple samples of one shape'}}}
repair_json
Repair malformed JSON (trailing commas, single quotes, truncation, markdown fences, comments, python literals) and optionally validate/coerce it against a JSON Schema. Deterministic repair is free. If it fails and allow_llm_fallback is true, a paid LLM repair is attempted (requires x402 payment; charged only on success).
Esquema de entrada
{'type': 'object', 'required': ['input'], 'properties': {'input': {'type': 'string', 'description': 'The possibly-malformed JSON text'}, 'schema': {'type': 'object', 'description': 'Optional JSON Schema the output must conform to'}, 'allow_llm_fallback': {'type': 'boolean', 'default': False, 'description': 'Permit the paid LLM repair tier'}}}
validate_json
Validate a JSON string against a JSON Schema. Free. Returns validity and a list of violations.
Esquema de entrada
{'type': 'object', 'required': ['input', 'schema'], 'properties': {'input': {'type': 'string', 'description': 'The JSON text to validate'}, 'schema': {'type': 'object', 'description': 'The JSON Schema to validate against'}}}
Añadido
infer_schema
17 de September de 2026 a las 12:52
Añadido
extract_json
17 de September de 2026 a las 12:52
Añadido
validate_json
17 de September de 2026 a las 12:52
Añadido
repair_json
17 de September de 2026 a las 12:52