Serveur MCP

JSONShelf

io.github.walkojas-boop/jsonshelf
Outils développeur Public et accessible MCP 2026-07-28

Ce que fait ce MCP

Repairs, validates, coerces, and generates example JSON according to schemas.

jsonshelf_coerce
Soft-cast values to match a schema (string "42" → 42 for integer fields, etc.).
Schéma d’entrée
{'type': 'object', 'required': ['input', 'schema'], 'properties': {'input': {}, 'schema': {'type': 'object'}}}
jsonshelf_example
Generate a minimal valid example matching a JSON schema.
Schéma d’entrée
{'type': 'object', 'required': ['schema'], 'properties': {'schema': {'type': 'object'}}}
jsonshelf_repair
Repair malformed JSON. Returns valid JSON plus a diff of what was fixed.
Schéma d’entrée
{'type': 'object', 'required': ['input'], 'properties': {'mode': {'enum': ['strict', 'coerce'], 'type': 'string', 'default': 'strict'}, 'input': {'type': 'string', 'description': 'Malformed JSON as a string.'}, 'schema': {'type': 'object', 'description': 'Optional JSON Schema to conform the output to.'}}}
jsonshelf_validate
Validate JSON against a schema. Returns structured errors with JSON Pointer paths and remedies.
Schéma d’entrée
{'type': 'object', 'required': ['input', 'schema'], 'properties': {'input': {}, 'schema': {'type': 'object'}}}
Ajouté
jsonshelf_coerce
17 September 2026 12:53
Ajouté
jsonshelf_example
17 September 2026 12:53
Ajouté
jsonshelf_validate
17 September 2026 12:53
Ajouté
jsonshelf_repair
17 September 2026 12:53