Connecting AI to Your ERP With MCP: When It Works and When It Breaks

By David Kettinger  |  October 26, 2026

ERP MCP diagram: Claude and Microsoft 365 Copilot connected through MCP to raw JD Edwards tables for lookups, and through a Power BI semantic model on a lakehouse for KPIs, trends and consolidation

You can connect an AI assistant straight to your ERP through MCP, and for looking up one record, it works well. For business analytics, such as KPIs across companies, a trend, a forecast or anything that crosses modules, the direct path breaks down. The ERP doesn’t hold the history, the other systems or the business rules those answers depend on, and the AI won’t tell you when it got a number wrong. A governed lakehouse and a semantic layer supply what’s missing.

It’s the question I hear most from IT and finance teams right now: “Can’t I just connect Microsoft 365 Copilot or Claude to JD Edwards and skip the rest?” Here’s how I’d think about it.

What is an MCP connection to an ERP?

MCP, the Model Context Protocol, is an open standard that lets AI tools call outside systems. An ERP MCP server gives an AI assistant a set of actions it can take, such as searching sales orders, reading an invoice or updating a purchase order. Several vendors now offer hosted MCP servers for JD Edwards, and setup takes minutes.

Think of MCP as plumbing. It’s a useful, overdue standard, much as ODBC was for databases, but it handles transport and permissions. It doesn’t know what a booked order means in your business, which ledger is authoritative or how you recognize revenue.

So the connection isn’t the hard part. What matters is what sits on the other end of it.

What can a direct MCP connection to an ERP do well?

A direct connection is a good fit for data lookups and updates. These are questions about one thing, its current state, in one module and one company, with no math beyond a filter.

  • What’s the status of order 12345?
  • Is this part in stock at the Denver branch?
  • What’s the balance on this customer’s account?
  • Which purchase orders are open for this supplier?

For questions like these, a direct MCP connection can be a good answer. The ERP is the system of record for current state, and the AI is doing a lookup a person would otherwise do in a screen.

Where does a direct ERP connection break down?

It breaks down on business analytics: KPIs across business units, consolidation across companies or ERPs, analysis that merges fact tables across modules, and anything involving trend, forecast or prediction. These questions involve many entities, history, defined business logic, and aggregation or allocation.

Data lookup and updates Business analytics
Example Status of order 12345 Gross margin by region across all companies, last eight quarters
Entities One Many
Time Current state History and trend
Scope One module, one company Across modules, companies and systems
Math A filter Defined business logic, aggregation, allocation
Direct MCP to the ERP Can be a good fit Breaks down

There are six reasons it breaks down.

1. Context and completeness

Some questions can’t be answered from the ERP at all. ERPs purge, archive and overwrite, so the history a trend or forecast needs often isn’t there. No single ERP holds your CRM, manufacturing execution, financial performance management or quality data. And no direct connection spans multiple ERPs or companies, which rules out consolidated financial analysis.

2. Accuracy

The risk isn’t only that the AI gets it wrong. It’s that you can’t tell when it does. Queries against raw ERP tables don’t fail loudly. They fail plausibly, returning a properly formatted number with nothing to signal a problem.

Take a simple question: what were last quarter’s sales by region? To answer it, you have to know whether sales means booked or invoiced, how returns and intercompany activity are treated, which currency to report in and how your company defines a region. That’s your business logic, and none of it sits in the ERP tables. An AI reading them directly has to guess, and because it guesses fluently, a wrong answer looks exactly like a right one.

The source system adds its own layer. JD Edwards, for example, stores dates as Julian numbers, implies decimals instead of storing them, and keeps meaning in user-defined codes and ledger types. An AI can learn those conventions. It can’t learn your business rules from the tables.

3. Speed to insight

Because you can’t tell which answers are wrong, every answer needs checking. That’s where the time goes, and it’s human time. A fast answer you have to validate by hand isn’t faster than the report you already had.

4. Cost

You pay for the digging and recalculating on every question instead of once. The joins, the decoding and the business logic get worked out again each time someone asks, and the analytical load lands on your production transaction system. The expertise doesn’t go away. It moves onto the prompt, the person asking, or a developer writing a custom MCP tool for every new question.

5. Governance

Nothing is reusable. The definition of revenue or on-time delivery gets re-derived per question, often differently each time, with nobody accountable for it. Before long, your reports and your agents disagree, and no one can say which is right.

6. Performance

ERP databases are tuned for transactions: many small, fast reads and writes that post orders, receipts and journal entries. Analytical questions are the opposite workload. They scan long date ranges, join many tables and add up millions of rows. When an AI agent turns a question into that kind of query and runs it against production, it competes for the same processing power, memory and locks that keep the business running.

And an agent doesn’t ask one question. It can fire twenty or thirty queries working toward a single answer, retrying as it goes. Multiply that across the company and you have an unpredictable analytical workload sitting on the system that runs order entry, MRP and your month-end close.

If this sounds familiar, it should. It’s the same set of problems as running BI and reporting directly against your source system, which most finance and IT teams learned to avoid years ago. AI doesn’t change the pattern. It runs into it faster.

What about giving AI an MCP server for each application?

