Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CUBE_PORT | No | Cube API port | 4000 |
| ADMIN_TOKEN | No | Bearer token for API/MCP authentication (optional, server is open if not set) | |
| CORS_ORIGIN | No | Allowed CORS origins | * |
| BONNARD_PORT | No | Bonnard server port | 3000 |
| CUBE_VERSION | No | Cube Docker image tag | v1.6 |
| CUBEJS_DB_HOST | No | Database host | |
| CUBEJS_DB_NAME | No | Database name | |
| CUBEJS_DB_PASS | No | Database password | |
| CUBEJS_DB_PORT | No | Database port | |
| CUBEJS_DB_TYPE | No | Database driver (postgres, duckdb, snowflake, bigquery, databricks, redshift, clickhouse) | duckdb |
| CUBEJS_DB_USER | No | Database user | |
| BONNARD_VERSION | No | Bonnard Docker image tag | latest |
| CUBEJS_API_SECRET | No | HS256 secret for Cube JWT auth (auto-generated by bon init) | |
| CUBEJS_DATASOURCES | No | Comma-separated list for multi-datasource setups | default |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |