UUID MCP Provider
Generates timestamp-based unique identifiers using UUID v7.
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 implementationuuid
: 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.
Related Servers
Remote MCP Server on Cloudflare
A template for deploying a remote MCP server on Cloudflare Workers, customizable by defining tools in the source code.
Unity3d Game Engine
MCP Server to control and interact with Unity3d Game Engine for game development
Remote MCP Server (Authless)
An example remote MCP server deployable on Cloudflare Workers without authentication.
Aki Design Assistant
Assists with aki-ui component development and usage.
Maya MCP
MCP server for Autodesk Maya
MCP-RAGNAR
A local MCP server implementing Retrieval-Augmented Generation (RAG) with sentence window retrieval and support for multiple file types.
Reactive AI Agent Framework
A reactive AI agent framework for creating agents that use tools to perform tasks, with support for multiple LLM providers and MCP servers.
CODING DevOps
Interact with the CODING DevOps platform for managing projects and work items.
MCP Servers
A collection of reference implementations for the Model Context Protocol (MCP), demonstrating how to give LLMs secure access to tools and data using Typescript and Python SDKs.
Swagger/Postman MCP Server
Ingests and serves Swagger/OpenAPI specifications and Postman collections as MCP tools. Requires a config.json for API and authentication setup.