Home / Servers / Text Toolkit / wrap_text

Wrap text

An MCP tool from the Text Toolkit server, hosted on mcp.hjlabs.in.

Re-wrap paragraphs to a maximum line width, keeping paragraph breaks. Optionally indent each line or prefix it (for quoting or commenting).

Name on the gateway: text__wrap_text · read-only.

Parameters

NameTypeDescription
text requiredstringThe text.
widthintegerMaximum characters per line. Default 80.
prefixstringPut this at the start of each line, e.g. "> " or "// ". Default none.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "text__wrap_text",
  "arguments": {
    "text": "…"
  }
}

Or connect the Text Toolkit server directly, which lists 43 tools including this one:

Run in your terminal
claude mcp add --transport http hj-text https://mcp.hjlabs.in/mcp/text \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the wrap text tool with text set to ….

More from Text Toolkit