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

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jewei_mcpcat-0.1.1-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

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

Hashes for jewei_mcpcat-0.1.1.tar.gz
Algorithm Hash digest
SHA256 78d17c4632614dbe8df0e045f37b81a19700b4fd319d39f6e40ea75bb27efd6d
MD5 aa041c0a1dd74aa95f729bc195fa60b5
BLAKE2b-256 17133f31abefcc2b1e6e285e9a419e595e55f591e567c0b66114d31cce16a57d

See more details on using hashes here.

File details

Details for the file jewei_mcpcat-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jewei_mcpcat-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8bf753dd431defc1ac2f5487fd24f993bed8d630fb886f6ed5692510a416bf2b
MD5 6692dd94952f5b3b66b4f0d138def75c
BLAKE2b-256 87fb727c5f9ca493772731f69132b8f4834a2b0a309e55d699db15c7c401cbf3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page