ID Generator MCP
About
This is a Model Context Protocol (MCP) server that provides ID generation capabilities to AI assistants.
Details
- Author
- devstacks-software-engineering
- Downloads
- 154
- Categories
- Developer Tools
Jump to
- Generate UUIDs (v4)
- Create CUID2 IDs for collision-resistant identification
- Generate Nanoid for compact, URL-friendly identifiers
- Create ULIDs for time-ordered, sortable identifiers
- Consistent ID generation across sessions
- Support for generating multiple IDs at once
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
ID Generator MCPCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install by running claude mcp add id-generator npx @devstacks/id-generator-mcp in Claude Code, or add the JSON configuration {"mcpServers":{"id-generator":{"command":"npx","args":["@devstacks/id-generator-mcp"]}}} to the MCP config file for Cursor, Winsurf, or Claude Desktop. Once installed, the AI assistant can use it to generate IDs on demand.
generate-id
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"id generator mcp": {
"id-generator": {
"command": "npx",
"args": [
"@devstacks/id-generator-mcp"
]
}
}
}
}
McpServers
{
"id-generator": {
"command": "npx",
"args": [
"@devstacks/id-generator-mcp"
]
}
}
ID Generator MCP
This is a Model Context Protocol (MCP) server that provides ID generation capabilities to AI assistants.
Installation
The ID Generator MCP can be integrated with various AI assistant platforms. Below are instructions for different environments:
Claude Code
To add the ID Generator MCP to Claude Code, run the following command:
claude mcp add id-generator npx @devstacks/id-generator-mcp
Cursor, Winsurf, or Claude Desktop
To add the ID Generator MCP to Cursor, Winsurf, or Claude Desktop, add the following configuration to your MCP configuration file:
{
"mcpServers": {
"id-generator": {
"command": "npx",
"args": ["@devstacks/id-generator-mcp"]
}
}
}
Usage
Once installed, the ID Generator MCP can be used by the AI assistant to generate various types of IDs.
Supported ID Algorithms
| Algorithm | Example | Description |
|-----------|---------|-------------|
| uuid | 123e4567-e89b-12d3-a456-426614174000 | UUID v4 - Universally Unique Identifier that uses random numbers to generate a 128-bit value with extremely low collision probability. Standardized format widely used across many systems. |
| cuid2 | clh3ppfqz0000jz0ggdlg7etk | Collision-resistant IDs optimized for horizontal scaling and performance. Shorter than UUIDs while maintaining uniqueness. Designed to be secure, URL-safe, and sequential for database performance. |
| nanoid | V1StGXR8_Z5jdHi6B-myT | Small, secure, URL-friendly unique string ID generator. Creates compact, non-sequential, URL-safe identifiers that are highly collision-resistant. Default length is 21 characters. |
| ulid | 01ARZ3NDEKTSV4RRFFQ69G5FAV | Universally Unique Lexicographically Sortable Identifier. Combines time-ordered uniqueness with random uniqueness. 26 characters, crockford base32 encoded (no special characters), URL-safe, and lexicographically sortable. |
Features
- Generate UUIDs (v4)
- Create CUID2 IDs for collision-resistant identification
- Generate Nanoid for compact, URL-friendly identifiers
- Create ULIDs for time-ordered, sortable identifiers
- Consistent ID generation across sessions
- Simple API integration
- Support for generating multiple IDs at once
License
MIT
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





