deploy

Ship an MCP server to Manufact Cloud with a single command.

mcp-use deploy

Deploys 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

FlagDescription
--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=VALUESet 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.
--newForce creating a new server instead of redeploying the linked one.
--no-githubUpload local source as a tarball instead of deploying from GitHub.
--openOpen the deployment in the browser when it succeeds.
-y, --yesSkip 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 EU

Deploy without GitHub (local source upload):

mcp-use deploy --no-github --name my-server

Deploy a feature branch as a preview:

mcp-use deploy --branch feat/new-tools

After a successful deploy the CLI prints your server's MCP URL, see Connecting clients for what to do with it.

On this page