The most valuable questions rarely live in one application. Margin erosion can start with a discount in your CRM, show up in job cost in your ERP and put the forecast in your planning system at risk. Give AI a separate MCP server for each of those systems, and it gets several disconnected views, each with its own customer IDs, calendars and definitions. The AI is left to stitch them together at question time, with no history and nothing to reconcile them against.

A lakehouse settles those conflicts before anyone asks. Customer, project and product records are conformed so each one means the same thing in every system. History is kept, and you can trace where every number came from. People and AI agents work from the same view of the business.

Why do you need a lakehouse for AI analytics?

A lakehouse fixes the completeness and performance problems. It centralizes data from your ERP, CRM and operational systems in one governed place, keeps the history your ERP overwrites, and takes the analytical workload off the production system.

The word matters. A data lake stores raw files cheaply, but on its own it doesn’t enforce structure, track changes reliably or govern who sees what. A lakehouse adds those things on top of the same low-cost storage: reliable transactions, schema enforcement, version history and governance, which is what makes the data dependable enough for finance.

Most lakehouses organize data in layers. Raw data lands in a bronze layer, gets cleaned and conformed in a silver layer, and is shaped for the business in a gold layer. If your lakehouse stops at silver, you have clean data but no business definitions yet. You still need a semantic layer to get the accuracy and governance benefits above.

Why does AI need a semantic layer to get the numbers right?

A semantic layer defines your business once: the certified measures, the relationships between tables, the hierarchies, the security, and descriptions of what each measure means. When AI goes through the semantic layer, it picks a defined calculation instead of writing its own from raw tables.

The evidence is getting hard to ignore. In a 2026 benchmark, dbt Labs ran 11 business questions 20 times each against a 15-table insurance dataset. On modeled data, Claude Sonnet 4.6 went from 90.0% accuracy with raw text-to-SQL to 98.2% through the semantic layer, and GPT-5.3-Codex went from 84.1% to 100%. On the original, unmodeled schema, text-to-SQL scored 64.5% for both AI models. Modeling the data alone took text-to-SQL from 64.5% to 90.0% for Claude Sonnet 4.6 and to 84.1% for GPT-5.3-Codex.

The way each approach fails matters as much as the score. In dbt’s words, with text-to-SQL “failure looks like a plausible but incorrect answer.” With the semantic layer, an unanswerable question returns an error instead of a wrong number.

That’s the principle behind how we build for AI. Fixed queries against certified measures. The AI explains, it doesn’t calculate. AI is how your people will use your data. The semantic model is why they can trust it.

A semantic layer doesn’t make AI perfect, and nothing does. Verified answers give correct responses to the questions you’ve defined. Open-ended conversation is for exploration and directional insight. And AI doesn’t replace your dashboards. It’s a different way to get at the same governed data.

Where does the semantic layer fit in an AI context layer?

AI needs more than one kind of context. It needs your documents and policies, how your people work, and the meaning of your business data. Microsoft’s own AI stack makes a similar split: Work IQ for how people work, Foundry IQ for documents and policies, and Fabric IQ for business data, which includes Power BI semantic models.

The semantic layer is the part of that context that handles numbers. Documents can tell an AI what your revenue recognition policy says. Only a semantic layer can make it calculate revenue the same way your finance team does.

Should you use MCP for business analytics?

Yes, pointed at the right thing. We build on Microsoft’s native MCPs ourselves: Claude connected to Power BI semantic models through Microsoft’s native MCP, and Microsoft 365 Copilot with Fabric data agents built on the same Power BI semantic models. The protocol is the same one the ERP vendors use. The difference is that the AI reaches certified measures instead of raw tables.

MCP direct to each application MCP to a governed semantic model on a lakehouse
Business meaning Guessed by the AI at question time Defined once in the semantic model
Load on the ERP Analytical queries hit production Analytics runs in the lakehouse
Across systems Stitched together at question time Conformed across ERP, CRM and planning data
Trust and governance Varies by tool and prompt Certified measures, lineage and security

So the question isn’t MCP or no MCP. It’s what the MCP points at. Use a direct connection for lookups and updates on current records. Point AI at a governed semantic model on a lakehouse for anything you’d put in front of a CFO.

Frequently asked questions

Can I use a direct ERP connection and a semantic layer together?

Yes, and most companies will. Use the direct connection for lookups and transactions on current records, and the semantic layer for KPIs, trends and anything that crosses companies, modules or systems.

Is it a problem to run AI queries against a production ERP?

It can be. An agent can send many queries to answer one question, and that load lands on the system that runs order entry, MRP and close. Talk to your ERP team about the workload before you open analytical questions to a direct connection.

Does a semantic layer guarantee correct AI answers?

No. AI can answer the same question differently from one run to the next, so no setup guarantees a correct answer. A semantic layer makes AI pick defined calculations instead of inventing them, and when a question falls outside what’s defined, it returns an error instead of a plausible wrong number. Verified answers cover the questions that have to be right every time.

What about the data that never makes it into the ERP?

That’s one of the main reasons for a lakehouse. CRM, manufacturing, quality and planning data live outside the ERP, and a lakehouse brings them together so the semantic layer can relate them.

About the Author

Avatar photo

David Kettinger

Before David ran marketing, he built data models and dashboards. Seven years of Power BI work for QuickLaunch customers means he knows the product from the inside, not the brochure. Today he scales a small team with AI and writes about the reality of doing it.

Related Articles