Overview
The Alpic CLI lets you deploy MCP servers to Alpic from the terminal. Use it to deploy with a single command, create or link projects on first run, and integrate deployments into scripts or CI/CD. Authentication is API key only. Install the CLI globally; npx is also usable if you prefer not to install.Getting started
Run the CLI
Install the CLI globally, then runalpic from anywhere:
npx alpic <command>.
Authentication
The CLI requires an API key. Set theALPIC_API_KEY environment variable before running any command.
Get your API key
In the Alpic dashboard, open your team and go to API Keys in the sidebar. Click New API key, name it, and copy the key.
Deploy
Deploy your project to Alpic from the current directory or a given path.Usage
First-time deploy
If the directory is not yet linked to an Alpic project, the CLI will prompt you to:- Create a new project — Choose a name, runtime (Node.js 24/22, Python 3.14/3.13), and optional root directory. The project and its Production environment are created and linked.
- Link to an existing project — Select a project and environment from your team.
.alpic/project.json. Future deploys from that directory reuse this config.
What gets deployed
The CLI uses git to determine which files to pack: tracked and untracked files, excluding ignored ones. If the directory is not a git repo, it temporarily runsgit init to collect files. Git must be installed.
After packing, the CLI uploads a tarball, triggers the deployment, and waits for it to complete (up to 15 minutes). On success, it prints the MCP server URL(s) and elapsed time.
Example output
Telemetry
The CLI collects anonymous, opt-out telemetry to improve the product. No personal or project data is sent. Telemetry is on by default.| Command | Description |
|---|---|
alpic telemetry enable | Enable telemetry (default). |
alpic telemetry disable | Disable telemetry. |
alpic telemetry status | Show whether telemetry is enabled or disabled. |
Next steps
Alpic API
Use the REST API for programmatic access to projects, environments, and
deployments.