Skip to main content
Package and deploy an MCP server project to Alpic. The command collects source files, uploads them, and waits for the deployment to complete before printing the server URL.

Usage

Deploys the current directory. Prompts for any missing configuration (project name, runtime) if not already set.

Extended Usage

Skip all prompts (useful in CI):
Create and deploy a new project whose app root is a monorepo subdirectory (path is relative to the directory where you run the command):
--root-dir is passed through the same linking flow as alpic link: it only applies when this run creates a new Alpic project. For an already linked directory, the app root was set at link/create time. Import environment variables from a .env file when creating a new project:

Options

Project names can be renamed. For CI/CD pipelines, prefer --project-id to avoid breakage.
Authentication is required. Run alpic login or set ALPIC_API_KEY before deploying.