MCP聚合平台 - 支持多种MCP协议的统一管理平台
Project description
MCPCat
一个用Python实现的MCP(Model Context Protocol)聚合平台,支持多种MCP协议的统一管理和运行。
功能特性
- 🚀 基于FastAPI构建的高性能Web服务
- 🔌 支持多种MCP协议:
- STDIO (默认,用于本地工具)
- Streamable HTTP (推荐用于Web服务)
- SSE (传统Web传输)
- 📊 统一的MCP服务管理界面
- 🛡️ 安全的服务隔离和权限控制
快速开始
安装依赖
pip install -r requirements.txt
运行服务
python main.py
或使用uvicorn:
uvicorn main:app --host 0.0.0.0 --port 8000 --reload
访问服务
- API文档: http://localhost:8000/docs
- 健康检查: http://localhost:8000/health
项目结构
mcpcat/
├── main.py # FastAPI应用入口
├── requirements.txt # Python依赖
├── README.md # 项目说明
├── .gitignore # Git忽略文件
├── .env.example # 环境变量示例
└── app/ # 应用代码目录
├── __init__.py
├── api/ # API路由
├── core/ # 核心功能
├── models/ # 数据模型
└── services/ # 业务服务
开发计划
- MCP协议支持
- 服务管理界面
- 配置管理
- 监控和日志
- 部署文档
相关资源
许可证
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jewei_mcpcat-0.1.1.tar.gz
(22.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jewei_mcpcat-0.1.1.tar.gz.
File metadata
- Download URL: jewei_mcpcat-0.1.1.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78d17c4632614dbe8df0e045f37b81a19700b4fd319d39f6e40ea75bb27efd6d
|
|
| MD5 |
aa041c0a1dd74aa95f729bc195fa60b5
|
|
| BLAKE2b-256 |
17133f31abefcc2b1e6e285e9a419e595e55f591e567c0b66114d31cce16a57d
|
File details
Details for the file jewei_mcpcat-0.1.1-py3-none-any.whl.
File metadata
- Download URL: jewei_mcpcat-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bf753dd431defc1ac2f5487fd24f993bed8d630fb886f6ed5692510a416bf2b
|
|
| MD5 |
6692dd94952f5b3b66b4f0d138def75c
|
|
| BLAKE2b-256 |
87fb727c5f9ca493772731f69132b8f4834a2b0a309e55d699db15c7c401cbf3
|