Book an AI Check arrow_forward

SAP MCP Server: Connecting AI to S/4HANA and ECC

An MCP server makes selected SAP data queryable for AI assistants such as Microsoft Copilot or Claude, without touching the SAP core. Since the SAP API Policy of April 2026, it is not only the technology that decides but also the route: this guide sets out which variants SAP recognises, what applies to custom servers and how to start cleanly.

Book an AI Check arrow_forward What SAP has allowed since 2026
Overview of all MCP topics The complete MCP server guide brings together architecture, tools, security and GDPR — the pillar page for this cluster.
Go to the MCP server guide arrow_forward

What is an MCP server for SAP?

An MCP server for SAP is the bridge between an AI assistant and your SAP system (S/4HANA, ECC, S/4HANA Cloud). Via the open Model Context Protocol, the server provides specifically selected SAP functions, usually OData services or CDS views, as tools. Not "everything", but exactly what you approve.

SAP is the acid test for any MCP integration: authorisation objects, client separation, document flow, value and quantity flows. A well-built MCP server respects this architecture and does not work around SAP. It calls released interfaces like any other application system would, just triggered by a language model.

MCP does not replace SAP standard processes. It puts a query layer in front of them that suits analyses, document research and information requests.

In short: Your team asks in natural language about order status, stock or open items and gets the answer from SAP, without navigating SAP GUI trees. Which technical route is permissible for this has been governed since April 2026 by the SAP API Policy.

SAP API Policy 2026: What SAP Allows for AI Agents

Since 27 April 2026, SAP has prohibited, in clause 2.2.2 of its API Policy, the use of its interfaces by AI systems that plan or select API calls themselves, unless access runs through a route recognised by SAP. An AI assistant that decides via MCP which SAP tool to call falls exactly under this description.

"Except through and within the limits of SAP-endorsed architectures, data services, or service-specific pathways expressly identified and intended for such purposes, SAP prohibits API use for: (a) interaction or integration with (semi-) autonomous or generative AI systems that plan, select, or execute sequences of API calls, and (b) scraping, harvesting, or systematic and/or large-scale data extraction or replication."

SAP API Policy v.4.2026a, clause 2.2.2. Source: help.sap.com

According to SAP's accompanying FAQ, the policy applies to cloud solutions as well as the on-premise portfolio, expressly including S/4HANA Private Cloud (RISE) and all line-of-business solutions. In clause 3 of the policy, SAP reserves the right to monitor API use and to throttle, suspend or terminate it in case of violations.

SAP expressly recognises these routes for AI agents:

And custom MCP servers? The FAQ (question 56) allows customers and partners to run their own or third-party MCP servers if the entire use is compatible with the contract, documentation and API Policy. Responsibility for setup, operation and maintenance then lies entirely with the operator; SAP gives no support or stability commitment for it. The SAP Architecture Center describes this case as "Pattern 1" and ties it to a governance checklist (see below). SAP expressly presents its own managed MCP infrastructure as an alternative to running third-party MCP servers in production and strongly recommends using published APIs only.

What is not covered: According to the FAQ (question 40), rule-based processes that execute fixed API calls without planning by a language model are not covered by clause 2.2.2. The remaining rules of the policy apply to them, such as the requirement to use published APIs.

How users see it: The German-speaking SAP User Group (DSAG) called on 29 April 2026 for more transparency, realistic transition periods and early clarification of ongoing AI pilot projects. According to the DSAG's understanding, the policy is initially meant to apply mainly to new customers and contracts. How SAP will proceed with renewals of existing contracts was still open at that time (DSAG press release).

What this means for your project: Before the first line of code, clarify which route fits your contract, and for a custom MCP server obtain a written assessment from your SAP contact. This assessment is not legal advice. We prepare the question with you so that it can be answered unambiguously.

Three routes to SAP data in AI assistants

In practice, three variants remain that can be justified. Which one fits depends on your SAP licensing situation, your platform and how freely the AI should ask questions.

Recognised by SAP

MCP Gateway of the Integration Suite

SAP APIs are provided centrally as MCP tools, with login, authorisation, rate limiting and logging in the gateway.

Fits if
the Integration Suite is already licensed or is coming anyway.
Concerns
Additional SAP licence and BTP operation.
Custom server following the SAP checklist

Custom MCP server (Pattern 1)

A lean server in your environment, with fixed tools per use case and the controls from the SAP Architecture Center.

Fits if
you do not want the Integration Suite and your SAP contact supports the route.
Concerns
Full responsibility lies with the operator; clarify the policy question beforehand.
No AI planning in the access

Fixed queries, AI reads the result

Defined analyses run rule-based against published APIs. The AI assistant works with the result, not directly with SAP.

Fits if
the questions are recurring and easy to plan.
Concerns
Less freedom; bulk exports remain regulated here as well.

SAP data in Microsoft Copilot

