Unofficial Python CLI for creating MCP servers for Smithery
Project description
create-smithery-python (Unofficial)
⚠️ Note: This is an unofficial community implementation. For official Smithery tools, please visit smithery.ai.
Create MCP servers for Smithery using Python and FastMCP.
Installation
You can run this tool directly with uvx (no installation needed):
uvx create-smithery-python-unofficial my-mcp-server
Or install it globally:
uv pip install create-smithery-python-unofficial
The command is still create-smithery-python for convenience:
create-smithery-python my-server
Usage
Create a new MCP server project:
# With a project name
create-smithery-python my-server
# Interactive mode (will prompt for name)
create-smithery-python
This will create a new directory with:
- A working FastMCP server (
main.py) - Dockerfile configured for Smithery deployment
smithery.yamlconfiguration- Basic project structure
What's Created
The generated project includes:
- FastMCP server with a sample
greettool - CORS middleware configured for Smithery
- Docker support using the official
uvPython image - Smithery configuration for container deployment
Next Steps
After creating your project:
-
Navigate to your project:
cd my-server
-
Install dependencies (if you have
uv):uv pip install -r pyproject.toml
-
Run the server locally:
python main.py -
Deploy to Smithery:
- Push your code to GitHub
- Connect your repository at smithery.ai/new
Requirements
- Python 3.9+
uv(recommended) orpip
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file create_smithery_python_unofficial-0.1.1.tar.gz.
File metadata
- Download URL: create_smithery_python_unofficial-0.1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb8d29f1add958d71f08e46489321e2d38605d1103300d91bf53cb9835e9de49
|
|
| MD5 |
467d5cc91c47aa34d7038a103f77219b
|
|
| BLAKE2b-256 |
12df6f77fe4c8c7bc4a60939636e9d304863e996bf39408c7f794e6132b54d6e
|
File details
Details for the file create_smithery_python_unofficial-0.1.1-py3-none-any.whl.
File metadata
- Download URL: create_smithery_python_unofficial-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3f4d67830c41879e0107826570d782904e89fca01c738127bdd6b7296f3a25d
|
|
| MD5 |
df1d0b69eefbb87226427de907b26521
|
|
| BLAKE2b-256 |
93ceb362de08cd5f01b39c2313a9d21ada56d5ef4290e079306860cb594af70d
|