Connecting an AI Agent to Your ERP: API, MCP, Permissions
By Alexandre Saint-Jean

Audio version
Audio version produced by text-to-speech from the article. Our AI charter
To connect an AI agent to your ERP, you have three routes: the ERP's API, the vendor's MCP server when it publishes one, or an automation connector. The route matters less than the permission settings: the agent must act with a dedicated account, with a minimal scope, and each of its actions must leave a trace.
What are the three ways to connect an AI agent to an ERP?
The API is the classic route: a developer writes a program that calls the ERP, with fixed rules. It is predictable and controllable, but every use case needs code. The MCP (Model Context Protocol) server is the new route: the vendor publishes a list of tools that any compatible agent can discover and call.
The automation connector is the third route: an intermediary tool links the agent to the ERP through ready-made modules. We did not find an automation connector documented by an ERP vendor, so we do not recommend any here. To place these choices in a complete approach, see how to take an AI pilot to production.
What do Odoo, Business Central and SAP expose as of 19 November 2026?
The three vendors we looked at do not take the same approach. The table summarises what their official pages say, with the caution that is needed: several Microsoft pages have been archived since October 2026 and describe plan dates, not a verified production state.
| ERP | Documented route | Read or write | Status and caveats |
|---|---|---|---|
| Odoo 20 | Built-in MCP server | Five read tools by default; creation and update to be exposed by hand | Documented; AI subject to IAP credits and the Custom plan; edition (Community or Enterprise) not stated. |
| Business Central (online) | Microsoft MCP server | Read-only by default; write, delete and actions enabled by the administrator, object by object | Improved server announced as available since 1 April 2026; billing of MCP tools planned, not published |
| SAP | A2A protocol preferred; customer-managed MCP Gateway | Permissions and tools are the customer's responsibility | No ready-to-use SAP MCP server described in the page read; according to an SAP reference architecture (26 October 2026), two-way communication with third-party agents through the Agent Gateway is not yet supported, and some capabilities are not yet generally available |
Sage X3 and Divalto are not covered here: to our knowledge, no official page describes an MCP route for them as of 19 November 2026. Ask your vendor or your integrator.
What should you remember for Odoo?
The Odoo 20 documentation states that an external agent can read or modify the database, with OAuth for internal users and an API key for the others. The detail (tools, dynamic client registration) is in Odoo 20's native AI features.
What should you remember for Business Central and SAP?
At Microsoft, the connection goes through OAuth 2.0 with Microsoft Entra ID, and the page states that all operations are performed with the user's identity and permissions, so the audit shows who acted. The page cites revision 2025-11-25 of the MCP specification, not the most recent one. At SAP, the page read states that the customer remains responsible for permissions on the system side, the choice of tools and the configured policies, and SAP prefers A2A for interoperability between vendors and third-party agents.
What does the MCP specification say about authorization?
The "latest" page of the specification, which points to the revision of 28 July 2026, reads: "Authorization is OPTIONAL for MCP implementations". An MCP server is therefore not protected by default: authentication depends on what the vendor chose to implement. Ask the question before opening anything up.
When authorization is supported over HTTP, the specification asks servers to publish their protected resource metadata (RFC 9728). It requires tokens to have been issued for that specific server, forbids placing them in the request address, and treats dynamic client registration as deprecated.
Which security rules should you apply to an agent connected to the ERP?
OWASP identifies three causes in its LLM06 "Excessive Agency" risk: too much functionality, too many permissions, too much autonomy. The countermeasures are very concrete and translate into five rules.
- An account dedicated to the agent, never a colleague's: you know what it did, and you can revoke it without touching anyone else.
- Least privilege: limit permissions to the minimum necessary, object by object, and start read-only.
- Controls in the ERP, not in the agent: OWASP recommends implementing authorization in downstream systems rather than letting the model decide whether an action is allowed.
- Human approval on high-impact actions: payment, deletion, price change.
- A log: Business Central states that auditing of MCP configuration changes goes through Microsoft Purview (according to an archived plan page) and that actions carry the user's identity. Check that you will be able to read back who did what.
Where should you start in practice?
Choose a read-only use case (querying stock, finding an order), on a test account, with a single user. Measure for two weeks, read back the log, then enable a limited write, with human approval.
If you want to scope this first use case with someone who has already connected AI to an ERP, our support for integrating AI into your ERP starts from a measured and reversible scope.
Frequently asked questions
- Can you connect ChatGPT or Claude to your ERP?
- Yes, when the ERP exposes an MCP server and the vendor or integrator has enabled it. The Business Central documentation cites Claude, ChatGPT and MCP Inspector as examples of compatible clients, to be registered in Microsoft Entra for non-Microsoft clients. Plan for a test account, read-only permissions, then a gradual ramp-up.
- What is an MCP server for an ERP?
- It is a standardised entry point that the ERP opens to AI agents. The agent discovers a list of tools there (search, read, sometimes create or modify) and calls them with a user's permissions. The vendor decides which tools are exposed, and the administrator can remove or enable some.
- Can an AI agent change or delete data in the ERP?
- Only if it is allowed to. In Odoo 20, creation and update still have to be exposed by hand. In Business Central, the administrator chooses, object by object, what can be read, created, modified or deleted. The default setting remains read-only.
- Should you use the API or MCP?
- If your ERP publishes an MCP server and your need is to query or act through an assistant, MCP saves you from developing the integration. The API remains preferable for a fixed, repetitive process that you control end to end. The two can be combined.
- What permissions should an AI agent have in the ERP?
- As few as possible: a dedicated user, limited to the necessary objects, read-only first. OWASP recommends limiting permissions to the minimum necessary and having a human approve high-impact actions. The controls must live in the ERP, not in the agent.