- How to connect an AI model to core enterprise systems (SAP, Dynamics, CRM, ERP) safely: what MCP is, permissions, security, and real-world examples.
MCP (Model Context Protocol) is an open standard published in 2024, and within a year it became the common language models like Claude use to connect to external systems, without writing a separate integration for every tool.
Connecting AI to enterprise systems means giving a model like Claude controlled access to core platforms, such as SAP, Dynamics, or your CRM, so it can retrieve data and perform defined actions without exposing sensitive information and without exceeding permissions. The central tool for this is MCP, an open standard that acts as a mediation layer between the AI and those systems. The secret to a secure connection in a regulated organization is not the technology itself but governance: precise permissions, human approval at sensitive checkpoints, and a full log of every action. This guide explains how it works in plain language, and how to implement it correctly.
What MCP Is, in Plain Language
MCP (Model Context Protocol) is an open standard that defines how an AI model communicates with an external system. The simplest analogy: it is a "standard power outlet" for models. Instead of every organization building a custom bridge between AI and each system, an MCP server presents the model with an orderly menu of permitted actions, and the model chooses from that menu.
Three roles in this picture are worth understanding:
- The model (the client): The AI managing the conversation, for example Claude or Gemini.
- The MCP server: A mediator that sits in front of the enterprise system and defines exactly which actions are permitted (fetch a customer record, read an order, create a draft).
- The system: The core repository itself, for example SAP, Dynamics, or an internal database.
The critical point: the model does not access the database directly. It requests an action from the MCP server, and the server is the one that decides whether it is allowed, filters it, and returns a response. That is precisely what makes an AI connection either safe or dangerous.
If you want the conceptual foundation for how to chain tools into a complete workflow, read MCP for Automations first. This guide focuses on a different layer: connecting to the organization's core systems, with all the sensitivity that entails.
Why the Action Menu Is What Makes This Safe
One point that is easy to miss: the fact that the MCP server exposes only a closed menu of actions to the model is exactly the security mechanism. The model cannot "invent" a free-form query to the database, and it cannot access a field that has not been exposed to it. You, as the person configuring the server, determine the boundaries in advance. This is fundamentally different from a situation where you give the model a system password and hope for the best. In a regulated organization, that difference is the difference between a connection that can be approved and one that the information security officer will reject.
Why Enterprise Systems Are a Different Story
There is an enormous difference between connecting AI to a spreadsheet or Gmail and connecting it to the central customer database of an authority or corporation. Three reasons:
- The data is sensitive. A customer database, resident files, or financial data are not a single email. The wrong exposure of an entire database is a security and privacy incident.
- The structure is customized. Almost every regulated organization has adapted its system: custom fields in Dynamics, custom tables in SAP, unique business logic. A model unfamiliar with that structure will make mistakes.
- Permissions are law. In a public body, who sees what is not a matter of convenience but of regulation. The AI must inherit the existing permissions map, not bypass it.
Because of these three reasons, you cannot "just connect." You need a connection layer that translates the custom structure, and a governance layer that maintains the boundaries. That is exactly what distinguishes this guide from generic AI agent guides.
Which Systems to Connect, and How
Not every system connects the same way. Here is a quick map of common situations in a regulated organization:
| System | Common connection method | What the AI actually does | Sensitivity level |
|---|---|---|---|
| Dynamics (CRM) | Built-in Microsoft connector or MCP server on the API | Summarizing calls, tagging leads, drafting proposals | Medium-high |
| SAP / ERP | MCP server against SAP's API layer | Fetching orders, inventory, reports | High |
| Internal database | MCP server to the database (with read-only user) | Queries, reports, record lookup | High |
| File system / documents | MCP server to a controlled folder | Search, summarization, locating procedures | Medium |
Dynamics and Microsoft
When an organization runs standard Dynamics, Microsoft Copilot connects easily and respects the existing Azure AD permissions. The problem starts when the base is customized with unique fields and tables: then the model does not always understand the structure, and a dedicated connection layer is needed to translate it. We covered this in detail in Connecting AI to CRM: From Dynamics and SAP to Automated Proposals.
SAP and ERP Systems
SAP almost always sits behind an API layer. The connection is built through an MCP server that calls that API using a dedicated, restricted user, not a super-user. This way the AI can fetch an order or an inventory report, but it cannot modify core records without explicit permission.
Permissions: The Heart of Secure Connection
This is the most important link in the chain, and most mistakes happen here. The basic principle is least privilege: the AI receives the minimum necessary to perform the task, and nothing more.
- Read before write. Start with read-only access. For most tasks (summarizing, locating, drafting) this is sufficient, and the risk is far lower.
- Inherited permissions, not new ones. The AI should operate under the existing permissions map. If a particular user is not authorized to view a particular file, the AI acting on that user's behalf should not see it either.
- A dedicated, restricted service account. Do not connect AI through an admin account. Create a dedicated service account with permissions scoped precisely to the required actions.
- Separate read from write. Actions that change reality (creating an order, updating a record, sending a document) need a separate, stricter path than read operations.
Permissions are not just a technical setting, they are policy. It is worth anchoring them in a formal document. See AI Policy for Organizations for building that framework.
Security: Where Data Travels and Where It Is Stored
Connecting AI to a core system raises three security questions that must be answered before you start:
- Where does the data go? Does the query leave for an external cloud, or does the model run in the organization's controlled environment? In a regulated body, the type of data determines the answer. Sensitive data may require a private environment.
- What is retained and what is deleted? Confirm that responses and queries are not stored for model training, and that there is a clear retention policy. Enterprise AI providers offer settings that prevent data from being used for training.
- Who sees the log? Every AI action must be recorded: who requested it, what was retrieved, when. A log is both a security tool and a trust tool.
In a public body, the choice between public and private cloud is usually the decisive decision. We covered it in Copilot vs. Gemini vs. Claude for Organizations, which also compares how each provider handles permissions and data.
Nothing here constitutes legal advice; for anything related to storing sensitive data, consult your privacy officer or a lawyer.
The Three Protection Layers, in Brief
A secure connection to a core system rests on three layers that work together:
- Precise permissions: The AI accesses only what it is authorized to, through a restricted user, with a preference for read-only.
- Human approval at sensitive checkpoints: Every irreversible action (creating an order, updating a record, sending a document to a customer) pauses for human approval before it executes.
- Full logging: Every request and response is recorded, so it can be audited, investigated, and corrected.
If any one of these three layers is missing, the connection is not secure enough for a regulated organization. All three together make it possible to benefit from the capability without giving up control.
A Real-World Example: From CRM to Price Quote
Here is what this looks like in practice, in a generic corporate scenario. A sales representative finishes a call with a customer and wants to issue a price quote:
- Read: The AI retrieves the customer's details from Dynamics via the MCP server, along with the history and the relevant price list (read-only permission).
- Draft: The model prepares a tailored price quote draft, including terms and discounts according to policy.
- Approval: The draft is presented to the representative. Nothing is sent to the customer without their approval.
- Action: After approval, the AI records the quote back in the system and flags it for follow-up (this is a write action, and therefore goes through the stricter path).
What used to require manual searches across several screens becomes a matter of minutes, without giving up a single control. That is the essence of a correct connection: AI saves the grunt work, the human retains the decision.
Common Mistakes Worth Avoiding
From field experience, the same mistakes recur whenever AI is connected to core systems. Knowing them in advance saves months:
- Admin access from day one. Connecting AI through an admin account "so it works fast" is the most dangerous thing you can do. If the connection is breached or the model makes an error, the entire system is exposed. Always use a dedicated, restricted account.
- Skipping the approval layer. Letting the model run write actions without a human in the loop seems efficient, until a wrong price quote is sent to a customer or a record is updated by mistake. Irreversible actions always pause for approval.
- Ignoring the custom structure. Connecting the model and expecting it to understand the organization's unique fields on its own. Without a translation layer that explains what each field means, the responses will be wrong and misleading.
- Connecting everything at once. Trying to connect CRM, ERP, and a database in the same project leads to chaos. One system, one pain point, then expand.
- No log from day one. If you did not record the actions from the start, you will not be able to investigate an incident when it happens. The log is infrastructure, not an add-on.
Who Needs to Be in the Room
In a regulated organization, connecting AI to a core system is not one person's decision. Three role-holders must be partners in the decision, and each brings a different perspective:
- The IT manager: Knows the systems, the custom structure, and the technical connection points.
- The information security officer: Determines which permissions are allowed, how the log is kept, and where data travels.
- The privacy officer: Ensures the connection meets privacy requirements, especially when personal or sensitive data is involved.
When all three align upfront, the connection gets approved smoothly. When one of them is skipped, the project stalls later. That is why every implementation we work on starts with a scoping conversation involving all stakeholders, not just the technical team.
How to Start Correctly
The common mistake is trying to connect everything at once. The safe approach is the opposite:
- Choose one system and one real pain point, for example summarizing calls in the CRM.
- Start with read-only before touching write.
- Define the three protection layers upfront, not in hindsight.
- Run a controlled pilot, measure, and only then expand to additional systems and actions.
It is worth remembering that connecting to systems is only part of the picture. It needs to sit within a broader implementation plan, like the one described in The Guide to AI Implementation in Public Sector Organizations, which explains how to integrate technology, regulation, and human resources.
The bottom line
Connecting AI to SAP, Dynamics, or any core business system is both possible and safe, when done correctly. MCP provides the middleware layer, but security comes from governance: minimal permissions, human approval at sensitive junctures, and full audit logging. Start small, with a single system in read-only mode, and expand as maturity grows.
Want to connect your organization's systems to AI safely? See how we build AI agents and guide end-to-end AI implementation in the enterprise.

