Cover image
Try Now
2025-04-07

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

MCP Generate UUID Server

このプロジェクトは、UUIDを生成するためのMCPサーバー(サンプル実装)です。D言語および mcp パッケージライブラリを使用して構築されています。

https://github.com/gtnoble/mcp-d

機能

  • generate_uuid ツールを提供し、指定された数のUUIDを生成します。
  • デフォルトでは1つのUUIDを生成しますが、最大100個まで生成可能です。

Claude Desktopの実行結果

ローカル実行手順

  1. ローカルパッケージとしてプロジェクトを追加します。

    dub add-local .
    
  2. サーバーを実行します。

    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プロジェクトを作成するには、以下のような手順を行います。

  1. DUBを使用して新しいプロジェクトを作成します。

    dub init mcp-generate-uuid-server
    
  2. 必要な依存関係を追加します。 dub.sdl ファイルに以下の依存関係を追加してください。(dub add mcp コマンドを使用しても追加できます。)

    dependency "mcp" version="~>1.0.0"
    
  3. プロジェクトのコードを source/app.d に記述します。

    • addTool メソッドを使用して、UUID生成ツールを追加します。
      • ツール名を指定します
      • ツールの説明を追加します
      • ツール呼び出しのスキーマを定義します
      • ツールの実行ロジックを実装します(JSONValue を受け取り、JSONValue を返すメソッドです)

相关推荐

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

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

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

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

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

  • 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.

  • 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.

  • 林乔安妮
  • A fashion stylist GPT offering outfit suggestions for various scenarios.

  • 田中 楓太
  • A virtual science instructor for engaging and informative lessons.

  • 1Panel-dev
  • 💬 MaxKB is a ready-to-use AI chatbot that integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities.

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

  • open-webui
  • User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

  • GLips
  • MCP server to provide Figma layout information to AI coding agents like Cursor

  • adafruit
  • Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black.

  • Dhravya
  • Collection of apple-native tools for the model context protocol.

  • open-webui
  • A simple, secure MCP-to-OpenAPI proxy server

    Reviews

    5 (1)
    Avatar
    user_Xpqd9GM6
    2025-04-17

    I've been using the mcp-generate-uuid-server by lempiji, and it has been a game-changer for my projects! The server is incredibly reliable and generates UUIDs efficiently. The documentation provided on the GitHub page is clear and easy to follow, making setup a breeze. Highly recommended for anyone needing a robust solution for UUID generation. Great job, lempiji!