mcpField
I
ID Generator MCP

ID Generator MCP

Local
github.com/devstacks-software-engineeringDeveloper Tools1Updated 76w ago

About ID Generator MCP

ID Generator MCP provides ID-generation tools for AI assistants. It supports four identifier formats and can generate multiple IDs at once.

Key features

  1. 01Generate UUID v4 identifiers
  2. 02Create CUID2 identifiers
  3. 03Generate compact Nanoid strings
  4. 04Create sortable ULIDs
  5. 05Generate multiple IDs at once

Use cases

  1. 01Create UUIDs for application records
  2. 02Generate URL-friendly identifiers
  3. 03Create time-ordered IDs for sorting

MCP support

It exposes ID-generation capabilities as tools for MCP clients, including generation of several supported formats and multiple IDs at once.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"id-generator": {
"command": "npx",
"args": [
"-y",
"@devstacks/id-generator-mcp"
]
}
}
}
Run commandnpx -y @devstacks/id-generator-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@devstacks/id-generator-mcp

Tools

1

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
algorithmenumNocuid2 | uuid | nanoid | ulid
quantitynumberNo

Details

From the project README

ID Generator MCP

smithery badge

This is a Model Context Protocol (MCP) server that provides ID generation capabilities to AI assistants.

ID Generator MCP server

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
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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.