
mcpy-cli
by liuhaotian9420
Automate the creation of MCP servers from Python files with one-click deployment and auto-routing.
What it does
mcpy-cli is a developer tool designed to bridge the gap between Python scripts and the Model Context Protocol (MCP). It allows developers to automatically convert Python functions or entire scripts into standardized MCP servers without writing extensive boilerplate code. It simplifies the deployment process by providing a CLI to run servers locally or package them for production.
Tools
run: Deploys Python files as an MCP service on a specified port with support for auto-reload.package: Bundles a source directory into a deployable project folder including a start script.example: Quickly launches a pre-configured example MCP server to demonstrate capabilities.
Installation
Install via pip:
pip install mcpy-cli
To run a server from a local Python file:
mcpy-cli run --source-path path/to/your_tools.py
Supported hosts
Confirmed support for MCP-compatible clients via HTTP/SSE, including Claude Desktop (via inspector) and CherryStudio.
Quick install
pip install mcpy-cliInformation
- Pricing
- free
- Published
- 5/11/2026
- stars





