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.0.tar.gz
(82.2 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.0.tar.gz.
File metadata
- Download URL: jewei_mcpcat-0.1.0.tar.gz
- Upload date:
- Size: 82.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dde6e3b935e902baf84f281f4e0d9506f85530303dce10cfd1ee9f36905634f7
|
|
| MD5 |
03fdd446eaf21ee24f6843531ef449fd
|
|
| BLAKE2b-256 |
3aff9233a779785bc5dc62fff838ecd106cf809041a4124e1574ead8f94a68e7
|
File details
Details for the file jewei_mcpcat-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jewei_mcpcat-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0d9d0e5847ced8a0894068ea1e98f2b490b8d157f1d1b0c7dede3f8675ce95c
|
|
| MD5 |
7ea3cf92b7630c7bd2e645437409aac0
|
|
| BLAKE2b-256 |
e8df8421e40f14d2f019da3680efc9ba207e404f7e6d644d380026974593775e
|