Skip to main content

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)

Source distribution for jewei-mcpcat 0.1.1
File Size Uploaded
jewei_mcpcat-0.1.1.tar.gz 22.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jewei-mcpcat 0.1.1
File Interpreter ABI Platform
jewei_mcpcat-0.1.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page