ID Generator MCP
ID 生成器 MCP
这是一个模型上下文协议 (MCP) 服务器,为 AI 助手提供 ID 生成功能。
安装
ID Generator MCP 可以与各种 AI 助手平台集成。以下是针对不同环境的说明:
克劳德·科德
要将 ID 生成器 MCP 添加到 Claude 代码,请运行以下命令:
claude mcp add id-generator npx @devstacks/id-generator-mcpCursor、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 v4 - 通用唯一标识符,使用随机数生成一个 128 位值,冲突概率极低。该格式标准化,广泛应用于多种系统。 |
|
| 针对水平扩展和性能进行了优化的抗冲突 ID。比 UUID 更短,同时保持唯一性。设计安全、URL 安全且顺序性强,可提高数据库性能。 |
|
| 小型、安全、URL 友好的唯一字符串 ID 生成器。创建紧凑、非序列化、URL 安全且高度抗冲突的标识符。默认长度为 21 个字符。 |
|
| 通用唯一且按字典顺序排序的标识符。它将时间顺序的唯一性与随机唯一性相结合。26 个字符,采用 crockford base32 编码(无特殊字符),URL 安全,并可按字典顺序排序。 |
特征
生成 UUID(v4)
创建 CUID2 ID 以实现防碰撞识别
生成 Nanoid 以获得紧凑、URL 友好的标识符
为按时间排序的可排序标识符创建 ULID
跨会话生成一致的 ID
简单的 API 集成
支持一次生成多个ID
执照
麻省理工学院
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA 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
- AlicenseBqualityAmaintenanceGenerates UUID, ULID, and NanoID identifiers via MCP protocol.59MIT
- FlicenseNot gradedqualityCmaintenanceGenerates cryptographically secure, compliant UUIDs (v4, v5, v7) to prevent AI-hallucinated identifiers that would cause database collisions.73
- AlicenseBqualityDmaintenanceProvides 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.4666MIT
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.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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