deploy

Deploy from GitHub, upload local source, or register an already-hosted MCP URL.

Deploy from GitHub, upload local source, or register an already-hosted MCP URL.

mcp-use deploy [path] [options]

Options

--no-github uploads local source. --external-url <url> registers a hosted endpoint. --new creates another server. Use --name, --branch, --root-dir, --build-command, --start-command, --dockerfile, and --region as needed. Repeat --env KEY=VALUE or use --env-file <path>. --no-wait returns early; --open opens the dashboard from a terminal.

Behavior

Deployment waits by default and shows a spinner while Cloud deploys. The final receipt includes the deployment ID, elapsed command time, source branch and commit, MCP URL, and dashboard link when available. A project link is stored in .manufact/project.json. Cloud deployment works with any MCP framework. Deploy-time variables use production scope on the saved production branch, otherwise a preview override for the deployed branch.

Run mcp-use deploy --help for the complete flag list.

If the project is not linked, deploy creates a server and saves its link automatically; a separate link command is not required. --new creates another server instead of reusing the link. GitHub deployment uses the pushed branch: declining the commit-and-push prompt continues with the remote code.

If a request times out, retain any returned server or deployment ID and inspect its status before retrying; a timeout does not establish that creation failed.

Example

mcp-use deploy --name weather
mcp-use deploy --no-github --name weather
mcp-use deploy --external-url https://example.com/mcp --name weather

On this page