MCP server
AgentDiet Deterministic A2A Broken-JSON Repair & Schema Validator Official
dev.agentdiet/json-repair
Checked 25 Oct 2026, 20:29 UTC · Connected to it and listed its tools
Repairs truncated or malformed LLM JSON outputs (trailing commas, markdown fences, single quotes).
Working at last checkVerified publisher: agentdiet.devAbout 871 tokens per request once connected2 tools
https://json-repair.agentdiet.dev/mcp
At a glance
- Type
- MCP server
- Publisher
- agentdiet.dev (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 2
- Token cost
- About 871 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 25 Oct 2026, 20:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http json-repair https://json-repair.agentdiet.dev/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.json-repair] url = "https://json-repair.agentdiet.dev/mcp"
Gemini CLI
{"mcpServers":{"json-repair":{"httpUrl":"https://json-repair.agentdiet.dev/mcp"}}}
Cursor
{"mcpServers":{"json-repair":{"url":"https://json-repair.agentdiet.dev/mcp"}}}
VS Code
{"servers":{"json-repair":{"type":"http","url":"https://json-repair.agentdiet.dev/mcp"}}}
Antigravity
agy mcp add json-repair https://json-repair.agentdiet.dev/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"json-repair","server_url":"https://json-repair.agentdiet.dev/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"json-repair","server_url":"https://json-repair.agentdiet.dev/mcp"}
Tools
repair_malformed_json~554 tokens
Repairs truncated or malformed LLM JSON outputs (trailing commas, markdown fences, single quotes) so multi-agent pipelines never crash. WHEN TO USE: Call `repair_malformed_json` when your task requires deterministic `json-repair` analysis for `raw_json`; use `get_agent_wallet_status` to check your r
Browse
Related MCP servers
- JsonMend
Repair broken JSON from LLM output and validate it against a JSON Schema. - FixMyJSON
Repair broken LLM JSON and check it against a JSON Schema. Flags cut-off output. Free trial. - AgentsToolsHub
156 paid-per-call JSON APIs for AI agents over x402: calculators, live data, crypto, security, dev. - vøiddo utilities
26 deterministic tools: PDF, image, QR, CSV/Excel, HTML to PDF, DNS/RDAP, FX rates, time zones. - Diogenes Dev & Data Utilities MCP
JSON healing, O(n) ReDoS defense, XML prompt compilation, and schema verification tools. - US Economic, SEC EDGAR & On-Chain Data (x402)
21 paid tools: US macro data, SEC EDGAR filings, on-chain EVM reads. Settled in USDC on Base. - CanaryGuard 402
Deterministic prompt-injection detection & sanitization for AI agents via x402 on Base. - Jsonaut
Repair malformed JSON from LLM/agent output; optional JSON Schema coercion. Free + x402 paid.
Badge for your README
[](https://aptlynx.net/servers/dev.agentdiet/json-repair)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents