Json Escaper

Encoding REST API MCP

Returns the text with JSON string escapes applied (mode "escape") or removed (mode "unescape"). Escapes backslashes, double quotes, newlines, carriage returns, tabs, form feeds and backspaces so the text can sit inside a JSON string literal.

This page documents the MCP tool findutils:json_escaper. See the REST reference →

Call it over MCP

Tool name findutils:json_escaper · no API keys · 120 requests/min per IP

Claude Code

claude mcp add findutils --transport http https://mcp.findutils.com/

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "findutils": {
      "url": "https://mcp.findutils.com/"
    }
  }
}

Raw JSON-RPC (any MCP client) — verified example

curl -X POST https://mcp.findutils.com/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "json_escaper",
      "arguments": {
        "text": "He said \"hi\"\nbye",
        "mode": "escape"
      }
    }
  }'

Input schema

Argument Type Required Description
text string yes The text to escape or unescape.
mode string (escape | unescape) no Direction: "escape" (default) adds JSON escapes; "unescape" removes them. Default: "escape".

Example arguments (verified)

{
  "text": "He said \"hi\"\nbye",
  "mode": "escape"
}

Also a REST endpoint

The same tool answers plain HTTP at POST /api/tools/json-escaper/execute — no key, 60 requests/min.

Open the REST reference for Json Escaper →

More Encoding tools