- Home
- MCP servers
- ID Generator
ID Generator
- javascript
1
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"devstacks-software-engineering-id-generator-mcp": {
"command": "npx",
"args": [
"@devstacks/id-generator-mcp"
]
}
}
}You run the ID Generator MCP to generate IDs programmatically within AI assistants. It supports UUID, CUID2, Nanoid, and ULID, enabling consistent, collision-resistant identifiers across sessions and integrations.
How to use
Use the ID Generator MCP from your MCP client to request IDs in the algorithms you need. You can generate single IDs or multiple IDs at once, and choose among UUIDv4, CUID2, Nanoid, or ULID depending on your use case. Integrate the generator into your AI workflows to attach unique identifiers to data, responses, or entities, ensuring stable, URL-safe, and time-ordered IDs when required.
How to install
Prerequisites you need before installation: Node.js and npm must be installed on your machine.
# Install the MCP client for Claude via Smithery
npx -y @smithery/cli install @devstacks-software-engineering/id-generator-mcp --client claude
To add the ID Generator MCP to Claude Code, run the following command.
claude mcp add id-generator npx @devstacks/id-generator-mcp
If you prefer to configure Cursor, Winsurf, or Claude Desktop via a local MCP config file, use this JSON snippet to register the MCP server.
{
"mcpServers": {
"id-generator": {
"command": "npx",
"args": ["@devstacks/id-generator-mcp"]
}
}
}
Additional notes
The ID Generator MCP provides the following algorithms: uuid (UUID v4), cuid2 (Collision-resistant ID), nanoid (compact, URL-safe IDs), and ulid (time-ordered, sortable IDs). Use the appropriate algorithm based on your performance, security, and database indexing requirements.
Available tools
generate_uuid
Generates a UUID (v4) using randomization to create a 128-bit identifier with extremely low collision probability.
generate_cuid2
Generates a collision-resistant ID suitable for horizontally scalable architectures, designed for fast lookups and URL safety.
generate_nanoid
Generates compact, URL-friendly IDs with a default length of 21 characters, focused on security and speed.
generate_ulid
Generates time-ordered IDs (ULID) that blend time component with randomness for sortable identifiers.