mcp_publish
Publish MCP servers to PyPI or npm with dry-run and test-pypi options for safe releases.
Instructions
Publish an MCP server to PyPI (Python) or npm (Node).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | No | If True, publish to TestPyPI (Python only). | |
| dry_run | No | If True, do not actually upload (default: True for safety). | |
| registry | No | Optional npm registry URL (Node only). | |
| template | No | One of `python-fastmcp`, `node-mcp`, `go-mcp`. | python-fastmcp |
| project_dir | Yes | Path to the project root. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |