mcpField
J
JsonMend

JsonMend

Remote
jsonmend.mike-tusa.workers.devDeveloper Tools

About JsonMend

Repair broken JSON from LLM output and validate it against a JSON Schema.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://jsonmend.mike-tusa.workers.dev/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

All endpoints
Streamable HTTPhttps://jsonmend.mike-tusa.workers.dev/mcpAuth required

Tools

2
ParameterTypeRequiredDescription
draftenumNoJSON Schema draft. Default: from the schema's $schema, else 2020-12.2020-12 | 2019-09 | 7 | 4
inputstringYesThe raw (possibly broken) JSON text, e.g. an LLM reply with code fences and prose around the JSON. Max 102,400 bytes (UTF-8).
coercebooleanNoConvert values toward the schema's declared types before validating: "42" → 42, "true" → true, "null" → null, 5 → "5", x → [x]. Each change is listed in coercions.
formatenumNoLayout of the returned text: compact (default), pretty (2-space indent), or preserve (jsonrepair's output, keeps original spacing and long-number digits).compact | pretty | preserve
schemaobjectNoA JSON Schema (draft 2020-12 by default; 2019-09, 7 and 4 also supported). Only local $refs (#/...) resolve; remote $refs are an error. Max 32 KB.

Details

The maintainer has not added details yet. Check the README in the repository.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.