Command Overview
Station CLI (stn) provides commands for managing agents, MCP servers, and deployments.
Core Commands
stn init
Initialize Station configuration.
| Flag | Description |
|---|---|
--provider | AI provider (openai, gemini, custom) |
--model | AI model name |
--api-key | API key for provider |
--base-url | Custom API endpoint |
--yes, -y | Use defaults without prompts |
--ship | Enable Ship CLI integration |
--cloudship-key | CloudShip registration key |
stn serve
Start the Station server.
| Flag | Description |
|---|---|
--api-port | API server port (default: 8585) |
--mcp-port | MCP server port (default: 8586) |
--ssh-port | SSH server port (default: 2222) |
--database | Database file path |
--local | Force local mode |
--enable-telemetry | Enable OpenTelemetry |
stn up
Start Station in a Docker container.
| Flag | Description |
|---|---|
--workspace, -w | Workspace directory to mount |
--provider | AI provider for initialization |
--bundle | CloudShip bundle ID to install |
--upgrade | Rebuild container image |
--env, -e | Additional environment variables |
--develop | Enable Genkit Developer UI |
stn down
Stop the Station container.
| Flag | Description |
|---|---|
--remove-volume | Delete all data |
--remove-image | Remove Docker image |
--clean-mcp | Remove from .mcp.json |
Agent Commands
stn agent create
Create a new agent.
| Flag | Description |
|---|---|
--name | Agent name (required) |
--description | Agent description |
--env | Environment name |
--model | AI model override |
stn agent run
Execute an agent.
| Flag | Description |
|---|---|
--env | Environment name |
--variables | JSON input variables |
--stream | Stream output |
stn agent list
List all agents.
MCP Commands
stn mcp list
List MCP configurations.
stn mcp tools
List available MCP tools.
stn mcp status
Show MCP configuration status.
stn sync
Sync file-based configurations.
| Flag | Description |
|---|---|
--dry-run | Preview changes |
--verbose | Show detailed output |
Bundle Commands
stn bundle create
Create a bundle from an environment.
stn bundle install
Install a bundle.
- CloudShip bundle UUID
- URL to bundle file
- Local file path
stn bundle share
Upload a bundle to CloudShip.
Utility Commands
stn status
Show Station server status.
stn logs
Show container logs.
stn jaeger
Manage Jaeger telemetry.
stn config
Manage configuration.
Global Flags
These flags work with any command:| Flag | Description |
|---|---|
--config | Config file path |
--enable-telemetry | Enable OpenTelemetry |
--otel-endpoint | OTLP endpoint URL |
-h, --help | Show help |
-v, --version | Show version |
Examples
Quick start with OpenAI
Quick start with OpenAI
Start with Docker and bundle
Start with Docker and bundle
Run agent with custom input
Run agent with custom input
Enable tracing
Enable tracing

