SAP S/4HANA Cloud

SAP S/4HANA Cloud

Drive SAP S/4HANA Cloud Public Edition from any AI agent: business partners, customers, suppliers, sales orders, purchase orders, billing documents, products, journal entries. OAuth 2.0 client credentials from a communication arrangement, with the token from the tenant's own API host.

7-day free trial · No credit card · EU-hosted

Ask SAP anything

Try a real prompt against SAP S/4HANA Cloud via AnythingMCP — Claude calls the tools, returns the answer. Press Enter on your own message to install on Cloud.

Install SAP on Cloud
SAP S/4HANA Cloud · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

Setup in 2 minutes

  1. 1Start a free trial on cloud.anythingmcp.com.
  2. 2Click SAP S/4HANA Cloud in the connector store. Paste credentials when prompted.
  3. 3Mint an MCP API key and point your AI client at the generated MCP URL.
Install SAP S/4HANA Cloud now

Guides for SAP

Step-by-step setup for the most popular AI clients.

Setting up SAP S/4HANA Cloud

From the connector definition itself: where to find the credentials, what they need to be allowed to do, and which API this adapter talks to.

Setup (one-off, done by the S/4 admin):

  1. In your S/4HANA Cloud tenant open Communication Arrangements and create one for SAP_COM_0008 — Business Partner Integration (and others as needed: 0109 Sales Order, 0026 Purchase Order, 0186 Billing).
  2. Create a Communication User + Communication System. Pick OAuth 2.0 as the authentication method, grant type Client Credentials.
  3. Open the communication arrangement → Inbound Communication → OAuth 2.0 Details. It shows the Client ID and the Token Service URL, which is on the tenant's API host: https://my300000-api.s4hana.cloud.sap/sap/bc/sec/oauth2/token (your tenant ID replaces 300000). The client secret is the one set for that client, i.e. the password of the communication user. Do not use a BTP URL such as https://<subaccount>.authentication.eu10.hana.ondemand.com/oauth/token: S/4HANA Cloud does not accept tokens from a BTP subaccount on these APIs.
  4. The Base URL is the same API host without a path: https://my300000-api.s4hana.cloud.sap (with -api; the address without it is the Fiori launchpad).
  5. Set the four env vars below. Leave the scope empty: the token then carries what the arrangement grants.

Auth header method: Public Edition strictly requires Client ID/Secret sent via HTTP Basic Authorization header (not form fields). This adapter does that automatically.

Token lifetime: typically 1 hour. The connector engine refreshes proactively 5 min before expiry, single-shot client_credentials grant (no refresh_token needed).

Generic OData tools: besides the tools below, s4_cloud_list_services, s4_cloud_describe_service, s4_cloud_describe_entity, s4_cloud_query and s4_cloud_get_entity read the listed APIs' $metadata, so the agent can reach any field of those services with SAP's labels. A service outside the list needs its communication arrangement first.

Your AI is two clicks away from SAP S/4HANA Cloud.

Install the connector, paste your credentials, ask your AI a question. 7-day free trial, no credit card.