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 を返すメソッドです)

相关推荐

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

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

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

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

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

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

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

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

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

  • ravitemer
  • Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • patruff
  • Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • chongdashu
  • Habilite clientes asistentes de IA como Cursor, Windsurf y Claude Desktop para controlar el motor irreal a través del lenguaje natural utilizando el Protocolo de contexto del modelo (MCP).

  • wgpsec
  • 一款基于各大企业信息 API 的工具 , 解决在遇到的各种针对国内企业信息收集难题。一键收集控股公司 解决在遇到的各种针对国内企业信息收集难题。一键收集控股公司 ICP 备案、 Aplicación 、小程序、微信公众号等信息聚合导出。支持 MCP 接入

    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!