MCP Server
Brickcost exposes a read-only MCP surface for agents that need readiness evidence, Genie risk questions, metric reconciliation drafts, semantic-layer candidates, data-product contracts, and operating graph context.
MCP is the transport, not the product moat. The differentiator is the customer-validated evidence and reconciliation backlog exposed through the tools. Use Databricks managed MCP where native Genie, SQL, Vector Search, or Unity Catalog functions are enough; use the Brickcost MCP surface when agents need the diagnostic verdict, benchmark questions, owner-review semantic drafts, and grounding readiness.
Endpoints
POST /api/mcpfor JSON-RPC MCP calls.GET /api/mcp/manifestfor deployment metadata and allowed tools.GET /api/mcp/toolsandPOST /api/mcp/tools/{tool}for REST-compatible testing.
Controls
BRICKCOST_MCP_BEARER_TOKENenables bearer-token auth for external agents.BRICKCOST_MCP_TOOL_ALLOWLISTlimits which read-only tools are exposed.BRICKCOST_MCP_RATE_LIMIT_PER_MINUTEenables per-actor request limiting.- Successful tool calls are written to the product activity log.
Safety
MCP tools are read-only. They do not mutate production Databricks resources and generated SQL remains an owner-review draft until a customer approves it.
BI Readiness Tools
The MCP surface includes tools for customer-backed BI evidence, including
find_risky_genie_questions,
find_dashboard_consolidation_candidates, and
explain_customer_bi_readiness. These tools use the same imported dashboard
metadata and operating graph shown in the app.
Connector-aware agents can call get_connector_evidence to retrieve dbt,
workflow, ticket, orchestration, and Git evidence already folded into the operating graph.
Agents can call generate_optimization_experiment_plan to retrieve a
control/treatment canary plan for a materialized view or data-product recommendation.
Agents can call generate_data_product_contract to retrieve an owner-review
contract draft with freshness SLA, quality checks, access policy, AI-grounding status,
and migration plan for a recommended governed data product.