Manufact CLI

Deploy and manage MCP servers from the command line with @mcp-use/cli.

An MCP company, writing CLI docs

We live and breathe MCP. Still, we'll admit it: sometimes you just want a terminal. The CLI is for local development, scripted deploys, and running agents on your machine before they graduate to MCP.

@mcp-use/cli is the command-line companion to Manufact Cloud and the mcp-use framework: build and run MCP servers locally, deploy them to Manufact Cloud, and manage servers, deployments, and environment variables without leaving the terminal.

Installation

No install needed, the mcp-use package forwards to the CLI, so you can run commands directly:

npx mcp-use <command>

For frequent use, install the CLI globally:

npm install -g @mcp-use/cli

Both expose the same mcp-use binary; if your project already depends on mcp-use, the command is available in your scripts as-is. Requires Node.js ^20.19.0 or >=22.12.0.

Quick tour

# Authenticate with Manufact Cloud
mcp-use login

# Run your MCP server locally with hot reload + inspector
mcp-use dev

# Deploy it to Manufact Cloud
mcp-use deploy

# Watch it run
mcp-use deployments logs <deployment-id> --follow

Command reference

Each command has its own page in the sidebar, grouped by area. Start with login for cloud commands, or dev for local development.

Configuration

The CLI stores its state under ~/.mcp-use/:

FilePurpose
~/.mcp-use/config.jsonAPI key and active organization (written by login and org switch)
~/.mcp-use/cli-sessions.jsonServers saved with client connect
.mcp-use/project.jsonPer-project link to its cloud server and deployment (written by deploy)

A .env file in the current directory is loaded automatically on every command.

Environment variables

VariablePurposeDefault
MCP_USE_API_KEYAPI key for non-interactive login (CI)-
MCP_API_URLManufact Cloud API basehttps://cloud.mcp-use.com/api/v1
MCP_WEB_URLWeb app used for the device login flowhttps://manufact.com
PORTPort for mcp-use start when --port isn't passed3000

On this page