MIT License
  • Apple
  • Linux

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

AlgorithmExampleDescription
uuid123e4567-e89b-12d3-a456-426614174000UUID 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.
cuid2clh3ppfqz0000jz0ggdlg7etkCollision-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.
nanoidV1StGXR8_Z5jdHi6B-myTSmall, secure, URL-friendly unique string ID generator. Creates compact, non-sequential, URL-safe identifiers that are highly collision-resistant. Default length is 21 characters.
ulid01ARZ3NDEKTSV4RRFFQ69G5FAVUniversally 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

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Provides AI assistants with capabilities to generate collision-resistant unique identifiers using UUID v4 and CUID2 algorithms.

  1. Installation
    1. Claude Code
    2. Cursor, Winsurf, or Claude Desktop
  2. Usage
    1. Supported ID Algorithms
  3. Features
    1. License

      Related MCP Servers

      • -
        security
        A
        license
        -
        quality
        Serves as a guardian of development knowledge, providing AI assistants with curated access to latest documentation and best practices.
        Last updated -
        4
        87
        52
        TypeScript
        MIT License
      • -
        security
        F
        license
        -
        quality
        Enables seamless AI integration via Ollama's Deepseek model, providing protocol compliance and automatic configuration for clean AI-driven interactions.
        Last updated -
        1
        Python
      • -
        security
        A
        license
        -
        quality
        A server that integrates Flux's advanced image generation and manipulation features into AI coding assistants, enabling seamless text-to-image and image control workflows in IDEs like Cursor and Windsurf.
        Last updated -
        4
        10
        Python
        MIT License
      • A
        security
        A
        license
        A
        quality
        Enables AI assistants to access protein information directly from UniProt, allowing retrieval of protein names, functions, sequences, and organism data by accession number.
        Last updated -
        2
        1
        Python
        MIT License
        • Apple
        • Linux

      View all related MCP servers

      ID: zqc5th6vch