encode_html

Pack: htmlentities · Endpoint: https://gateway.pipeworx.io/htmlentities/mcp

Encode text to HTML entities. mode “basic” (default) escapes only & < > ” ’; mode “extended” also converts every non-ASCII character to a numeric entity. Keyless, offline.

Parameters

NameTypeRequiredDescription
textstringyesThe text to encode.
modestringno”basic” (default) or “extended”.

Example call

curl -X POST https://gateway.pipeworx.io/htmlentities/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"encode_html","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "htmlentities": {
      "url": "https://gateway.pipeworx.io/htmlentities/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 1, 2026