inference.eu

MCP servers · ERP

SAP MCP server: connect AI agents to SAP S/4HANA from the EU

SAP's own MCP servers help developers build Fiori, CAP and UI5 apps, but none of them gives an agent general access to business data in S/4HANA. For that, the most used option is the community SAP OData to MCP server for BTP, which turns your existing OData services into tools. inference.eu agents connect to it over HTTP with OAuth.

  1. 01Authentication: OAuth
  2. 02Community server
  3. 03EU data centres

What agents can do with it

  • 1

    Service discovery

    A lightweight search lists the OData services and entities the connection can reach, such as business partners, sales orders or purchase orders, without loading every schema into the agent's context.

  • 2

    Entity metadata

    For the entities the agent picks, a second tool returns the full schema: fields, keys, types and navigation properties, so the agent can build correct filters and payloads.

  • 3

    Create, read, update and delete

    A third tool runs authenticated OData operations, from `$filter` and `$top` queries to POST, PATCH and DELETE requests, using the metadata from the previous step and the user's SAP authorisations.

What SAP and this MCP server are

SAP SE, based in Walldorf, Germany, makes the S/4HANA and ECC ERP systems that run finance, procurement, sales and logistics in many large European companies. SAP publishes MCP servers for development work, such as @cap-js/mcp-server and the SAP Fiori MCP server, but not a general server for business data.

The open-source SAP OData to MCP server for BTP fills that gap. It runs on SAP Business Technology Platform, uses BTP destinations to reach S/4HANA or ECC, and exposes all OData services through three progressive discovery tools. It supports Streamable HTTP and stdio.

What agents can do with SAP

A buyer can ask which purchase orders for a supplier are still open this week, and the agent translates that into a filtered OData query. A sales assistant can look up a customer's credit status and recent orders before a call, or summarise delivery delays by plant.

With write access, an agent can prepare changes that people usually type by hand, such as updating a business partner's address after an email, or creating a sales order draft from a structured customer request, each confirmed by a person first.

Setup and authentication

Your SAP team deploys the server to a BTP Cloud Foundry space and configures a destination to the S/4HANA or ECC system, with principal propagation or OAuth 2.0. Access to the MCP endpoint itself is protected by XSUAA.

On inference.eu, add the SAP connector to an agent, enter the server's HTTP endpoint and sign in through OAuth. The token is stored encrypted in the EU and only reaches the agents you allow. With principal propagation, each request runs with the signed-in user's SAP authorisations.

Data protection and where the data goes

The server runs in your own SAP BTP account, and requests go from there to your SAP system through the destination and connectivity services. Data therefore stays within SAP infrastructure you already contract for, in the BTP region you chose.

On inference.eu, the model that reads the OData results runs in EU data centres, and connection credentials are stored encrypted in the EU. ERP data often includes personal data of customers, suppliers and employees, so align the exposed services with your data protection team.

Approvals and safe use

Expose only the OData services the agent needs, and give the technical or propagated users the narrowest SAP roles that work. Reading is low risk; PATCH, POST and DELETE change live business data and should be treated as such.

On inference.eu you can require a person to approve every write call before it runs, and leave read queries automatic. Combine this with SAP's own change documents and authorisation checks, so each change is traceable to a user and limited to what that user may do in SAP.

SAP S/4HANA: common questions

The questions buyers, developers and legal teams ask us most. Something missing? Ask us directly.

Ask a question

Move your AI workloads to EU infrastructure

Tell us which models you use and roughly how much traffic you have. We reply within one working day with pricing and next steps.

  • Reply within one working day
  • Pricing for your volume
  • DPA ready to sign