KM

kuanhoong/mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

12 stars 8 forks 品質 29 トレンド 8

kuanhoong/mcp は [https://github.com/kuanhoong/mcp. からインポートされた MCP サーバーの候補です

概要

kuanhoong/mcp は [https://github.com/kuanhoong/mcp. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

このプロジェクトでは、 stdio および HTTP プロトコルを使用して、ローカルおよびリモート・サーバーの構成のモデル・コンテキスト・プロトコル (MCP) の実装を示します。 デモは、エージェント開発キット(ADK)ウェブインターフェースを使用して構築されます。

概要

このプロジェクトでは、2つの主要なMCPの実装シナリオを紹介します。

  1. stdioプロトコルを用いたローカルサーバ通信
  2. 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]にリスト)

はじめる

  1. リポジトリのクローン化
  2. 依存関係のインストール

このページは 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:

  1. Local server communication using stdio protocol
  2. 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 implementation
  • multiserver/ - Package containing MCP server components
    • agent.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

  1. Clone the repository
  2. Install dependencies
  3. 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).

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →