Submit

🚀 MCPY-CLI: 快速从 Python 文件构建 MCP 服务

@liuhaotian9420

A cli tool to auto discover and build MCP service from Python files
Overview

What is MCPY-CLI?

MCPY-CLI is a command-line interface tool designed to simplify the development of MCP (Model Context Protocol) services from Python files.

How to use MCPY-CLI?

To use MCPY-CLI, install it via pip, and then run commands to create, run, or package your MCP services from Python scripts.

Key features of MCPY-CLI?

  • 📦 Quick packaging of Python functions into standard MCP services
  • 🚀 One-click deployment through command line
  • 🔄 Automatic routing based on file structure
  • 🌐 Flexible configuration supporting various transport protocols

Use cases of MCPY-CLI?

  1. Rapidly deploying machine learning models as services.
  2. Creating APIs for data processing tools.
  3. Simplifying the development of microservices architecture.

FAQ from MCPY-CLI?

  • Can MCPY-CLI handle multiple Python files?

Yes! MCPY-CLI can package and run multiple Python files as separate services.

  • Is MCPY-CLI free to use?

Yes! MCPY-CLI is open-source and free for everyone.

  • What are the system requirements for MCPY-CLI?

MCPY-CLI requires Python 3.10 or higher and the FastMCP library.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.