loading…
Search for a command to run...
loading…
Enables repair of malformed JSON strings into valid JSON for agent workflows by fixing common LLM formatting issues. Supports cleanup of code fences, smart quot
Enables repair of malformed JSON strings into valid JSON for agent workflows by fixing common LLM formatting issues. Supports cleanup of code fences, smart quotes, unquoted keys, trailing commas, and missing brackets to ensure reliable data parsing.
Remote MCP server on Cloudflare Workers that repairs malformed JSON strings into valid JSON for agent workflows.
json_sanitizer accepts a string that is supposed to be JSON but may have common LLM formatting issues. The Worker applies deterministic cleanup steps and returns valid JSON when recovery succeeds.
Handled fixes include:
} and ]json_sanitizerInput:
input: malformed JSON-like stringpretty?: pretty-print output JSON, defaults to trueOutput:
https://<your-worker>.workers.dev/mcphttps://<your-worker>.workers.dev/.well-known/mcp/server.jsonhttps://<your-worker>.workers.dev/healthOnly actual tool execution requires payment:
GET /mcp, tools/list, initialize, pingtools/call for json_sanitizerPayment settings:
eip155:8453 (Base)USDC0.0010x4505A361611DebB4928Db488ad7E345cD5821cD4npm install.npx wrangler login.npx wrangler secret put EVM_PRIVATE_KEY.PUBLIC_BASE_URL in wrangler.toml to your final Worker URL.npm run deploy.Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"mcp-json-sanitizer": {
"command": "npx",
"args": []
}
}
}