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 via BTP Communication Arrangement.
7 天免费 · 无需信用卡 · EU 托管
问 SAP 任何事
通过 AnythingMCP 对 SAP S/4HANA Cloud 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。
在 Cloud 上安装 SAPClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 SAP S/4HANA Cloud。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
配置 SAP S/4HANA Cloud
直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。
Setup (one-off, done by the S/4 admin):
- 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).
- Create a Communication User + Communication System. Pick OAuth 2.0 as the authentication method, grant type Client Credentials.
- S/4 generates a
Client ID,Client Secret, and a per-tenant Token URL likehttps://my300000.authentication.eu10.hana.ondemand.com/oauth/token. - The tenant Base URL is
https://my300000.s4hana.cloud.sap(your tenant ID replaces 300000). - Set the four env vars below.
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.