MCP cover image
See in Github
2025-04-07

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://suefel.com
  • Latest advice and best practices for custom GPT development.

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

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

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

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

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

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

  • 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
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • modelcontextprotocol
  • Serveurs de protocole de contexte modèle

  • Mintplex-Labs
  • L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.

  • n8n-io
  • Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.

  • ravitemer
  • Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.

  • jae-jae
  • MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.

  • patruff
  • Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle

    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!