Appearance
Choose your setup
Which setup do you need? Four questions take you to the right page: which SAP screens, which Chrome, whether SAP GUI scripting is allowed, and which agent. Each path ends with npx -y sap-ui-automation doctor, which checks what the server can reach and says what to change.
Which SAP screens?
| You work in | Your computer | Go to |
|---|---|---|
| SAP GUI for HTML (Web GUI) or SAP Fiori, in a browser | Windows, macOS or Linux | Which Chrome? |
| SAP GUI for Windows | Windows | Is SAP GUI scripting allowed? |
| SAP GUI for Java | macOS or Linux | not supported: use Web GUI or Fiori if your system offers them |
Several at once is fine: on Windows the server looks for SAP GUI, Web GUI and Fiori sessions together.
Which Chrome?
Web GUI and Fiori run in Google Chrome. Pick a browser mode (SAP_BROWSER):
| You want | Mode | What you do |
|---|---|---|
| nothing to set up in Chrome | launch (the default) | log on to SAP in the Chrome window the server opens (guide) |
| your everyday Chrome, with its single sign-on, and only your SAP tabs shared | extension | install the SAP UI MCP extension, pair it, register your systems (guide) |
| your everyday Chrome or Edge, without an extension | attach | allow remote debugging in chrome://inspect (guide) |
| no Node.js or local Chrome on your machine, or a containerised run | Docker | run ghcr.io/didroai/sap-ui-mcp with headless Chromium and log on through chrome://inspect (guide) |
Then go to Which agent?.
Is SAP GUI scripting allowed?
SAP GUI scripting must be on in SAP GUI on your PC and allowed on the SAP system (sapgui/user_scripting). doctor checks both.
| Scripting | Method | Guide |
|---|---|---|
| allowed, or your basis team can allow it | SAP GUI scripting | SAP GUI for Windows |
| not allowed | the network reader (DIAG), experimental: reads SAP GUI's traffic through a local SAProuter; no SNC | Network reader |
Both methods run by default (SAP_GUI_METHOD=auto); set SAP_GUI_METHOD=scripting or diag to keep to one. Then go to Which agent?.
Which agent?
| Your agent | Path |
|---|---|
| Claude Code, Codex, Cursor, Claude Desktop, Windsurf, VS Code, Gemini CLI, Copilot CLI, OpenCode, Goose, Cline and more | npx -y sap-ui-automation setup adds the server and the skills to each one it finds. One client by hand: Install in your client |
| Claude Desktop, one click | the .mcpb file from the latest release (details) |
| Another MCP client | a stdio server with the command npx -y sap-ui-automation (details) |
| An agent with a shell and no MCP, or you want screens kept out of the chat | the sap-ui-automation command line and its skill (CLI for coding agents) |
| No agent: scripts and tests in CI | the SDK and the test runner (Writing tests), or replay what an agent recorded (Recording and replay) |
With SAP_BROWSER=extension, run setup --extension instead of setup.
Then
npx -y sap-ui-automation doctor: do the→step it gives, and run it again until it saysReady.That comes once it has read an SAP screen, so the steps take you to opening SAP and logging on (what each ✗ means).- Restart your agent and ask, with that SAP screen still open: "Look at my SAP screen and tell me which fields are required."
- Check your write setting. Writes are on by default;
SAP_WRITE=offmakes the server read-only. Your first session.
Stuck? Open a setup problem with the output of doctor.
What runs where
| Surface | Windows | macOS | Linux | Method |
|---|---|---|---|---|
| SAP GUI for Windows | yes | no | no | SAP GUI scripting and the network reader (experimental), both by default |
| Web GUI | yes | yes | yes | Chrome (launch, attach, extension) or Docker |
| Fiori | yes | yes | yes | Chrome (launch, attach, extension) or Docker |
| SAP GUI for Java | no | no | no | not supported |
