Skip to content

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 inYour computerGo to
SAP GUI for HTML (Web GUI) or SAP Fiori, in a browserWindows, macOS or LinuxWhich Chrome?
SAP GUI for WindowsWindowsIs SAP GUI scripting allowed?
SAP GUI for JavamacOS or Linuxnot 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 wantModeWhat you do
nothing to set up in Chromelaunch (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 sharedextensioninstall the SAP UI MCP extension, pair it, register your systems (guide)
your everyday Chrome or Edge, without an extensionattachallow remote debugging in chrome://inspect (guide)
no Node.js or local Chrome on your machine, or a containerised runDockerrun 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.

ScriptingMethodGuide
allowed, or your basis team can allow itSAP GUI scriptingSAP GUI for Windows
not allowedthe network reader (DIAG), experimental: reads SAP GUI's traffic through a local SAProuter; no SNCNetwork 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 agentPath
Claude Code, Codex, Cursor, Claude Desktop, Windsurf, VS Code, Gemini CLI, Copilot CLI, OpenCode, Goose, Cline and morenpx -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 clickthe .mcpb file from the latest release (details)
Another MCP clienta 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 chatthe sap-ui-automation command line and its skill (CLI for coding agents)
No agent: scripts and tests in CIthe 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 ​

  1. npx -y sap-ui-automation doctor: do the → step it gives, and run it again until it says Ready. That comes once it has read an SAP screen, so the steps take you to opening SAP and logging on (what each ✗ means).
  2. Restart your agent and ask, with that SAP screen still open: "Look at my SAP screen and tell me which fields are required."
  3. Check your write setting. Writes are on by default; SAP_WRITE=off makes the server read-only. Your first session.

Stuck? Open a setup problem with the output of doctor.

What runs where ​

SurfaceWindowsmacOSLinuxMethod
SAP GUI for WindowsyesnonoSAP GUI scripting and the network reader (experimental), both by default
Web GUIyesyesyesChrome (launch, attach, extension) or Docker
FioriyesyesyesChrome (launch, attach, extension) or Docker
SAP GUI for Javanonononot supported

MIT licence. Independent open-source project, not affiliated with, endorsed by or sponsored by SAP SE. SAP and SAP Cloud ALM are trademarks of SAP SE.