Skip to main content
Glama
Cerebro MCP

Cerebro MCP

Official
by gnosischain

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAX_ROWSNoMaximum query result rows for internal execution.10000
FASTMCP_HOSTNoBind host for Streamable HTTP or SSE transport.0.0.0.0
FASTMCP_PORTNoBind port for Streamable HTTP or SSE transport.8000
DOCS_BASE_URLNoCanonical documentation host used to derive llms.txt, llms-ctx*.txt, and page mirror URLs.https://docs.analytics.gnosis.io/
MCP_AUTH_TOKENNoBearer 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_HOSTNoClickHouse server hostname.ujt1j3jrk0.eu-central-1.aws.clickhouse.cloud
CLICKHOUSE_PORTNoClickHouse server port.8443
CLICKHOUSE_USERNoClickHouse user.default
DBT_CATALOG_URLNoRemote dbt catalog source, taking precedence over DBT_CATALOG_PATH. Defaults to the published dbt-cerebro catalog URL.
REPORT_BASE_URLNoPublic URL prefix used to build exported report links for remote clients.
ASYNC_RESULT_DIRNoDirectory used for async query result storage..cerebro/query_results
DBT_CATALOG_PATHNoLocal filesystem fallback path for the dbt catalog.
DBT_MANIFEST_URLNoRemote dbt manifest source, taking precedence over DBT_MANIFEST_PATH. Defaults to the published dbt-cerebro manifest URL.
MAX_QUERY_LENGTHNoMaximum accepted SQL query length.10000
REPORT_AUTO_OPENNoAutomatically open rendered artifacts in the default browser for local stdio use only.False
RPC_SCAN_ENABLEDNoOpt-in flag enabling the bulk RPC scan tools for on-chain forensics.
SEMANTIC_ENABLEDNoDeployment-level switch enabling semantic tools and resources.False
THINKING_LOG_DIRNoDirectory for reasoning trace logs..cerebro/logs
CLICKHOUSE_SECURENoUse TLS for the ClickHouse connection.True
CLICKHOUSE_VERIFYNoVerify ClickHouse TLS certificates.True
CUSTOM_TOOLS_PATHNoPath to the custom_tools.yaml configuration file.
DBT_MANIFEST_PATHNoLocal filesystem fallback path for the dbt manifest.
CEREBRO_REPORT_DIRNoReport storage directory. Docker overrides this to /data/reports.~/.cerebro/reports
THINKING_ALWAYS_ONNoAutomatically capture tool calls in reasoning traces.True
CLICKHOUSE_PASSWORDYesClickHouse password. ClickHouse credentials for the Gnosis analytics warehouse are a prerequisite.
MIN_MODELS_DETAILEDNoModel detail explorations required before gated charting in the report tier.3
MIN_TABLES_VERIFIEDNoNumber of table schemas that must be verified before gated charting.1
CEREBRO_RESEARCH_DIRNoDurable research project storage root. Docker overrides this to /data/research_projects..cerebro/research_projects
CUSTOM_TOOLS_ENABLEDNoEnable YAML-defined parameterized query tools.False
MCP_SECURITY_LOG_DIRNoDirectory for daily JSONL security audit logs..cerebro/security_audit
TOOL_RESULT_MAX_ROWSNoMaximum rows returned to synchronous tool consumers.200
DOCS_SEARCH_INDEX_URLNoRemote external platform documentation search index. Defaults to the published docs search URL.
GRAFANA_TOOLS_ENABLEDNoOpt-in flag enabling Grafana dashboard validation, publishing, and inspection tools; connection settings are also required.
MCP_UI_INLINE_ENABLEDNoAttach MCP-UI resource metadata so compatible hosts can render native reports inline.False
MIN_CHARTS_FOR_REPORTNoMinimum number of registered charts required before report creation.3
QUERY_TIMEOUT_SECONDSNoDeprecated fallback query timeout in seconds.30
SEMANTIC_REGISTRY_URLNoRemote semantic registry source. Defaults to the published dbt-cerebro registry URL.
TOOL_RESULT_MAX_CHARSNoMaximum serialized synchronous tool payload size in characters.40000
ASYNC_RESULT_PAGE_SIZENoAsync query result preview page size.200
DOCS_SEARCH_INDEX_PATHNoLocal filesystem fallback path for the documentation search index.
METRICS_DASHBOARD_PATHNoAbsolute path to the metrics-dashboard repository root; needed when dashboard builder tools are enabled.
RESEARCH_PAGE_SIZE_MAXNoMaximum page size for research listings.100
SEMANTIC_REGISTRY_PATHNoLocal filesystem fallback path for the semantic registry.
MIN_EXPLORATORY_QUERIESNoMinimum number of prior query executions required before report creation.2
SEMANTIC_DOCS_INDEX_URLNoRemote semantic documentation index source. Defaults to the published dbt-cerebro semantic docs URL.
TOOL_RESPONSE_MAX_CHARSNoLegacy fallback response-size limit used when TOOL_RESULT_MAX_CHARS is unset.40000
MCP_SECURITY_POLICY_MODENoSecurity policy mode. The documented mode is observation-only log_only; warn and enforce are future modes.log_only
MIN_MODELS_DETAILED_LITENoModel detail explorations required in chart and answer tiers.1
REQUIRE_RELATIONAL_CHARTNoRequire relational analysis in the report workflow.True
SEMANTIC_DOCS_INDEX_PATHNoLocal filesystem fallback path for the semantic documentation index.
CEREBRO_SAVED_QUERIES_DIRNoStorage directory for saved SQL snippets. Docker overrides this to /data/saved-queries.~/.cerebro-mcp
DASHBOARD_BUILDER_ENABLEDNoEnable dashboard scaffolding tools.False
GNOSIS_CHAIN_DOCS_LLM_URLNoGnosis Chain documentation context artifact used for search and broad chain context.https://docs.gnosischain.com/llms.txt
STREAMABLE_HTTP_STATELESSNoDisable 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_RATIONoFraction of the tool response budget reserved for summary_markdown.0.9
CLICKHOUSE_CONNECT_TIMEOUTNoClickHouse connection timeout in seconds.30
RESEARCH_PAGE_SIZE_DEFAULTNoDefault page size for research listings.20
ENFORCE_CHART_PRECONDITIONSNoEnable chart and report workflow gates.True
THINKING_LOG_RETENTION_DAYSNoReasoning trace retention period in days.30
CLICKHOUSE_AGENT_SKILLS_PATHNoRoot directory of the vendored ClickHouse rules bundle.src/cerebro_mcp/static/clickhouse_agent_skills
MCP_EXPECTED_MANIFEST_SHA256NoOptional dbt manifest SHA-256 pin. Empty disables hash verification.
DOCS_REFRESH_INTERVAL_SECONDSNoDocumentation index refresh interval in seconds.3600
REPORT_REQUIRES_EXPLICIT_MODENoBlock generate_report unless the request was routed with mode=report.True
REQUIRE_DIMENSIONAL_BREAKDOWNNoRequire a dimensional breakdown in the report workflow.True
STREAMABLE_HTTP_JSON_RESPONSENoReturn plain JSON responses instead of SSE-framed streams for Streamable HTTP.True
ALLOW_INSECURE_REMOTE_TRANSPORTNoAllow HTTP or SSE transport to start without MCP_AUTH_TOKEN. Intended for local testing only.False
CLICKHOUSE_SEND_RECEIVE_TIMEOUTNoClickHouse socket send/receive timeout in seconds.300
CLICKHOUSE_QUERY_TIMEOUT_SECONDSNoServer-side ClickHouse query execution timeout in seconds.30
SEMANTIC_REFRESH_INTERVAL_SECONDSNoSemantic snapshot refresh interval in seconds.300
ASYNC_RESULT_MEMORY_THRESHOLD_BYTESNoMemory 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources