kuanhoong/mcp 是从 https://github.com/kuanhoong/mcp. 导入的 MCP 服务器候选
概览
kuanhoong/mcp 是从 https://github.com/kuanhoong/mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
本项目演示了模型上下文协议(MCP)在本地和远程服务器配置中使用 stdio 和 HTTP 协议的实现。演示使用 Agent Development Kit(ADK)网页界面构建。
概述
本项目展示了两个主要的MCP实施场景:
- 使用标准协议的本地服务器通信
- 使用HTTP协议进行远程服务器通信
演示利用代理开发工具包(ADK)网页界面来可视化并交互MCP实现。
特色
- 本地MCP服务器实现,采用stdio协议
- 使用 HTTP 协议实现远程 MCP 服务器
- 与ADK网页界面集成,用于测试和演示
- MCP服务器配置和使用模式示例
项目结构
server.py- 主服务器实现multiserver/- 包含MCP服务器组件的包agent.py- MCP 代理实现__init__.py- 包初始化
先修条件
- Python 3.x
- ADK 网页界面
- 必备的 Python 包(列于
pyproject.toml)
开始
- 克隆仓库
- 安装依赖关系
本页由 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 新手?先看 mcpskill.org 教程 →