Random Number MCP
未认领Production-ready MCP server that provides LLMs with essential random generation abilities, built entirely on Python's standard library.
安装
$
npx @modelcontextprotocol/inspector uv run random-number-mcp工具(14 个)
high
(int): Upper bound (inclusive)
items
(list): List of items to shuffle
low
(int): Lower bound (inclusive)
nbytes
(int, optional): Number of random bytes (default: 32)
population
(list): List of items to choose from
random_choices
Choose items from a list (optional weights)
random_float
Generate random floats
random_int
Generate random integers
random_sample
Choose k unique items from population
random_shuffle
Return a new list with items shuffled
secure_random_int
Generate cryptographically secure integers
secure_token_hex
Generate cryptographically secure hex tokens
upper_bound
(int): Upper bound (exclusive)
weights
(list, optional): Weights for each item (default: equal weights)