
mcp generate uuid server
用于生成UUID的MCP服务器实现,采用D语言编写。
Repository Info
About This Server
用于生成UUID的MCP服务器实现,采用D语言编写。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP Generate UUID Server
このプロジェクトは、UUIDを生成するためのMCPサーバー(サンプル実装)です。D言語および mcp パッケージライブラリを使用して構築されています。
https://github.com/gtnoble/mcp-d
機能
generate_uuidツールを提供し、指定された数のUUIDを生成します。- デフォルトでは1つのUUIDを生成しますが、最大100個まで生成可能です。
!Claude Desktopの実行結果
ローカル実行手順
-
ローカルパッケージとしてプロジェクトを追加します。
dub add-local . -
サーバーを実行します。
dub run -q mcp-generate-uuid-server
MCPサーバーとしての設定手順
dub run コマンドで実行できるように設定します。
-q オプションは、dub run コマンドの余計な出力を抑えるために使用します。
Claude Desktopの設定
Claude Desktopを使用している場合、以下のように設定を行います。
{
"mcpServers": {
"generate-uuid-server": {
"command": "dub",
"args": [
"run",
"mcp-generate-uuid-server",
"-q"
]
}
}
}
Github Copilotの設定
Github Copilotを使用している場合、以下のように設定を行います。
{
"mcp": {
"inputs": [],
"servers": {
"generate-uuid-server": {
"command": "dub",
"args": [
"run",
"mcp-generate-uuid-server",
"-q"
],
"env": {}
}
}
}
}
MCPプロジェクトの作成手順
このプロジェクトと同様のMCPプロジェクトを作成するには、以下のような手順を行います。
-
DUBを使用して新しいプロジェクトを作成します。
dub init mcp-generate-uuid-server -
必要な依存関係を追加します。
dub.sdlファイルに以下の依存関係を追加してください。(dub add mcpコマンドを使用しても追加できます。)dependency "mcp" version="~>1.0.0" -
プロジェクトのコードを
source/app.dに記述します。addToolメソッドを使用して、UUID生成ツールを追加します。- ツール名を指定します
- ツールの説明を追加します
- ツール呼び出しのスキーマを定義します
- ツールの実行ロジックを実装します(
JSONValueを受け取り、JSONValueを返すメソッドです)
Quick Start
Clone the repository
git clone https://github.com/lempiji/mcp-generate-uuid-serverInstall dependencies
cd mcp-generate-uuid-server
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.