
kuanhoong/mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
kuanhoong/mcp は [https://github.com/kuanhoong/mcp. からインポートされた MCP サーバーの候補です
概要
kuanhoong/mcp は [https://github.com/kuanhoong/mcp. からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
このプロジェクトでは、 stdio および HTTP プロトコルを使用して、ローカルおよびリモート・サーバーの構成のモデル・コンテキスト・プロトコル (MCP) の実装を示します。 デモは、エージェント開発キット(ADK)ウェブインターフェースを使用して構築されます。
概要
このプロジェクトでは、2つの主要なMCPの実装シナリオを紹介します。
- stdioプロトコルを用いたローカルサーバ通信
- HTTPプロトコルを使用したリモートサーバ通信
デモは、Agent Development Kit (ADK) Web インターフェイスを利用して、MCP の実装を視覚化し、やり取りします。
##特徴
- stdioプロトコルを使用したローカルMCPサーバーの実装
- HTTPプロトコルを使用したリモートMCPサーバーの実装
- テストおよびデモのためのADKのWebインターフェイスとの統合
- MCPサーバの設定や利用パターンの例
プロジェクト構成
- [
server.py- メインサーバの実装 - [
multiserver/- MCP サーバーコンポーネントを含むパッケージ - [
agent.py- MCP のエージェント実装 - [
__init__.py- パッケージの初期化
前提条件
- Python 3.xの
- ADKの網インターフェイス
- 必須のPythonパッケージ([[T4]にリスト)
はじめる
- リポジトリのクローン化
- 依存関係のインストール
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
MCP (Model Context Protocol) Demo
This project demonstrates the implementation of Model Context Protocol (MCP) for both local and remote server configurations using stdio and HTTP protocols. The demonstration is built using the Agent Development Kit (ADK) web interface.
Overview
This project showcases two main MCP implementation scenarios:
- Local server communication using stdio protocol
- Remote server communication using HTTP protocol
The demonstration utilizes the Agent Development Kit (ADK) web interface to visualize and interact with the MCP implementations.
Features
- Local MCP server implementation using stdio protocol
- Remote MCP server implementation using HTTP protocol
- Integration with ADK web interface for testing and demonstration
- Example of MCP server configurations and usage patterns
Project Structure
server.py- Main server implementationmultiserver/- Package containing MCP server componentsagent.py- Agent implementation for MCP__init__.py- Package initialization
Prerequisites
- Python 3.x
- ADK web interface
- Required Python packages (listed in
pyproject.toml)
Getting Started
- Clone the repository
- Install dependencies
- Run the MCP server and ADK web interface as described below
Running the Application
Starting the MCP Server
To run the MCP server in HTTP mode:
uv run server.py http
Starting the ADK Web Interface
To launch the Agent Development Kit (ADK) web interface:
uv run adk web
Once both servers are running, you can use the ADK web interface to interact with the MCP server and test different protocols (stdio and HTTP).
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →