ulid-generator-mcp

endou-mame/ulid-generator-mcp

3.2

If you are the rightful owner of ulid-generator-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This is a ULID Generator MCP Server designed to run on CloudFlare Workers, facilitating the generation of ULID mock data for testing purposes.

The ULID Generator MCP Server is a specialized server application that operates on CloudFlare Workers, providing a streamlined solution for generating ULID (Universally Unique Lexicographically Sortable Identifier) mock data. This server is particularly useful for developers implementing test codes in LLM (Large Language Model) environments, where unique identifiers are required. The server supports multiple ULID generation patterns, including standard, seeded, and monotonic ULID generation, ensuring flexibility and precision in identifier creation. Additionally, it offers a parsing feature to extract detailed information from existing ULIDs. Built using Hono.js and TypeScript, the server leverages the popular 'ulid' library for Node.js, ensuring reliable and efficient ULID generation. The server is accessible via an MCP HTTP Streamable protocol, making it easy to integrate into various development workflows.

Features

  • Standard ULID Generation: Combines timestamp and cryptographically secure pseudo-random numbers.
  • Seeded ULID Generation: Allows specifying a seed time for consistent timestamp components.
  • Monotonic ULID Generation: Ensures strict ordering by incrementing the lowest random bits.
  • ULID Parsing: Extracts detailed information from existing ULIDs.
  • CloudFlare Workers Deployment: Optimized for serverless environments.

Usages

usage with cloudflare workers

{
  "protocol": "MCP HTTP Streamable",
  "framework": "Hono.js",
  "runtime": "CloudFlare Workers",
  "language": "TypeScript"
}

usage with mcp tools

{
  "tools": [
    "generate_standard_ulid",
    "generate_seeded_ulid",
    "generate_monotonic_ulid",
    "parse_ulid"
  ]
}

Tools

  1. generate_standard_ulid

    Generates a standard ULID using a combination of timestamp and random bits.

  2. generate_seeded_ulid

    Generates a ULID with a specified seed time, ensuring consistent timestamp components.

  3. generate_monotonic_ulid

    Generates a ULID with a specified seed time, incrementing the lowest random bits for strict ordering.

  4. parse_ulid

    Parses an existing ULID to extract detailed information.