UUID MCPプロバイダー
LLM によって呼び出されるたびにタイムスタンプベースの UUID を提供するシンプルなモデル コンテキスト プロトコル (MCP) サーバー。
特徴
単一のツールを提供する:
generateUuidタイムスタンプベースの一意の識別子として UUID v7 を使用します
入力パラメータを必要としないシンプルなインターフェース
Claudeや他のLLMとの簡単な統合
インストール
使用法
サーバーを直接実行できます:
Claude Desktopとの統合
Claude Desktop と統合するには、Claude Desktop 構成ファイルに以下を追加します。
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
/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 文字列を返します。
UUID の最初の部分にはタイムスタンプが含まれており、標準の UUID 形式を維持しながらこれらの識別子を時系列で並べ替えることができます。
Related MCP Servers
- AsecurityAlicenseAqualityA 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 -161915Apache 2.0
- AsecurityAlicenseAqualityA 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 -61134MIT License
- -securityFlicense-qualityA 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
- AsecurityAlicenseAqualityA 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 -1210MIT License