Cerebro MCP
Officialby gnosischain
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MAX_ROWS | No | Maximum query result rows for internal execution. | 10000 |
| FASTMCP_HOST | No | Bind host for Streamable HTTP or SSE transport. | 0.0.0.0 |
| FASTMCP_PORT | No | Bind port for Streamable HTTP or SSE transport. | 8000 |
| DOCS_BASE_URL | No | Canonical documentation host used to derive llms.txt, llms-ctx*.txt, and page mirror URLs. | https://docs.analytics.gnosis.io/ |
| MCP_AUTH_TOKEN | No | Bearer token for /mcp, /sse, /messages/, /reports/*, and /app/*. It is also accepted as a token query parameter on supported routes. Empty disables authentication for local use only. | |
| CLICKHOUSE_HOST | No | ClickHouse server hostname. | ujt1j3jrk0.eu-central-1.aws.clickhouse.cloud |
| CLICKHOUSE_PORT | No | ClickHouse server port. | 8443 |
| CLICKHOUSE_USER | No | ClickHouse user. | default |
| DBT_CATALOG_URL | No | Remote dbt catalog source, taking precedence over DBT_CATALOG_PATH. Defaults to the published dbt-cerebro catalog URL. | |
| REPORT_BASE_URL | No | Public URL prefix used to build exported report links for remote clients. | |
| ASYNC_RESULT_DIR | No | Directory used for async query result storage. | .cerebro/query_results |
| DBT_CATALOG_PATH | No | Local filesystem fallback path for the dbt catalog. | |
| DBT_MANIFEST_URL | No | Remote dbt manifest source, taking precedence over DBT_MANIFEST_PATH. Defaults to the published dbt-cerebro manifest URL. | |
| MAX_QUERY_LENGTH | No | Maximum accepted SQL query length. | 10000 |
| REPORT_AUTO_OPEN | No | Automatically open rendered artifacts in the default browser for local stdio use only. | False |
| RPC_SCAN_ENABLED | No | Opt-in flag enabling the bulk RPC scan tools for on-chain forensics. | |
| SEMANTIC_ENABLED | No | Deployment-level switch enabling semantic tools and resources. | False |
| THINKING_LOG_DIR | No | Directory for reasoning trace logs. | .cerebro/logs |
| CLICKHOUSE_SECURE | No | Use TLS for the ClickHouse connection. | True |
| CLICKHOUSE_VERIFY | No | Verify ClickHouse TLS certificates. | True |
| CUSTOM_TOOLS_PATH | No | Path to the custom_tools.yaml configuration file. | |
| DBT_MANIFEST_PATH | No | Local filesystem fallback path for the dbt manifest. | |
| CEREBRO_REPORT_DIR | No | Report storage directory. Docker overrides this to /data/reports. | ~/.cerebro/reports |
| THINKING_ALWAYS_ON | No | Automatically capture tool calls in reasoning traces. | True |
| CLICKHOUSE_PASSWORD | Yes | ClickHouse password. ClickHouse credentials for the Gnosis analytics warehouse are a prerequisite. | |
| MIN_MODELS_DETAILED | No | Model detail explorations required before gated charting in the report tier. | 3 |
| MIN_TABLES_VERIFIED | No | Number of table schemas that must be verified before gated charting. | 1 |
| CEREBRO_RESEARCH_DIR | No | Durable research project storage root. Docker overrides this to /data/research_projects. | .cerebro/research_projects |
| CUSTOM_TOOLS_ENABLED | No | Enable YAML-defined parameterized query tools. | False |
| MCP_SECURITY_LOG_DIR | No | Directory for daily JSONL security audit logs. | .cerebro/security_audit |
| TOOL_RESULT_MAX_ROWS | No | Maximum rows returned to synchronous tool consumers. | 200 |
| DOCS_SEARCH_INDEX_URL | No | Remote external platform documentation search index. Defaults to the published docs search URL. | |
| GRAFANA_TOOLS_ENABLED | No | Opt-in flag enabling Grafana dashboard validation, publishing, and inspection tools; connection settings are also required. | |
| MCP_UI_INLINE_ENABLED | No | Attach MCP-UI resource metadata so compatible hosts can render native reports inline. | False |
| MIN_CHARTS_FOR_REPORT | No | Minimum number of registered charts required before report creation. | 3 |
| QUERY_TIMEOUT_SECONDS | No | Deprecated fallback query timeout in seconds. | 30 |
| SEMANTIC_REGISTRY_URL | No | Remote semantic registry source. Defaults to the published dbt-cerebro registry URL. | |
| TOOL_RESULT_MAX_CHARS | No | Maximum serialized synchronous tool payload size in characters. | 40000 |
| ASYNC_RESULT_PAGE_SIZE | No | Async query result preview page size. | 200 |
| DOCS_SEARCH_INDEX_PATH | No | Local filesystem fallback path for the documentation search index. | |
| METRICS_DASHBOARD_PATH | No | Absolute path to the metrics-dashboard repository root; needed when dashboard builder tools are enabled. | |
| RESEARCH_PAGE_SIZE_MAX | No | Maximum page size for research listings. | 100 |
| SEMANTIC_REGISTRY_PATH | No | Local filesystem fallback path for the semantic registry. | |
| MIN_EXPLORATORY_QUERIES | No | Minimum number of prior query executions required before report creation. | 2 |
| SEMANTIC_DOCS_INDEX_URL | No | Remote semantic documentation index source. Defaults to the published dbt-cerebro semantic docs URL. | |
| TOOL_RESPONSE_MAX_CHARS | No | Legacy fallback response-size limit used when TOOL_RESULT_MAX_CHARS is unset. | 40000 |
| MCP_SECURITY_POLICY_MODE | No | Security policy mode. The documented mode is observation-only log_only; warn and enforce are future modes. | log_only |
| MIN_MODELS_DETAILED_LITE | No | Model detail explorations required in chart and answer tiers. | 1 |
| REQUIRE_RELATIONAL_CHART | No | Require relational analysis in the report workflow. | True |
| SEMANTIC_DOCS_INDEX_PATH | No | Local filesystem fallback path for the semantic documentation index. | |
| CEREBRO_SAVED_QUERIES_DIR | No | Storage directory for saved SQL snippets. Docker overrides this to /data/saved-queries. | ~/.cerebro-mcp |
| DASHBOARD_BUILDER_ENABLED | No | Enable dashboard scaffolding tools. | False |
| GNOSIS_CHAIN_DOCS_LLM_URL | No | Gnosis Chain documentation context artifact used for search and broad chain context. | https://docs.gnosischain.com/llms.txt |
| STREAMABLE_HTTP_STATELESS | No | Disable per-request server sessions so any replica can serve any Streamable HTTP call. Set to False only for a single replica requiring persistent sessions. | True |
| TOOL_SUMMARY_BUDGET_RATIO | No | Fraction of the tool response budget reserved for summary_markdown. | 0.9 |
| CLICKHOUSE_CONNECT_TIMEOUT | No | ClickHouse connection timeout in seconds. | 30 |
| RESEARCH_PAGE_SIZE_DEFAULT | No | Default page size for research listings. | 20 |
| ENFORCE_CHART_PRECONDITIONS | No | Enable chart and report workflow gates. | True |
| THINKING_LOG_RETENTION_DAYS | No | Reasoning trace retention period in days. | 30 |
| CLICKHOUSE_AGENT_SKILLS_PATH | No | Root directory of the vendored ClickHouse rules bundle. | src/cerebro_mcp/static/clickhouse_agent_skills |
| MCP_EXPECTED_MANIFEST_SHA256 | No | Optional dbt manifest SHA-256 pin. Empty disables hash verification. | |
| DOCS_REFRESH_INTERVAL_SECONDS | No | Documentation index refresh interval in seconds. | 3600 |
| REPORT_REQUIRES_EXPLICIT_MODE | No | Block generate_report unless the request was routed with mode=report. | True |
| REQUIRE_DIMENSIONAL_BREAKDOWN | No | Require a dimensional breakdown in the report workflow. | True |
| STREAMABLE_HTTP_JSON_RESPONSE | No | Return plain JSON responses instead of SSE-framed streams for Streamable HTTP. | True |
| ALLOW_INSECURE_REMOTE_TRANSPORT | No | Allow HTTP or SSE transport to start without MCP_AUTH_TOKEN. Intended for local testing only. | False |
| CLICKHOUSE_SEND_RECEIVE_TIMEOUT | No | ClickHouse socket send/receive timeout in seconds. | 300 |
| CLICKHOUSE_QUERY_TIMEOUT_SECONDS | No | Server-side ClickHouse query execution timeout in seconds. | 30 |
| SEMANTIC_REFRESH_INTERVAL_SECONDS | No | Semantic snapshot refresh interval in seconds. | 300 |
| ASYNC_RESULT_MEMORY_THRESHOLD_BYTES | No | Memory threshold above which large async results are spilled to disk. | 5000000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
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 | |
This server cannot be deployed
Maintenance
ActivityStale
ResponsivenessNo recent community issues