Microsoft Copilot Studio can integrate custom MCP servers as tools. The connection uses Streamable HTTP, and the login options are OAuth 2.0 (for example with Entra ID on behalf of the user) or an API key (Microsoft Learn). Four points are decisive for SAP projects:

Use cases: what can an SAP MCP server do in concrete terms?

We always start with read-only use cases. They deliver value quickly and are easiest to justify to IT, internal audit and SAP.

  1. Order and delivery status "Where does the order from Müller GmbH stand?" The tool reads the order, delivery and billing document via the published OData services. Answer in plain language, with document numbers.
  2. Analyses on demand Analytical CDS views as tools: revenue by region, top customers, ABC analysis, answered from real SAP figures instead of an Excel copy.
  3. Finance and controlling information "Which open items in company code 1000 are due next week?" The tool queries only the approved fields, with the rights of the user asking.
  4. Complaints and service For an incoming email, the assistant finds the order and document in SAP and suggests a reply. Your team decides.
  5. Purchasing Query order status, goods receipts and supplier ratings. Authority stays with the assigned role in SAP.
  6. Write scenarios, later Prepare master data or purchase orders, with an approval step by an authorised person. We only tackle this once the route, policy question and authorisations are clarified.

How we build an SAP MCP server

For custom servers we follow the governance checklist from the SAP Architecture Center and the OWASP MCP Top 10:

HANA, BTP and ABAP: where do AI agents best connect?

The same variants come up in every conversation. A brief classification:

Common pitfalls from practice

SAP MCP projects rarely fail because of code. They are delayed by these points:

GDPR, hosting & security

SAP systems contain personnel master data, salary data and supplier data. Therefore:

What does it cost?

SAP MCP projects are more demanding than DATEV or Lexoffice, because authorisations, coordination and approvals come on top. We therefore proceed in steps:

We discuss concrete orders of magnitude in the AI Check, depending on your SAP variant, your use cases and your compliance requirements.

Related guides

Frequently asked questions

Is a custom MCP server for SAP allowed?

According to SAP's FAQ on the API Policy, yes, if the entire use is compatible with the contract, documentation and API Policy. Responsibility lies entirely with the operator; SAP gives no support commitment. Because clause 2.2.2 restricts AI systems outside recognised routes, we recommend obtaining a written assessment from your SAP contact before building.

Do I need the SAP Integration Suite?

Not necessarily. The MCP Gateway of the Integration Suite is the route recognised by SAP. A custom MCP server following the SAP Architecture Center checklist or fixed, rule-based queries are alternatives, each with its own conditions.

Can Microsoft Copilot access SAP data?

Yes. Copilot Studio integrates MCP servers as tools, and systems in the company network via a custom connector with an on-premises data gateway or Power Platform VNet. Coupling SAP Joule with Microsoft 365 Copilot, by contrast, requires BTP.

Which SAP versions are supported?

S/4HANA (on-premise, private cloud and public cloud) and SAP ECC with OData Gateway. SAP Business One can be connected via its own interfaces. According to SAP, the SAP API Policy applies to the entire on-premise portfolio, so we clarify the specific constellation in the AI Check.

Is SAP written to, or only read?

We start with read-only use cases. Write tools only come once the route, policy question and authorisations are clarified, and then with an approval step by an authorised person.

Do we have to change SAP customising?

As a rule, no. The MCP server works via published standard interfaces, without intervening in the SAP core.

How secure is the access?

Every call is authenticated and runs with the rights of the user asking, rather than via a shared account. The server contains only fixed tools, limits calls and logs every access. SAP error texts do not reach the model.

Which AI models work with SAP MCP?

All MCP-capable assistants, such as Microsoft Copilot Studio, Anthropic Claude, OpenAI or Google Gemini. The server stays the same when you switch models.

How long does an SAP MCP project take?

The timeline depends mainly on clarifying the route and policy question, on the authorisations and on the network route. We set the timeline after the AI Check. Follow-on use cases go considerably faster.

What about S/4HANA Cloud Public Edition?

The API Policy applies there too. Inbound access runs through released APIs and the configuration provided by SAP. Ideally, the MCP server runs in the same cloud region.

Can the MCP server run on SAP BTP?

Yes. If you use BTP, you should also look at the MCP Gateway of the Integration Suite and the MCP servers from Joule Studio, because SAP expressly recognises these routes.

What distinguishes an MCP server from SAP Joule?

Joule is SAP's assistant within the SAP world. An MCP server connects SAP with the assistant your team already uses, such as Microsoft Copilot, and with other systems. The two can complement each other.

Does it work with your SAP too?

Briefly tell us which system you want to connect. You will receive a written feasibility assessment, with no appointment and no sales pitch.

Thank you, your enquiry has arrived.

You will receive a written assessment by email within one working day.

check_circle Free
check_circle Written reply
check_circle No call needed

Prefer to talk directly? Book a 30-minute AI Check