MCP 服务器

JSONShelf

io.github.walkojas-boop/jsonshelf
开发者工具 公开且可连接 MCP 2026-07-28

此 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.).
输入模式
{'type': 'object', 'required': ['input', 'schema'], 'properties': {'input': {}, 'schema': {'type': 'object'}}}
jsonshelf_example
Generate a minimal valid example matching a JSON schema.
输入模式
{'type': 'object', 'required': ['schema'], 'properties': {'schema': {'type': 'object'}}}
jsonshelf_repair
Repair malformed JSON. Returns valid JSON plus a diff of what was fixed.
输入模式
{'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.
输入模式
{'type': 'object', 'required': ['input', 'schema'], 'properties': {'input': {}, 'schema': {'type': 'object'}}}
已添加
jsonshelf_coerce
2026年9月17日 12:53
已添加
jsonshelf_example
2026年9月17日 12:53
已添加
jsonshelf_validate
2026年9月17日 12:53
已添加
jsonshelf_repair
2026年9月17日 12:53