Skip to main content
Glama
devstacks-se

ID Generator MCP

by devstacks-se
README.md
# ID Generator MCP
[![smithery badge](https://smithery.ai/badge/@devstacks-software-engineering/id-generator-mcp)](https://smithery.ai/server/@devstacks-software-engineering/id-generator-mcp)

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

<a href="https://glama.ai/mcp/servers/@devstacks-software-engineering/id-generator-mcp">
  <img width="380" height="200" src="https://glama.ai/mcp/servers/@devstacks-software-engineering/id-generator-mcp/badge" alt="ID Generator MCP server" />
</a>

## 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](https://smithery.ai/server/@devstacks-software-engineering/id-generator-mcp):

```bash
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:

```bash
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:

```json
{
  "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

TDQS

D1.7/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'generate-id' has a clear, distinct purpose that cannot be confused with any other tool in this set.

Naming Consistency5/5

The naming is trivially consistent as there is only one tool. The tool name 'generate-id' follows a clear verb_noun pattern, and with no other tools to compare against, it maintains perfect consistency within the set.

Tool Count2/5

A single tool is too few for most server purposes, making the set feel thin and potentially incomplete. While 'generate-id' might be a simple utility, typical MCP servers benefit from a broader scope with 3-15 tools to handle related operations effectively.

Completeness1/5

The tool surface is severely incomplete. With only a 'generate-id' tool and no description, it lacks any context for the domain (e.g., UUIDs, custom IDs, batch generation) and misses obvious related operations like validation, listing, or deletion of IDs, leaving significant gaps for agent workflows.

Maintenance

ActivityNo data
ResponsivenessNo issues