login

Authenticate with Manufact Cloud using the OAuth device flow or an API key.

mcp-use login

Runs the OAuth device flow: the CLI prints a verification URL and code, opens your browser, and waits for approval. After login it creates a persistent API key and, if you belong to multiple organizations, prompts you to pick the active one.

Credentials are stored in ~/.mcp-use/config.json. Cloud commands (deploy, servers, deployments, org) require authentication.

Flags

FlagDescription
--api-key <key>Skip the browser flow and save an API key directly, for CI. Also reads MCP_USE_API_KEY.
--org <slug|id|name>Select the active organization non-interactively.
--device-code <code>Use a pre-approved device code (used by web onboarding).

Example (CI)

Create a key on the API Keys page, then:

mcp-use login --api-key mcp_... --org my-org

On this page