MCPデモ
このリポジトリには、MCPデモの最小バージョンが含まれています。このプロジェクトは、 qwen APIインターフェースを使用してMCPサービスとクライアントの基本機能をデモンストレーションするように設計されています。
特徴
軽量で最小限の実装。
uvを使用した依存関係の管理。qwenAPI との統合。
前提条件
このリポジトリを使用する前に、以下がインストールされていることを確認してください。
Python 3.10以上
uvパッケージマネージャー
セットアップ手順
リポジトリをクローンします。
git clone https://github.com/tatocode/MCP-Demo.git cd MCP-Demouvを使用して依存関係をインストールします。uv syncプロジェクトのルート ディレクトリに
.envファイルを作成し、API キーを追加します。API-KEY=xxxxxxxx``qwenAPI の実際の API キーに置き換えます。プロジェクトを実行します。
uv run main.py mcp_server.py
注記
プロジェクトを正しく実行するために、
.envファイルが必要です。API キーは公開しないでください。qwenAPI の詳細については、公式ドキュメントを参照してください。
ライセンス
このプロジェクトはMITライセンスの下で提供されています。詳細はLICENSEファイルをご覧ください。
貢献
貢献を歓迎します!このプロジェクトを改善するために、お気軽に問題を報告したり、プルリクエストを送信したりしてください。
This server cannot be installed
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.Last updated -32062Apache 2.0
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server implementation that provides EMQX MQTT broker interaction.Last updated -421Apache 2.0
- -securityAlicense-qualityA demonstration server that implements the Model Context Protocol (MCP) SDK, providing tools and endpoints for server-sent events and message handling.Last updated -17611MIT License
- Asecurity-licenseAqualityA simple demonstration project for the Model Control Protocol (MCP) server that provides tools for AI assistants to fetch news articles, perform calculations, retrieve weather data, and generate personalized greetings.Last updated -3MIT License