Home / Servers / Text Toolkit / random_string
Random string
An MCP tool from the Text Toolkit server, hosted on mcp.hjlabs.in.
Generate a cryptographically random string or password of a given length from a chosen alphabet: alphanumeric, letters, digits, hex, or "password" (letters, digits and symbols, with at least one of each).
Name on the gateway: text__random_string · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
length | integer | Length, 1 to 1024. Default 32. |
alphabet | alphanumeric | letters | digits | hex | password | lowercase | Default "alphanumeric". |
count | integer | How many, 1 to 50. Default 1. |
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:
{
"name": "text__random_string",
"arguments": {}
}Or connect the Text Toolkit server directly, which lists 43 tools including this one:
claude mcp add --transport http hj-text https://mcp.hjlabs.in/mcp/text \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the random string tool with length set to ….