Scan your whole stack
From OX Research Newsroom
Are you using sapguimcp?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.0.6rc1
sapguimcp was last scanned on 23 Nov 2026 at version 1.0.6rc1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.0.6rc1 LATEST | 23 Nov 2026 | No rules fired |
| 1.0.5 | 19 Nov 2026 | No rules fired |
| 1.0.4 | 19 Nov 2026 | No rules fired |
| 1.0.3 | 19 Nov 2026 | Not shown |
| 1.0.2 | 19 Nov 2026 | Not shown |
Findings for v1.0.6rc1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.0.6rc1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
An MCP (Model Context Protocol) server for SAP automation. It allows you to control SAP through Claude Desktop, Claude Code, or opencode - via SAP GUI for Windows (COM scripting).
[!IMPORTANT] SAP Web GUI support moved to the separate project sapwebgui.mcp. v0.20.0 was the last release of this project with both backends. Releases after v0.20.0 only drive SAP GUI for Windows. If you use SAP Web GUI (browser), macOS or Linux, use sapwebgui.mcp instead.
Because it drives the real SAP UI (not a headless API), it is especially well-suited for end-to-end testing, visual validation, and capturing screenshots for documentation. The MCP server works with both SAP R/3 and S/4.
[!TIP] Try it yourself: this demo is a skill that ships with this repository - clone it (or copy
.claude/skills/readme-demo/into your project), then ask your agent to run the readme demo (or invoke/readme-demoin Claude Code) - it logs into your system, creates a business partner, screenshots it, and verifies it in SE16. It needs SAP GUI for Windows with scripting enabled, because the screenshots are saved viasap_run_script.
This server uses the SAP GUI COM scripting API. It is Windows-only and single-threaded at its core, but well tested. It uses sapsucker for typed SAP GUI Scripting access. This means that after your agent clicks a button, the MCP server has to wait until the GUI responds, which takes some milliseconds that can add up for batch processes. The Web GUI driver, which is OS-independent and can run concurrent workflows in several browser tabs, lives in sapwebgui.mcp.
You can easily pair this GUI MCP with e.g. an ADT MCP like aibap.mcp.
ADT MCPs and this GUI MCP complement each other in a two-agent vibe-coding setup: one agent writes ABAP via ADT, while a second agent drives this server to test the generated code in the real SAP UI, captures screenshots, and reports failures back.
[!TIP] Save tokens with
sap_run_script! 🚀 Instead of dozens of back-and-forth tool calls, the AI agent can write and execute a single Python script that loops, branches, and collects results - all in one shot. You just describe what you need; the agent generates the script automatically. Perfect for repetitive workflows like reading 50 table rows or bulk-updating fields. Runs in a secure sandbox against the SAP GUI COM API. See Capabilities.
The core of this MCP is not language-specific, meaning it generally works with any SAP logon language.
However, there is also built-in support for specific transactions like SE16 or ST22.
These transaction-specific tools only work for certain logon languages, because the MCP server relies on button or column labels, which vary by language.
We support English (EN), German (DE) and Italian (IT).
Are you a developer? Read ARCHITECTURE.md for codebase structure, request flow diagrams, and how to add new transaction tools. The Development Setup section covers running from source.
Setup has three steps (plus one-time prerequisites): download the executable, create your SAP credentials file (systems.json, optionally using ${env:VAR} placeholders to reference environment variables), and register the MCP server with your AI client.
[!NOTE] Why a separate credentials file? Most MCP servers put SAP credentials directly in the per-project MCP config (
envblock), which means re-entering them for every project. Here, credentials and SAP settings live in a single shared file (systems.json) that all Hochfrequenz SAP MCP servers read automatically - so this server andaibap.mcpboth work with the same credentials without duplication. You can store credentials in plain text, but you can also refer to an environment variable.
Where to register the MCP server:
claude mcp add --scope user (recommended) or per project in .mcp.json. Step 3 shows both.claude_desktop_config.json; open it via Settings → Developer → Edit Config (usually %APPDATA%\Claude).opencode.json in the project root.[!WARNING] Special characters in passwords stored in a
.jsonfile: If your SAP password contains"or\characters, you must escape them in the JSON config files:"becomes\"and\becomes\\. For example,pass"wordbecomes"pass\"word"anddo\mainbecomes"do\\main". Unescaped special characters will silently break the JSON: a broken MCP client config keeps the server from starting, and a brokensystems.jsonmakessap_loginfail with a config error.
[!TIP] Windows file extensions: If file extensions are hidden in Windows Explorer, creating
.mcp.jsonvia right-click → New → Text File will produce.mcp.json.txt(or.mcp.json.jsonif you rename). Make sure "File name extensions" is checked in Explorer's View tab, then rename the file.
Ask your SAP basis team for the server-side setting early - it is the only step you cannot do yourself.
Server side (requires admin/basis team):
RZ11 → parameter sapgui/user_scripting → set to TRUEClient side (your PC):
[!IMPORTANT] The two notification checkboxes must be unchecked. If left checked, every COM connection triggers a modal popup that blocks automation.
Download sapgui_mcp_windows_<version>.exe from GitHub Releases. It is a single file - no Python needed. Do not use the sapgui_mcp_windows_with_remote_logging_<version>.exe variant: it sends logs to a remote log service and is meant for the maintainers. To verify the download, run Get-FileHash .\sapgui_mcp_windows_<version>.exe in PowerShell and compare the hash with checksums.txt from the same release.
Tip
Windows blocks the
.exe? Windows may flag an executable as downloaded from another computer. If you trust the file downloaded from our GitHub Releases, right-click it → Properties (Eigenschaften) → General (Allgemein). Under Security (Sicherheit), check Unblock (Zulassen), then Apply (Übernehmen) and try again.The checkbox only appears when Windows has marked the file as downloaded from another computer. This removes that download block; it does not override Smart App Control. If Smart App Control still blocks execution, contact your IT administrator rather than disabling protection.
systems.json)This file holds your SAP credentials and is shared with aibap.mcp - configure it once and all Hochfrequenz SAP MCP servers will use it.
On Windows, open Windows Explorer and paste this into the address bar:
%USERPROFILE%\.config\sap-mcp
Create the folder if it doesn't exist, then create a file called systems.json inside it.
There are two distinct identifiers per system - don't mix them up:
| Concept | Example | Where it's used |
|---|---|---|
| System key (dictionary key) | "dev", "qa" |
sap_login(system_key="qa") - selects which system to log into |
SAP Logon entry (connection_name field) |
"DEV S/4HANA", "DEV - ERP Development" |
Must match the bold description in the SAP Logon pad exactly |
The SAP Logon entry is not the 3-character System ID (SID):
| What you see in SAP Logon | connection_name value |
NOT this (SID) |
|---|---|---|
| DEV S/4HANA | "DEV S/4HANA" |
"XYZ" |
| DEV - ERP Development | "DEV - ERP Development" |
"DEV" |
If the connection_name doesn't match exactly, you'll get "SAP Logon connection entry not found".
{
"default_system": "dev",
"systems": {
"dev": {
"connection_name": "DEV S/4HANA",
"host": "https://your-sap-system:44300",
"client": "100",
"user": "your_username",
"password": "your_password",
"language": "DE"
}
}
}
[!NOTE] This server connects through
connection_name(the SAP Logon entry); it does not usehostortls_skip_verify. The shared config format still requireshost, so enter your system's HTTPS URL - other tools that readsystems.json, such asaibap.mcp, use it.tls_skip_verifymatters only to those tools.
[!IMPORTANT] After editing
systems.json, restart Claude Desktop, Claude Code, or opencode for the changes to take effect.
[!TIP] Don't want your password sitting in the file? A system's string fields -
connection_name,host,client,user,password,language,oauth2_client_id- may reference an environment variable instead, using${env:VAR}:"user": "${env:SAP_DEV_USER}", "password": "${env:SAP_DEV_PASSWORD}"The file then holds only structure - which systems exist, their hosts and connection names - so it is safe to commit and share with your team, while the credentials come from your environment or password manager. If a referenced variable is unset or empty, the first tool call that needs a credential -
sap_login, for instance - fails with an error naming the variable, rather than logging in with an empty password.
See sap-mcp-config for the complete field reference - all optional fields, validation rules, YAML support, ${env:VAR} placeholder rules, and a visual guide to finding your connection_name in SAP Logon.
[!TIP] Note the full path to the downloaded
.exe. For example, if you savedsapgui_mcp_windows_<version>.exeto your Downloads folder, the path isC:/Users/YourName/Downloads/sapgui_mcp_windows_<version>.exe. Always use forward slashes (/) in JSON, not backslashes (\).
Add to claude_desktop_config.json. To open the file: press Win+R, type %APPDATA%\Claude, press Enter. If claude_desktop_config.json does not exist, create a new text file with that exact name (make sure it ends in .json, not .json.txt).
{
"mcpServers": {
"sap-desktop": {
"command": "C:/path/to/sapgui_mcp_windows_<version>.exe"
}
}
}
Recommended: register once for all projects (user scope). Run this in PowerShell:
claude mcp add --scope user sap-desktop '--' C:/path/to/sapgui_mcp_windows_<version>.exe
Together with systems.json, this is all Claude Code needs - no .mcp.json in any project folder.
Optional server settings (see environment variables) go as -e options between the server name and '--':
claude mcp add --scope user sap-desktop -e GITHUB_PAT=your_github_pat -e OUTPUT_DIR=C:/sap-output '--' C:/path/to/sapgui_mcp_windows_<version>.exe
Two details matter:
sap-desktop) before -e. The -e option accepts several values, so a name placed after it is read as a second environment variable and the command fails with error: missing required argument 'commandOrUrl'.'--'. If Claude Code was installed through npm, claude is a PowerShell script, and PowerShell silently drops an unquoted -- before passing the arguments on. -e then swallows the .exe path and the command fails with the same error. This works in PowerShell, bash and zsh (in bash or zsh, '--' and -- are equivalent). In cmd.exe, single quotes are not quoting characters, so write a plain -- instead.If Claude Code still starts an old or broken registration instead of the global one, see Claude Code ignores the global registration.
Alternative: per project. Add to .mcp.json in your project root:
{
"mcpServers": {
"sap-desktop": {
"command": "C:/path/to/sapgui_mcp_windows_<version>.exe"
}
}
}
Add to opencode.json in your project root:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"sap-desktop": {
"type": "local",
"command": ["C:/path/to/sapgui_mcp_windows_<version>.exe"],
"enabled": true
}
}
}
[!TIP] In
opencode.json, you can use either forward slashes (C:/path/to/...) or double-escaped backslashes (C:\\path\\to\\...) in thecommandpath. Single backslashes will break the JSON silently.
Optional server settings (environment variables) go in an "env": { ... } block next to "command" in claude_desktop_config.json and .mcp.json, and in an "environment": { ... } block in opencode.json. With claude mcp add, a value passed with -e (such as a PAT) ends up in your shell history.
Multi-system support is built into systems.json - add multiple systems and the LLM can switch between them:
How it works:
sap_list_connections returns both configured systems (from systems.json) and SAP Logon entries (from SAPUILandscape.xml).sap_login(system_key="qa") logs into a specific system using credentials from systems.json.Configuration: Add multiple systems to your systems.json. The dictionary key (e.g. "dev", "qa") is the system_key you pass to sap_login. The connection_name field must match the SAP Logon entry description exactly:
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.