random-number-mcp
If you are the rightful owner of random-number-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Random Number MCP provides essential random number generation utilities from the Python standard library, including both pseudorandom and cryptographically secure operations.
The Random Number MCP is a versatile server designed to facilitate random number generation for a variety of applications. It leverages Python's standard library to offer both pseudorandom and cryptographically secure operations, making it suitable for a wide range of use cases, from simple simulations and games to secure token generation and cryptographic applications. The server provides tools for generating random integers and floats, selecting weighted items from a list, shuffling lists, and generating secure tokens. By integrating these functionalities into a single server, the Random Number MCP simplifies the process of incorporating random number generation into applications, ensuring both ease of use and security. The server is designed to be easily configurable and can be integrated into different platforms, making it a flexible solution for developers looking to add randomness to their projects.
Features
- Comprehensive random number generation tools for integers, floats, and lists.
- Support for both pseudorandom and cryptographically secure operations.
- Easy integration with different platforms through MCP configuration.
- Configurable parameters for tailored random number generation.
- Secure token generation for cryptographic applications.
Tools
random_int
Generate random integers.
random_float
Generate random floats.
random_choices
Choose items from a list with optional weights.
random_shuffle
Return a new list with items shuffled.
random_sample
Choose k unique items from a population.
secure_token_hex
Generate cryptographically secure hex tokens.
secure_random_int
Generate cryptographically secure integers.