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
Metadata
Release files for jewei-mcpcat 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jewei_mcpcat-0.1.1.tar.gz | 22.8 kB | Without provenance | Details for jewei_mcpcat-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jewei_mcpcat-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for jewei_mcpcat-0.1.1-py3-none-any.whl |
Total release size: 37.7 kB
Release files / jewei_mcpcat-0.1.1.tar.gz
| Download URL | jewei_mcpcat-0.1.1.tar.gz |
|---|---|
| Size | 22.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78d17c4632614dbe8df0e045f37b81a19700b4fd319d39f6e40ea75bb27efd6d
|
|
BLAKE2b-256 checksum How to use checksums |
17133f31abefcc2b1e6e285e9a419e595e55f591e567c0b66114d31cce16a57d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / jewei_mcpcat-0.1.1-py3-none-any.whl
| Download URL | jewei_mcpcat-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8bf753dd431defc1ac2f5487fd24f993bed8d630fb886f6ed5692510a416bf2b
|
|
BLAKE2b-256 checksum How to use checksums |
87fb727c5f9ca493772731f69132b8f4834a2b0a309e55d699db15c7c401cbf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Security for jewei-mcpcat 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.