Skip to main content
Glama
devstacks-se

ID Generator MCP

by devstacks-se

ID 生成器 MCP

这是一个模型上下文协议 (MCP) 服务器,为 AI 助手提供 ID 生成功能。

安装

ID Generator MCP 可以与各种 AI 助手平台集成。以下是针对不同环境的说明:

克劳德·科德

要将 ID 生成器 MCP 添加到 Claude 代码,请运行以下命令:

claude mcp add id-generator npx @devstacks/id-generator-mcp

Cursor、Winsurf 或 Claude Desktop

要将 ID Generator MCP 添加到 Cursor、Winsurf 或 Claude Desktop,请将以下配置添加到您的 MCP 配置文件:

{
  "mcpServers": {
    "id-generator": {
      "command": "npx",
      "args": ["@devstacks/id-generator-mcp"]
    }
  }
}

Related MCP server: UUID AI MCP

用法

安装后,AI 助手可以使用 ID Generator MCP 生成各种类型的 ID。

支持的ID算法

算法

例子

描述

uuid

123e4567-e89b-12d3-a456-426614174000

UUID v4 - 通用唯一标识符,使用随机数生成一个 128 位值,冲突概率极低。该格式标准化,广泛应用于多种系统。

cuid2

clh3ppfqz0000jz0ggdlg7etk

针对水平扩展和性能进行了优化的抗冲突 ID。比 UUID 更短,同时保持唯一性。设计安全、URL 安全且顺序性强,可提高数据库性能。

nanoid

V1StGXR8_Z5jdHi6B-myT

小型、安全、URL 友好的唯一字符串 ID 生成器。创建紧凑、非序列化、URL 安全且高度抗冲突的标识符。默认长度为 21 个字符。

ulid

01ARZ3NDEKTSV4RRFFQ69G5FAV

通用唯一且按字典顺序排序的标识符。它将时间顺序的唯一性与随机唯一性相结合。26 个字符,采用 crockford base32 编码(无特殊字符),URL 安全,并可按字典顺序排序。

特征

  • 生成 UUID(v4)

  • 创建 CUID2 ID 以实现防碰撞识别

  • 生成 Nanoid 以获得紧凑、URL 友好的标识符

  • 为按时间排序的可排序标识符创建 ULID

  • 跨会话生成一致的 ID

  • 简单的 API 集成

  • 支持一次生成多个ID

执照

麻省理工学院

Install Server
A
license - permissive license
D
quality
F
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A simple MCP server that provides tools for generating unique IDs in several formats, useful for when you need an LLM to create data containing new IDs.
    Eclipse Public 2.0
  • A
    license
    B
    quality
    D
    maintenance
    Provides 45 developer utilities (UUID generation, hashing, JWT decoding, etc.) for AI assistants like Claude Desktop, Cursor, and Windsurf. Includes 16 free tools and 29 pro tools with trial usage.
    46
    66
    MIT

View all related MCP servers

Related MCP Connectors

  • Generate IDs, QR codes, and hashes, encode values, geolocate IPs, plus gated host diagnostics.

  • 500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.

  • Build, validate, and deploy multi-agent AI solutions from any AI environment.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/devstacks-se/id-generator-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server