JSONShelf
Deterministic JSON repair, validate, example-gen, schema-coerce for agents. Zero LLM, sub-10ms.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (2)
- LOWen jsonshelf_repair
- LOWen jsonshelf_coerce
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"jsonshelf": {
"url": "https://jsonshelf.vercel.app/mcp"
}
}
}Puntos de conexión remotos
https://jsonshelf.vercel.app/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (4)
⚪jsonshelf_repair(input, schema, mode)
Repair malformed JSON. Returns valid JSON plus a diff of what was fixed.
Esquema de entrada
{
"type": "object",
"properties": {
"input": {
"type": "string",
"description": "Malformed JSON as a string."
},
"schema": {
"type": "object",
"description": "Optional JSON Schema to conform the output to."
},
"mode": {
"type": "string",
"enum": [
"strict",
"coerce"
],
"default": "strict"
}
},
"required": [
"input"
]
}⚪jsonshelf_validate(input, schema)
Validate JSON against a schema. Returns structured errors with JSON Pointer paths and remedies.
Esquema de entrada
{
"type": "object",
"properties": {
"input": {},
"schema": {
"type": "object"
}
},
"required": [
"input",
"schema"
]
}⚪jsonshelf_example(schema)
Generate a minimal valid example matching a JSON schema.
Esquema de entrada
{
"type": "object",
"properties": {
"schema": {
"type": "object"
}
},
"required": [
"schema"
]
}⚪jsonshelf_coerce(input, schema)
Soft-cast values to match a schema (string "42" → 42 for integer fields, etc.).
Esquema de entrada
{
"type": "object",
"properties": {
"input": {},
"schema": {
"type": "object"
}
},
"required": [
"input",
"schema"
]
}Comunidad
Evidencia