Cover image
Try Now
2025-04-02

MCP for get a UUID

3 years

Works with Finder

1

Github Watches

0

Github Forks

1

Github Stars

UUID MCP Provider

A simple Model Context Protocol (MCP) server that provides timestamp-based UUIDs whenever it's called by an LLM.

Features

  • Provides a single tool: generateUuid
  • Uses UUID v7 for timestamp-based unique identifiers
  • Simple interface with no input parameters needed
  • Easy integration with Claude and other LLMs

Installation

# Install dependencies
npm install

# Build the project
npm run build

Usage

You can run the server directly:

npm start

Integration with Claude Desktop

To integrate with Claude Desktop, add this to your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "uuid-provider": {
      "command": "node",
      "args": ["/absolute/path/to/uuid-mcp/build/index.js"]
    }
  }
}

Replace /absolute/path/to/uuid-mcp/build/index.js with the absolute path to your built index.js file.

After updating the configuration, restart Claude Desktop to see the UUID generation tool available.

How It Works

This server uses the official uuid package to generate UUID v7 identifiers. UUID v7 is specifically designed to be timestamp-based while maintaining strong uniqueness guarantees:

  • Incorporates a Unix timestamp in millisecond precision
  • Adds randomized data to ensure uniqueness even when multiple IDs are generated in the same millisecond
  • Follows the latest RFC standards for UUID generation
  • Provides chronologically sortable identifiers
  • Prevents collisions in distributed systems

This approach is more reliable than custom UUID implementations and eliminates the potential for duplicates even under high load.

Dependencies

  • @modelcontextprotocol/sdk: For MCP server implementation
  • uuid: For RFC-compliant UUID generation
  • TypeScript and related tools for development

Example

When called, the tool returns a UUID v7 string that looks like:

018e94d2-279b-7bd3-9289-80d1e6619670

The first part of the UUID contains the timestamp, making these identifiers chronologically sortable while still maintaining the standard UUID format.

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • jae-jae
  • MCP server for fetch web page content using Playwright headless browser.

  • HiveNexus
  • An AI chat bot for small and medium-sized teams, supporting models such as Deepseek, Open AI, Claude, and Gemini. 专为中小团队设计的 AI 聊天应用,支持 Deepseek、Open AI、Claude、Gemini 等模型。

  • ravitemer
  • A powerful Neovim plugin for managing MCP (Model Context Protocol) servers

  • patruff
  • Bridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools

    Reviews

    2 (1)
    Avatar
    user_UCbE4hF1
    2025-04-17

    As a dedicated user of uuid-mcp, I have found this tool to be incredibly reliable and efficient. Created by tanker327, it allows for seamless integration and management of UUIDs. The documentation is thorough and easy to follow, making set-up a breeze. Highly recommend this for anyone in need of a robust UUID management system. Check it out on GitHub: https://github.com/tanker327/uuid-mcp.