DidroDocsGitHub

Connect SAP GUI and Fiori to Claude

Let Claude Code or Claude Desktop read and drive the SAP screens you have open.

SAP UI Automation is Didro’s open-source MCP server for SAP GUI for Windows, Web GUI and SAP Fiori. It runs on your computer, next to SAP GUI or Chrome, and works in the sessions you are logged on to.

  • Claude Code: setup, one claude mcp add command, or the Claude Code plugin.
  • Claude Desktop: a desktop extension, without Node.js.

Claude Code

  1. Install Node.js 22 or later.
  2. Run this in a terminal:
    npx -y sap-ui-automation setup
    Setup finds Claude Code and the other agents on this machine, asks which to set up, and gives each the server and the skills sap-ui-automation and sap-ui-automation-cli.
  3. Check what the server can reach, and fix each line marked ✗:
    npx -y sap-ui-automation doctor
  4. Restart Claude Code, open an SAP screen, and ask “Look at my SAP screen and tell me what you see.”

Server only, without the skills:

claude mcp add sap-ui-automation --scope user -- npx -y sap-ui-automation

Read-only from the start:

claude mcp add --scope user --env SAP_WRITE=off --transport stdio sap-ui-automation -- npx -y sap-ui-automation

--scope user makes it available in every project. Check it with claude mcp get sap-ui-automation, or /mcp in a session.

The Claude Code plugin

/plugin marketplace add DidroAI/sap-ui-automation
/plugin install sap-ui-automation@sap-ui-automation

The plugin brings the server and the two skills: sap-ui-automation teaches the agent to work in SAP transactions with the tools, sap-ui-automation-cli does the same work from the shell. It starts the server with SAP_WRITE from your environment, confirm by default.

Writes in Claude Code

Claude Code asks you before each write in interactive sessions, from version 2.1.76. In claude -p (headless) the question is cancelled unless an Elicitation hook answers it, so a write does not run. Writes and safety

Claude Desktop: the desktop extension

  1. Download sap-ui-automation.mcpb from the latest release.
  2. Double-click it, drag it onto Claude Desktop, or choose Settings → Extensions → Advanced settings → Install Extension.
  3. Choose the settings Claude Desktop shows: writes (confirm, off or on), allowed systems and transactions, browser origins, and where recordings go.
  4. Open an SAP screen and a new chat, and ask “Look at my SAP screen and tell me what you see.”

The bundle carries the server and its dependencies and runs with the Node.js that Claude Desktop ships. Claude Desktop does not document whether it shows a server’s questions (MCP elicitation), so under the default confirm a write may be refused. Try a harmless write on a test system first, or choose off for read-only.

To add it by hand instead, put the server in claude_desktop_config.json (Settings → Developer → Edit Config). On Windows, use cmd as the command and /c npx -y sap-ui-automation as its arguments. Config snippets

Next

Set up the SAP side: SAP GUI scripting for SAP GUI for Windows, or Chrome and the extension for Web GUI and Fiori.