# String Escape — MCP tool `findutils:string_escape`

Escape or unescape a string for JSON, HTML, URL, or regex contexts.

- Category: encoding
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/string-escape/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/mcp/string-escape/
- Same tool on the other surface: https://findutils.com/api/string-escape/

## Connect

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

Claude Desktop (`claude_desktop_config.json`):

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

## Call the tool (verified example)

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

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `text` | string | yes | Input text. |
| `format` | string (json \| html \| url \| regex) | yes | Escape format. |
| `mode` | string (escape \| unescape) | no | Direction. Defaults to "escape". Default: `"escape"`. |

Example arguments (verified):

```json
{
  "text": "He said \"hi\"",
  "format": "json"
}
```

## Also a REST endpoint

```bash
curl -X POST https://api.findutils.com/api/tools/string-escape/execute \
  -H "Content-Type: application/json" \
  -d '{
    "text": "He said \"hi\"",
    "format": "json"
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/string-escape
```

Full REST reference: https://findutils.com/api/string-escape/ · OpenAPI 3.1 spec: https://findutils.com/api/openapi.json

---
Full catalog: POST https://mcp.findutils.com/ with method `tools/list` · https://findutils.com/mcp/ · https://findutils.com/llms.txt
