Data & AI platform by Data Analytics
An MCP database connection needs a meaningful intermediate layer
A database contains tables, but your employee asks questions about customers, deliveries or performance. An MCP database connection must carefully connect these two worlds. The key is therefore not unrestricted SQL access, but a bounded abstraction layer with understandable definitions and verifiable results. MCP is the communication protocol between client and server; it is not a language model and does not automatically perform ETL. The meaning and quality of your data remain separate design questions.
The examples on this page are hypothetical situations, not customer cases.
Meet our team

Trusted by data-driven organisations
















































01
Define a contract above the tables
Start with the business concepts the application must support. Define which entities are visible, how they relate and the level of detail in a result. An order is not an order line; joining at the wrong level can multiply amounts. An abstraction layer can expose approved views or fixed query functions, depending on your setup. Example: a hypothetical logistics application requests weekly delivery reliability. The contract describes whether a partial delivery counts as on time and which date is used for comparison. Without those agreements, a technically correct query can produce a different outcome from the dashboard your team uses to manage performance.
02
Provide schema documentation without unnecessary exposure

Describe field names, data types, units, keys and permitted relationships for the approved scope. Add definitions for missing values, currencies, time zones and refresh timing. Do not automatically share the entire technical schema: table names and column descriptions can themselves contain commercially sensitive information. Use fictional examples in documentation rather than real customer records. Also mark fields that are not intended for analysis. A resource can make this documentation available as context, while a tool performs the actual query. A prompt can help structure an analytical question, but changes neither schema nor access permissions. Check which of these MCP capabilities your host and server actually support.
03
Choose focused queries over unrestricted execution
The host manages user interaction and MCP clients; a client communicates with the server executing the permitted database task. Where possible, let a model choose focused tools with validated parameters rather than sending arbitrary SQL to production. Bind parameter values and limit selections by period, scope and detail level. If dynamic SQL is still necessary, it requires additional parsing, authorisation and execution restrictions. Merely checking whether text starts with SELECT is insufficient. Also limit time, concurrency and source load. A row limit bounds output, but not necessarily the work performed by joins or aggregations to produce it.
04
Make read-only access an execution property

Use database permissions and server checks aligned with reading only. An instruction to the model is not a technical barrier against changes. Assess reachable functions and indirect execution paths as well as table permissions; a read-like request must not cause unwanted side effects. Test access outside the assigned organisation or department using negative test cases. Example: a hypothetical regional manager may see aggregate performance for her region, but not customer addresses from other regions. That restriction must hold even when someone enters different parameters or calls a tool directly. Describe who grants permissions, how revocation propagates and which test demonstrates that the restriction works.
05
Check processing, changes and recording
With an external model provider, returned query results may be processed outside your environment. Map the entire route, not just the database location. Pass aggregates where possible and remove unnecessary personal data before context leaves the host. Prefer logging technical attributes such as tool, duration and error status; avoid sensitive parameters and complete results. Keep any write access outside the read path. It requires explicit permission, separate authority and checks within a transaction, including business rules and protection against duplicate execution. Also make stale data visible: a successful connection says nothing about the freshness of the underlying source.
06
Connect the abstraction layer with ENABLE
ENABLE focuses on a coherent data foundation, integration and dashboards. Shared business definitions and testable calculations fit that approach. An MCP route above this foundation depends on the chosen implementation and available connection options; no specific working connector is assumed here. First inventory existing sources and definitions. Then select a few questions for which you can specify expected results. Compare totals, missing values and period boundaries against existing reports. Appoint an owner to review changes to schemas and definitions. This helps prevent a technical adjustment silently changing the meaning of answers your organisation relies on.
Frequently asked questions
Does the model need the full schema?
No. Expose only the necessary structure and definitions within the permitted scope.
Is a database connection also data integration?
Not automatically. Combining, cleaning and aligning sources requires a separate integration design.
Why can a tool and dashboard differ?
Check granularity, filters, refresh timing and definitions before accepting the model’s explanation.
Can a read account safely execute every query?
No. Even permitted read queries can be expensive or reveal excessive detail; bound execution and results.
Technical documentation
Discuss your question with Data Analytics
Which sources, users and checks does your application need? Discuss your question in an ENABLE demo.
Meet our team

