deploy
Ship an MCP server to Manufact Cloud with a single command.
mcp-use deployDeploys the current project to Manufact Cloud. By default the CLI deploys from GitHub: it can guide you through connecting the GitHub App and creating a repository if needed, then streams the build logs live. The project is linked to its cloud server through .mcp-use/project.json, so subsequent mcp-use deploy runs redeploy the same server.
Flags
| Flag | Description |
|---|---|
--name <name> | Name for the server. |
--org <slug-or-id> | Target organization. |
--branch <name> | Branch to deploy (non-production branches create preview environments). |
--root-dir <path> | Subdirectory containing the server, for monorepos. |
--port <port> | Port your server listens on (default 3000). |
--runtime <runtime> | node or python, auto-detected by default. |
--region <region> | US, EU, or APAC. |
--env KEY=VALUE | Set environment variable values (repeatable). |
--env-file <path> | Load environment variables from a file. |
--build-command <cmd> | Override the build command. |
--start-command <cmd> | Override the start command. |
--new | Force creating a new server instead of redeploying the linked one. |
--no-github | Upload local source as a tarball instead of deploying from GitHub. |
--open | Open the deployment in the browser when it succeeds. |
-y, --yes | Skip confirmation prompts. |
Examples
Deploy the current repository, setting a couple of secrets:
mcp-use deploy --env OPENAI_API_KEY=sk-... --env DB_URL=postgres://...Deploy a monorepo package to the EU region:
mcp-use deploy --root-dir packages/my-server --region EUDeploy without GitHub (local source upload):
mcp-use deploy --no-github --name my-serverDeploy a feature branch as a preview:
mcp-use deploy --branch feat/new-toolsAfter a successful deploy the CLI prints your server's MCP URL, see Connecting clients for what to do with it.