Architecture teams connecting language models to company databases almost always shortlist CData MCP connectors, Cube, and the dbt Semantic Layer early in their evaluation. Each product solves a genuine data-plumbing problem. CData Connect AI wraps hundreds of SaaS and relational drivers behind virtual SQL and Model Context Protocol (MCP) endpoints, while Cube and the dbt Semantic Layer (powered by MetricFlow and exposed through dbt-mcp) standardize analytical metrics across business intelligence dashboards. Trouble starts when teams assume either a driver gateway or a warehouse metric compiler gives AI agents enough context and governance to operate safely on live ERP, MES, and financial systems.
What CData MCP gateways solve and what they leave to the model
CData built its reputation on JDBC, ODBC, and ADO.NET connectivity across more than 270 cloud and on-premises sources. With CData Connect AI and local CData MCP servers, an assistant like Claude Desktop can discover tables, inspect column data types, and issue translated SQL queries against Salesforce, NetSuite, SAP, or SQL Server without custom API boilerplate.
Connectivity, however, is transport rather than meaning. Exposing raw physical tables over MCP hands the hardest domain pitfalls straight to the language model's context window:
- Undocumented status integers and fiscal sharding: a driver exposes columns like
TRCODE,CANCELLED,cha_evrak_tip, orSTAT = 4as plain numbers. It does not know which codes denote sales returns versus purchase invoices, which soft-delete flags exclude voided vouchers, or how fiscal rollover splits tables every January. - Cross-system entity mismatches: when customer master records sit in CRM, open deliveries sit in ERP, and quality holds sit in QMS with no shared foreign key, raw table passthrough forces the LLM to guess string joins on every turn.
- Missing pre-flight write governance: if write tools are enabled on a generic connector, the protocol pipe cannot tell whether posting an invoice violates tax Schematron rules or skips mandatory human sign-off. As we outlined in our MCP security checklist for enterprise IT, least-privilege boundaries and action gates must live inside the server architecture rather than inside a polite system prompt.
Where Cube and the dbt Semantic Layer stop in operational workflows
Teams that hit raw-schema hallucinations with CData often swing to the opposite side and evaluate Cube or the dbt Semantic Layer. Both tools shine when data already sits inside Snowflake, BigQuery, Databricks, or Redshift and analytics engineers want one YAML definition for net revenue, gross margin, or customer churn. MetricFlow prevents fan-out join errors across star schemas, and Cube Store accelerates recurring BI dashboard aggregations.
Yet an OLAP metric layer is built for aggregate chart queries, not operational ERP execution. Four architectural boundaries separate Cube and dbt from an enterprise ontology:
- ETL warehouse prerequisite: dbt models and Cube cubes normally sit downstream of Fivetran, Airbyte, or CDC batch pipelines. Shop-floor planners asking whether a specific lot passed quality inspection five minutes ago cannot rely on yesterday's dbt build or a delayed warehouse sync.
- Aggregate measures versus instance-level state graphs: MetricFlow answers
GROUP BYKPI questions like monthly return rates by region, whereas operational agents inspect single entity graphs such as tracing purchase orderPO-40812to supplier batchLOT-99, machine stoppage logs, and open accounts-payable disputes. - Read-only scope with zero kinetic actions: neither Cube's MCP server nor
dbt-mcpmodels state-changing business verbs. They cannot draft a stock transfer, validate credit limits, enforce an idempotency key, pause for a finance controller's approval, and execute an official ERP business-object call. - Warehouse service accounts versus operational RBAC: operational permissions in manufacturing and retail follow plant codes, branch offices, sales territories, and KVKK or GDPR field rules that must apply identically across live reads and action drafts.
Combining transport, semantics, and governed actions in one layer
Choosing between raw MCP connectors and BI metric layers is a false dichotomy when your goal is operational AI. A production architecture unites zero-copy source adapters, verified object and status definitions, caller-scoped access controls and audit logs, and human-approved write gates in one boundary. Keep dbt and Cube where they excel on historical cloud analytics, avoid exposing raw ERP drivers directly to language models, and route live operational agents through an ontology designed for both accurate reads and safe decisions.