หน้าหลัก

Governing the AI Interface: How Agents Query Mosaic Data via MCP

Photo of Emily Murphy
Emily Murphy

July 22, 2026

Share:


Quick Answer

To safely query enterprise data, AI agents need more than a direct connection to a database. They require:

  • A standard communication language to discover and interact with approved enterprise metrics.
  • A Model Context Protocol (MCP) framework to provide this universal open connection standard.
  • A unified semantic layer, which exposes both enterprise Mosaic schema (including centrally managed, high-performance Intelligent Cubes) and agile Mosaic models as a single, consistent set of business truths.

By exposing these organized data structures through a secure connection point, Strategy Mosaic allows AI agents to safely find and query data while keeping business definitions and security rules perfectly consistent.


As organizations adopt autonomous AI agents, data teams run into a difficult integration bottleneck. Traditionally, giving an AI tool access to company data required extensive manual translation. Because every AI tool has its own unique way of reading information, software engineers had to build a custom bridge by hand for every single tool. As a result, anytime an organization adopted a new AI assistant, or reorganized its internal databases, a developer had to manually rewrite that bridge.

The only other alternative was allowing the AI tool to write its own database code directly against raw, unorganized data tables. This forced the AI to deduce complex math calculations and security rules entirely on its own.

This approach quickly falls apart at scale. It places a massive computing strain on databases, which drives up technology costs. It also compromises data security. When every AI tool connects differently, tracking which tool has access to specific information becomes nearly impossible. This structural fragmentation also undermines accuracy, as two different AI tools can easily return conflicting answers for the exact same business metric.

To solve this problem efficiently, an organization needs two specific pieces in place. First, you need a standard communication language that the AI tool can speak. Second, you need a highly organized, secure data structure for that AI to read. This is exactly why Strategy Mosaic combines the open Model Context Protocol (MCP) with its semantic layer.

AI Clients.png

Why AI Agents Need More Than Raw Database Tables

When a human analyst evaluates company performance, they rarely run calculations across millions of rows of raw, chaotic data. Instead, they use pre-sorted, organized data collections to get answers in seconds. This prevents a massive processing burden from slowing down the primary company databases.

Strategy governs these collections through two sophisticated layers:

  • Mosaic schema: This is our enterprise-grade modeling layer where centrally managed assets, such as optimized Intelligent Cubes, attributes, and metrics, are built and stored. Designed for complex enterprise scenarios, schema provides central BI teams with fine-grained control, advanced performance tuning, and strict system-level governance.

  • Mosaic models: This is our agile layer designed for rapid experimentation. Data teams and business departments can quickly shape new metrics, attributes, and policies without the initial complexity of schema, with the ability to promote successful models into the enterprise schema as they mature.

Mosaic presents both as a single, unified semantic layer. Whether a definition lives in a high-scale schema or an agile model, the AI agent sees one consistent set of business concepts.

When an AI agent is asked a business question, it faces the exact same struggles as a human analyst. Raw database tables introduce major hurdles that lead to three specific problems.

  • Context and Memory Overload: Forcing an AI to read raw table layouts and deduce how they connect wastes a large portion of its limited memory. The agent consumes its memory capacity with structural tech details before it even has a chance to analyze the actual business question.

  • High Costs and Slow Answers: If an AI must search through a massive database every time a user asks a simple question, cloud technology expenses escalate and users experience significant response delays.

  • Calculation Errors: When an AI is left to navigate raw tables on its own, it frequently misinterprets how columns are calculated and returns incorrect numbers for core company metrics.

By pointing the AI toward the Mosaic semantic layer instead of raw warehouse tables, the agent no longer has to calculate metrics on the fly. Whether it is querying a highly tuned Intelligent Cube within your schema or a newly deployed Mosaic model, it simply reads from a secure, pre-approved set of business truth.

Standardizing the Connection: The Role of MCP

Even with clean data structures, the translation problem remains if every AI agent requires a different custom connection. Anthropic's Model Context Protocol (MCP) solves this by acting as a universal adapter, much like how standard wall outlets allowed any appliance to plug into the power grid without custom wiring.

Instead of building a separate connection for every different AI tool your company wants to use, your data team sets up an MCP server just once. Because MCP is an open standard, any AI tool that supports it can instantly talk to your data without any extra engineering work. This includes standard developer tools and hubs like Claude Desktop or VSCode.

The protocol operates using three core building blocks.

  • Tools: These are actions the agent can actively run, such as pulling a specific report from a data cube.

  • Resources: This is the background context the agent can read, such as documentation, table descriptions, and data names.

  • Prompts: These are built-in templates that guide the AI model on how to phrase its questions correctly.

