JSONShelf
Deterministic JSON repair, validate, example-gen, schema-coerce for agents. Zero LLM, sub-10ms.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (2)
- LOWin jsonshelf_repair
- LOWin jsonshelf_coerce
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"jsonshelf": {
"url": "https://jsonshelf.vercel.app/mcp"
}
}
}Remote-Endpunkte
https://jsonshelf.vercel.app/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (4)
⚪jsonshelf_repair(input, schema, mode)
Repair malformed JSON. Returns valid JSON plus a diff of what was fixed.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"type": "object",
"properties": {
"input": {},
"schema": {
"type": "object"
}
},
"required": [
"input",
"schema"
]
}⚪jsonshelf_example(schema)
Generate a minimal valid example matching a JSON schema.
Eingabe-Schema
{
"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.).
Eingabe-Schema
{
"type": "object",
"properties": {
"input": {},
"schema": {
"type": "object"
}
},
"required": [
"input",
"schema"
]
}Community
Nachweis