secure_token_hex
Generate cryptographically secure hex tokens
How to use it
secure_token_hex is exposed by the Random Number MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the secure_token_hex tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Random Number MCP
npx @modelcontextprotocol/inspector uv run random-number-mcpOther tools in Random Number MCP (13)
(int): Upper bound (inclusive)
(list): List of items to shuffle
(int): Lower bound (inclusive)
(int, optional): Number of random bytes (default: 32)
(list): List of items to choose from
Choose items from a list (optional weights)
Generate random floats
Generate random integers
Choose k unique items from population
Return a new list with items shuffled
Generate cryptographically secure integers
(int): Upper bound (exclusive)
(list, optional): Weights for each item (default: equal weights)