Architecting the Flow: Strategy Mosaic's MCP Endpoint

Without a dedicated gateway, an AI agent has no secure way to communicate with your internal data architecture. Strategy Mosaic solves this by providing a secure connection point, a native MCP endpoint, directly over its universal semantic layer.

This semantic layer is critical because it acts as the central brain for your data, governing the entire business logic, data hierarchies, and definitions in one place. Think of the MCP endpoint as a dedicated, secure service line built specifically for AI to access that brain. Instead of trying to navigate complex database walls, the AI agent simply connects to this single designated endpoint. Because both sides speak the same standard protocol, Mosaic instantly recognizes the agent, verifies its permissions, and securely opens up access to your schema and models as native resources.

Here is how a standard query lifecycle unfolds when an autonomous agent interacts with Mosaic through this connection.

1. Discovery and Tool Registration:

The AI client connects to the Strategy Mosaic MCP server. The server automatically shares what it is capable of doing, presenting the certified models and schema objects as approved tools that the AI is allowed to use.

2. Context Ingestion:

The agent inspects the layout of the selected resource. Instead of scanning through raw rows of a database, it reads the business layout to learn what metrics are already calculated and what filtering rules it needs to follow.

3. Query Execution:

When a business user asks a question, the agent formats a structured request and sends it over the secure connection line. This automatically triggers the data model or schema using the exact filters requested by the user.

4. Security Filtering:

Before any data is retrieved, Strategy Mosaic intercepts the request. It checks the identity of both the AI agent and the employee asking the question, evaluating them against your centralized security and access control policies.

5. Fast Response Delivery:

The query resolves inside the semantic layer in less than a second. The secure, structured result is sent right back to the agent, which easily translates the data into a natural language answer for the user.

Centralized Governance That Doesn't Break

The primary advantage of routing AI agents through Mosaic's MCP endpoint is that data governance is completely separated from the AI application itself.

If a company relies on custom prompt instructions or application-level filters to control an AI, a slight shift in the model's logic can lead to data leaks or broken access rules. In the Mosaic architecture, data assets must be explicitly approved and certified at the semantic layer before being exposed to an AI.

The Central Rule of Agentic Analytics

Security, access policies, and data controls are defined once at the semantic layer. Whether a human executive opens a BI dashboard, a data scientist opens a Python notebook, or an autonomous AI agent submits an MCP request, the exact same rules apply uniformly.

By combining the open infrastructure of MCP with the consistency of Strategy Mosaic's unified semantic layer, organizations can finally provide a dependable framework for enterprise AI adoption.


Semantic Layer
Analytics
Mosaic
AI Trends
Business Intelligence
Thought Leadership

Share:

Photo of Emily Murphy
Emily Murphy

Emily Murphy is Senior Manager of Education Development at Strategy, where she oversees and contributes to course design and development. She focuses on creating engaging, practical learning experiences that drive real outcomes for learners.


Related posts

Video: What Problems Does a Universal Semantic Layer Solve for Enterprise AI?
What Problems Does a Universal Semantic Layer Solve for Enterprise AI?

Discover why enterprise AI fails without business context. Strategy Mosaic's Universal Semantic Layer delivers governed, consistent data AI can trust.

Photo of Tanmay Ratanpal

Tanmay Ratanpal

July 22, 2026

Video: AI and Gambling: Probabilities Aren't in Your Favor
AI and Gambling: Probabilities Aren't in Your Favor

LLMs guess. Semantic layers govern. Learn why deterministic SQL and trusted metrics beat probabilistic AI for enterprise data decisions.

Photo of Saurabh Abhyankar

Saurabh Abhyankar

July 21, 2026

Video: The building blocks of context: metadata, semantic layer, ontology, and knowledge graph
The building blocks of context: metadata, semantic layer, ontology, and knowledge graph

Learn how metadata, semantic layer, ontology, and knowledge graph combine to give AI accurate business context. See how Strategy Mosaic governs it.

Photo of Lauren O’Connor

Lauren O’Connor

July 20, 2026

Video: The Person Who Owns Your Data Definitions Owns Your AI Solutions
The Person Who Owns Your Data Definitions Owns Your AI Solutions

Discover why owning your data definitions is the key to trustworthy AI. Learn how a semantic layer turns business choices into reliable AI outcomes.

Photo of Juliana Schoettler

Juliana Schoettler

July 20, 2026