# AgentFoundry JSON repair — free pilot

> AgentFoundry JSON repair — free pilot is an MCP server for developer tools. Free pilot that repairs narrow JSON argument errors for AI tool calls, refusing ambiguous. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free trial
- **Platforms:** API, CLI
- **Website:** https://agentfoundry-eval.hmltrucks.workers.dev/quickstart
- **MCP Registry name:** dev.workers.hmltrucks.agentfoundry-eval/json-repair
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-19

## About

The service targets the moment a model emits almost-valid tool arguments, such as a numeric string where an integer is expected, and returns a corrected payload before the call is retried. It checks input against a supplied schema that must use explicit object, string, integer or boolean types, and it refuses any change that would require guessing a business fact. According to the quickstart, it never executes a tool itself, so the repaired arguments still go to whatever system the caller controls.

Access is through an MCP endpoint over Streamable HTTP exposing a single evaluate_json_repair tool, or through a Node.js client that signs requests with a locally generated key. The pricing page lists a free evaluation of 10 calls per identity, with a proposed paid rate that is marked as an unvalidated hypothesis and no automatic charge. The free pilot is stated to end on December 2, 2026.

This fits developers testing structured-output reliability in agent pipelines who want a bounded, refusal-first repair step and can accept the pilot's quotas and session renewal requirements.

## Features

- **Canonical integer repair:** Converts exact canonical integer strings such as "12" to numbers when the schema requires an integer.
- **Refusal of ambiguous values:** Declines to change inputs like zero-padded numbers where the leading zeroes may carry meaning.
- **Schema-bounded validation:** Accepts only object schemas with explicit properties, required fields and additionalProperties set to false.
- **Safe syntax fixes:** Handles exact JSON fences, trailing commas and lowercase boolean strings.
- **MCP and client access:** Offers a Streamable HTTP MCP endpoint and a Node.js evaluation client with a configuration command.

## Good for

- Repairing small type mismatches in model-generated tool arguments before retrying a call
- Testing how an agent pipeline handles refused or unchanged JSON repairs
- Evaluating a bounded repair step inside an MCP client during development
- Checking structured output fixes against fictional test data before production use

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http json-repair https://agentfoundry-eval.hmltrucks.workers.dev/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "json-repair": {
      "type": "http",
      "url": "https://agentfoundry-eval.hmltrucks.workers.dev/mcp"
    }
  }
}
```

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

```text
https://agentfoundry-eval.hmltrucks.workers.dev/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "json-repair": {
      "url": "https://agentfoundry-eval.hmltrucks.workers.dev/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "json-repair": {
      "type": "http",
      "url": "https://agentfoundry-eval.hmltrucks.workers.dev/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://agentfoundry-eval.hmltrucks.workers.dev/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add json-repair --url https://agentfoundry-eval.hmltrucks.workers.dev/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.json-repair]
url = "https://agentfoundry-eval.hmltrucks.workers.dev/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "json-repair": {
      "httpUrl": "https://agentfoundry-eval.hmltrucks.workers.dev/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http json-repair https://agentfoundry-eval.hmltrucks.workers.dev/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "json-repair": {
      "serverUrl": "https://agentfoundry-eval.hmltrucks.workers.dev/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "json-repair": {
      "url": "https://agentfoundry-eval.hmltrucks.workers.dev/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "json-repair": {
      "type": "streamableHttp",
      "url": "https://agentfoundry-eval.hmltrucks.workers.dev/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "json-repair": {
      "url": "https://agentfoundry-eval.hmltrucks.workers.dev/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "json-repair": {
      "url": "https://agentfoundry-eval.hmltrucks.workers.dev/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "json-repair": {
      "url": "https://agentfoundry-eval.hmltrucks.workers.dev/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "json-repair": {
      "url": "https://agentfoundry-eval.hmltrucks.workers.dev/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://agentfoundry-eval.hmltrucks.workers.dev/mcp
```

Enter a Name (for example "AgentFoundry JSON repair — free pilot"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

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

```json
{
  "mcpServers": {
    "json-repair": {
      "type": "http",
      "url": "https://agentfoundry-eval.hmltrucks.workers.dev/mcp"
    }
  }
}
```

## Tools

The server marks 1 of 1 tool as able to change data. From the server's own tool labels and tool names; not verified by us.

- `evaluate_json_repair` (says it can change data): AgentRescue by AgentFoundry: repair malformed JSON tool arguments against an explicit schema. Fix exact JSON fences, trailing commas, canonical integer strings and lowercase boolean strings. Object/string/integer/boolean schemas only; arrays, references and missing business facts are unsupported. Refuses ambiguity; no tool execution or payments. Setup: https://agentrescue-kit.pages.dev/ provides t

## FAQ

### Does the service execute the tool after repairing arguments?

No. The quickstart states that the service never executes a tool and only returns corrected arguments.

### How many free calls are included?

The pricing page lists 10 free evaluation calls per authorized principal, and the quickstart says ten lifetime repair attempts per identity including refusals.

### Is a payment method required?

No funded wallet, browser wallet extension or payment is required, and the pricing page shows no automatic charge.

### When does the free pilot end?

The website and registry entry both state the free pilot ends on December 2, 2026, at 16:00 UTC.

### How do I add AgentFoundry JSON repair — free pilot to Claude Code?

Run this command in your terminal: claude mcp add --transport http json-repair https://agentfoundry-eval.hmltrucks.workers.dev/mcp

### What are the best alternatives to AgentFoundry JSON repair — free pilot?

The closest alternatives to AgentFoundry JSON repair — free pilot are AgentDiet Deterministic A2A Broken-JSON Repair & Schema Validator, Json Mender MCP, Mend, GenPark Recursive JSON Schema Healer and json-repair-lite.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 26 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [AgentDiet Deterministic A2A Broken-JSON Repair & Schema Validator](https://ai-powered.com/mcp/agentdiet-deterministic-a2a-broken-json-repair-and-schema-va): AgentDiet Deterministic A2A Broken-JSON Repair & Schema Validator is a paid MCP server for developer tools.
- [Json Mender MCP](https://ai-powered.com/mcp/json-mender-mcp): Json Mender MCP is an open-source MCP server for developer tools.
- [Mend](https://ai-powered.com/mcp/mend): Mend is a free MCP server for developer tools.
- [GenPark Recursive JSON Schema Healer](https://ai-powered.com/mcp/genpark-recursive-json-schema-healer): GenPark Recursive JSON Schema Healer is an open-source MCP server for developer tools.
- [json-repair-lite](https://ai-powered.com/mcp/json-repair-lite): json-repair-lite is an open-source MCP server for developer tools.
- [Diogenes Dev & Data Utilities MCP](https://ai-powered.com/mcp/diogenes-dev-and-data-utilities-mcp): Diogenes Dev & Data Utilities MCP is a freemium MCP server for developer tools.
- [HumanMirror Forge](https://ai-powered.com/mcp/humanmirror-forge): HumanMirror Forge is an MCP server for developer tools.
- [NAIF Gravity](https://ai-powered.com/mcp/naif-gravity): NAIF Gravity is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/agentfoundry-json-repair-free-pilot
