# AgentDiet Deterministic A2A Broken-JSON Repair & Schema Validator

> AgentDiet Deterministic A2A Broken-JSON Repair & Schema Validator is an MCP server. Repairs truncated or malformed LLM JSON outputs (trailing commas, markdown fences, single quotes). It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Website:** https://json-repair.agentdiet.dev
- **Repository:** https://github.com/robertoyanguas-ops/assay
- **MCP Registry name:** dev.agentdiet/json-repair
- **Listing updated:** 2026-11-13

## About

Repairs truncated or malformed LLM JSON outputs (trailing commas, markdown fences, single quotes).

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http json-repair https://json-repair.agentdiet.dev/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://json-repair.agentdiet.dev/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "json-repair": {
      "url": "https://json-repair.agentdiet.dev/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "json-repair": {
      "type": "http",
      "url": "https://json-repair.agentdiet.dev/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "json-repair": {
      "serverUrl": "https://json-repair.agentdiet.dev/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "json-repair": {
      "type": "http",
      "url": "https://json-repair.agentdiet.dev/mcp"
    }
  }
}
```

## FAQ

### How do I add AgentDiet Deterministic A2A Broken-JSON Repair & Schema Validator to Claude Code?

Run this command in your terminal: claude mcp add --transport http json-repair https://json-repair.agentdiet.dev/mcp

---
Source: https://ai-powered.com/mcp/agentdiet-deterministic-a2a-broken-json-repair-and-schema-va
