Skip to main content
Deploy your TypeScript MCP server to Manufact Cloud when you want a hosted MCP URL, managed deployments, logs, metrics, preview environments, and client connection snippets. The mcp-use TypeScript SDK is the framework you use to build the server. Manufact Cloud is the hosted platform that deploys, monitors, and distributes it.

Prerequisites

  • A TypeScript MCP server built with mcp-use.
  • A Manufact Cloud account. Open Manufact login or log in from the CLI.
  • The mcp-use executable. Projects created with create-mcp-use-app include it. For other projects, install the CLI:
Log in before your first deploy:
For non-interactive flows (web onboarding, agents), use a pre-approved device code:
See the CLI reference for --api-key and --org options.

Deploy from your project

Run mcp-use deploy from the project directory:
By default, the CLI deploys from GitHub. It can help you connect the Manufact GitHub App and create a repository when needed. Use mcp-use deployments logs <id> --build --follow to follow the resulting build. After the first successful deploy, the CLI writes .mcp-use/cloud/link.json so later mcp-use deploy runs update the same cloud server. Use the Manufact CLI deploy reference for the complete flag list, including --branch, --root-dir, --region, --env, --env-file, --build-command, --start-command, and --dockerfile. For agents and CI, use --json for one machine-readable result. It never answers confirmations: add --yes to authorize GitHub repository creation and Git mutations, or use --no-github to select a managed source upload. Run mcp-use deploy --help for the complete offline contract and recovery commands.

Deploy without GitHub

You do not need a GitHub repository to deploy. Use --no-github to upload your local project source directly. The platform creates a managed repo and runs the normal build pipeline:
This path:
  • Works without a git remote or GitHub App installation.
  • Uploads your local source instead of deploying from your GitHub account.
  • Creates the server in a platform-managed repository.
  • Supports redeploys. Linked projects auto-detect the upload path, so --no-github is only required on the first deploy.
  • A linked GitHub server cannot be converted to managed source in place. Create a separate server with mcp-use deploy --no-github --new --yes.
  • JSON mode never opens a browser; use either --json or --open, not both.
You can later connect your own GitHub repository from the server dashboard if you want push-to-deploy.
Web onboarding uses this sequence for a fully non-interactive first deploy:

Deploy from GitHub

If your project is a GitHub repository, mcp-use deploy detects the repository, branch, and commit:
You’ll see:
This approach:
  • Deploys directly from your GitHub repository.
  • Automatically detects build and start commands for common MCP frameworks, including mcp-use TypeScript.
  • Uses the latest pushed commit from your branch.
  • Requires the mcp-use GitHub App to have access to the repository.

Monorepos & multiple apps

If you deploy several servers from the same repository, every push to that repo is evaluated against each connected server. By default a server redeploys on any push to its production branch, which in a monorepo means an unrelated change can rebuild an app you didn’t touch. Two per-server filters scope that down:
  • Watch paths (--watch-paths): globs matched against the push’s changed files. The server only auto-deploys when a changed file matches. Empty (the default) means any change triggers a deploy.
  • Branch allow list (--deploy-branches): globs of branches (besides the production branch) that are allowed to trigger auto-deploys. The production branch always deploys; an empty list allows all branches.
Watch paths and branch patterns are also editable from the dashboard — see Deployments and Server settings.

Branch URLs and sessions

  • The production branch serves the canonical URL https://<slug>.deploy.mcp-use.com/mcp. Pushing to it swaps the running container, so live MCP sessions on the canonical URL receive mcp_session_terminated and clients reconnect.
  • Every other branch gets its own stable preview URL https://<slug>--br-<branch>.deploy.mcp-use.com/mcp, so you can test changes against real clients before merging. Preview deployments require the Hobby plan or higher.
mcp-use servers update --branch <name> changes which branch is the production branch after creation. For cloud-side setup, see the Manufact docs for creating servers, deployments, and build runtimes.

After deployment

After deployment, the CLI prints the hosted MCP URL. Use that URL with any remote MCP-compatible client:
The Manufact dashboard also shows your deployment status, build logs, runtime logs, environment variables, analytics, observability traces, and client connection snippets.

Client configuration

Use the hosted MCP URL in clients that support remote MCP servers:
You can also connect from the mcp-use TypeScript SDK:
See Connecting clients for one-click setup and generated configuration for Cursor, VS Code, Claude, Gemini CLI, Codex CLI, and the TypeScript and Python SDKs.

Test locally first

Before deploying, build and run your server locally:
For interactive local testing, use the Inspector with the dev server:

Cloud operations

Manufact Cloud owns the hosted deployment lifecycle. Use these pages for current cloud behavior:

Creating servers

Import from GitHub, start from a template, build with an agent, or connect an existing MCP server.

Deployments

Manage automatic deploys, preview environments, manual redeploys, build logs, and deployment history.

Build and runtimes

See how Manufact detects Node.js, Python, package managers, pnpm versions, and Dockerfile builds.

Environment variables

Configure production and preview secrets, import .env files, and redeploy after changes.

Domains

Use a generated gateway URL or attach a custom domain.

Runtime logs

Stream stdout and stderr from the active deployment.

Observability

Inspect live requests, traces, sessions, payload capture, and performance metrics.

Connecting clients

Generate client configuration and connect your hosted MCP server to editors, CLIs, Claude, and SDK clients.

Next steps