ID Generator MCP
Generate unique IDs using various algorithms like UUID, CUID2, Nanoid, and ULID.
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:
Installing via Smithery
To install ID Generator MCP for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @devstacks-software-engineering/id-generator-mcp --client claude
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
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Template MCP Server
A CLI template for quickly bootstrapping an MCP server with FastMCP, supporting both stdio and HTTP transport.
GrowthBook
Create and read feature flags, review experiments, generate flag types, search docs, and interact with GrowthBook's feature flagging and experimentation platform.
Apple Developer Documentation
Search Apple's official developer documentation for iOS, macOS, SwiftUI, WWDC videos, and more.
MCP Spec Navigator
Navigate and explore the Model Context Protocol specification with dynamic markdown tree generation and intelligent section navigation.
mcp-graphql
A GraphQL server that supports the Model Context Protocol (MCP), enabling Large Language Models (LLMs) to interact with GraphQL APIs through schema introspection and query execution.
MCP Manager
A full-stack application for managing Model Context Protocol (MCP) servers for Claude Desktop with a modern web interface.
gget-mcp
An MCP server for the gget bioinformatics library, enabling standardized access to genomics tools and databases.
Gemini CLI RAG MCP
A RAG-based Q&A server using a vector store built from Gemini CLI documentation.
oclif MCP Server Plugin
An oclif CLI plugin that automatically discovers and serves commands via the Model Context Protocol (MCP).
OAuth 2.1 MCP Server
A Next.js template for building MCP servers with OAuth 2.1 authentication, supporting PostgreSQL and Redis.