Skip to main content
Glama

UUID MCPプロバイダー

LLM によって呼び出されるたびにタイムスタンプベースの UUID を提供するシンプルなモデル コンテキスト プロトコル (MCP) サーバー。

特徴

  • 単一のツールを提供する: generateUuid

  • タイムスタンプベースの一意の識別子として UUID v7 を使用します

  • 入力パラメータを必要としないシンプルなインターフェース

  • Claudeや他のLLMとの簡単な統合

インストール

# Install dependencies npm install # Build the project npm run build

使用法

サーバーを直接実行できます:

npm start

Claude Desktopとの統合

Claude Desktop と統合するには、Claude Desktop 構成ファイルに以下を追加します。

  • 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"] } } }

/absolute/path/to/uuid-mcp/build/index.jsを、ビルドした index.js ファイルへの絶対パスに置き換えます。

設定を更新した後、Claude Desktop を再起動して、UUID 生成ツールが利用可能であることを確認します。

仕組み

このサーバーは、公式のuuidパッケージを使用してUUID v7識別子を生成します。UUID v7は、タイムスタンプベースでありながら、強力な一意性保証を維持するように設計されています。

  • ミリ秒精度のUnixタイムスタンプを組み込む

  • 同じミリ秒内に複数のIDが生成された場合でも一意性を確保するためにランダム化されたデータを追加します。

  • UUID生成の最新のRFC標準に準拠

  • 時系列順に並べ替え可能な識別子を提供する

  • 分散システムにおける衝突を防ぐ

このアプローチはカスタム UUID 実装よりも信頼性が高く、高負荷時でも重複の可能性を排除します。

依存関係

  • @modelcontextprotocol/sdk : MCPサーバーの実装用

  • uuid : RFC準拠のUUID生成用

  • TypeScriptと開発関連ツール

呼び出されると、ツールは次のような UUID v7 文字列を返します。

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

UUID の最初の部分にはタイムスタンプが含まれており、標準の UUID 形式を維持しながらこれらの識別子を時系列で並べ替えることができます。

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    A Model Context Protocol server that provides LLM Agents with a comprehensive toolset for IP geolocation, network diagnostics, system monitoring, cryptographic operations, and QR code generation.
    Last updated -
    16
    19
    15
    Apache 2.0
  • A
    security
    A
    license
    A
    quality
    A Model Context Protocol server that enables LLMs to read, search, and analyze code files with advanced caching and real-time file watching capabilities.
    Last updated -
    6
    11
    34
    MIT License
    • Linux
    • Apple
  • -
    security
    F
    license
    -
    quality
    A Model Context Protocol server that enables LLMs to extract and use content from unstructured documents across a wide variety of file formats.
    Last updated -
    6
    • Apple
  • A
    security
    A
    license
    A
    quality
    A simple Model Context Protocol server that provides timestamp-based UUID v7 identifiers when called by an LLM, offering chronologically sortable unique IDs with no input parameters needed.
    Last updated -
    1
    210
    MIT License
    • Apple

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tanker327/uuid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server