Skip to main content
Glama
xiaobenyang-com

Random-Generator

README.md
# 随机数生成服务器 Random Generator

一款符合MCP协议的加密安全随机数生成服务器,适用于AI应用、LLM及其他需要高质量随机数的系统。
An encrypted and secure random number generation server that complies with the MCP protocol, suitable for AI applications, LLMS, and other systems that require high-quality random numbers.## 工具列表 Tool List

本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。 本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。

| 工具 Tool   | 描述 Description         |
|-------|--------------------|
| generate_random_integer | Generate cryptographically secure random integers within a specified range |
| generate_random_float | Generate cryptographically secure random floating-point numbers |
| generate_random_bytes | Generate cryptographically secure random bytes |
| generate_uuid | Generate a cryptographically secure UUID (v4) |
| generate_random_string | Generate a cryptographically secure random string |
| generate_random_choice | Randomly select items from a given list using cryptographically secure randomness |
| generate_random_boolean | Generate cryptographically secure random boolean values |


## 检查服务 ## Inspector

工具在线测试: [https://mcp.xiaobenyang.com/inspector/1777316659559427](https://mcp.xiaobenyang.com/inspector/1777316659559427)

Online Tool test [https://mcp.xiaobenyang.com/inspector/1777316659559427](https://mcp.xiaobenyang.com/inspector/1777316659559427)

## 服务配置 MCP Server Config


> #### 如何获取 XBY-APIKEY ? How to get XBY-APIKEY ?
> 访问小笨羊科技网站 [https://xiaobenyang.com](https://xiaobenyang.com),注册用户即可获得APIKEY
> Visit XiaoBenYang website [https://xiaobenyang.com](https://xiaobenyang.com), register and get the APIKEY.

### SSE
```json
{
  "mcpServers": {
    "随机数生成服务器": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "sse",
      "url": "https://mcp.xiaobenyang.com/1777316659559427/sse"
    }
  }
}
```
### STREAMABLE HTTP
```json
{
  "mcpServers": {
    "随机数生成服务器": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "streamable_http",
      "url": "https://mcp.xiaobenyang.com/1777316659559427/mcp"
    }
  }
}
```
### STDIO
```json
{
    "mcpServers": {
        "随机数生成服务器": {
          "command": "npx",
          "args": [
            "-y",
            "xiaobenyang-mcp"
          ],
          "env": {
            "XBY_APIKEY": "<YOUR_XBY_APIKEY>",
            "mcpId": "1777316659559427",
          },
          "transport": "stdio"
        }
      }
}

```

TDQS

A3.5/5.0

Scored across 7 tools

Disambiguation5/5

Every tool has a clearly distinct purpose targeting specific random generation tasks (boolean, bytes, choice, float, integer, string, UUID). There is no overlap or ambiguity between tools, as each handles a different data type or selection method with cryptographically secure randomness.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern with 'generate_random_' prefix (or 'generate_uuid'), using snake_case throughout. The naming is highly predictable and readable, making it easy to understand each tool's function at a glance.

Tool Count5/5

With 7 tools, this is well-scoped for a random generation server, covering common use cases without bloat. Each tool earns its place by addressing a specific random generation need, making the set comprehensive yet manageable.

Completeness5/5

The tool surface provides complete coverage for random generation in a typical programming context, including booleans, bytes, choices, floats, integers, strings, and UUIDs. There are no obvious gaps, and agents can handle most random generation tasks without dead ends.

Maintenance

ActivityInactive
ResponsivenessNo issues