Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

sapguimcp

Latest version: v1.0.6rc1

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: hochfrequenz
22 Stars
4 Forks
6 Versions
494 Downloads
Python Repo language

Scan summary

sapguimcp was last scanned on 23 Nov 2026 at version 1.0.6rc1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 6 versions; the latest 5 were published within 5 days (19–23 Nov 2026).
  • Findings: No rules fired in version 1.0.6rc1.
  • Downloads: 494 downloads.

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

No rules fired in 1.0.6rc1

Findings

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.

README

The publisher’s own README, as collected from the registry.

SAP GUI MCP Server

Unittests Coverage Linting Formatting

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-demo in 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 via sap_run_script.

Windows only

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.

Pairing with other MCPs

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.

Batch scripting: the same click journey n times for the token cost of one tool call

[!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.

Language-specific behaviour for some transactions

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).

Under the hood

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

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 (env block), 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 and aibap.mcp both 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 Code - register once with claude mcp add --scope user (recommended) or per project in .mcp.json. Step 3 shows both.
  • Claude Desktop - claude_desktop_config.json; open it via Settings → Developer → Edit Config (usually %APPDATA%\Claude).
  • opencode - opencode.json in the project root.

[!WARNING] Special characters in passwords stored in a .json file: If your SAP password contains " or \ characters, you must escape them in the JSON config files: " becomes \" and \ becomes \\. For example, pass"word becomes "pass\"word" and do\main becomes "do\\main". Unescaped special characters will silently break the JSON: a broken MCP client config keeps the server from starting, and a broken systems.json makes sap_login fail with a config error.

[!TIP] Windows file extensions: If file extensions are hidden in Windows Explorer, creating .mcp.json via right-click → New → Text File will produce .mcp.json.txt (or .mcp.json.json if you rename). Make sure "File name extensions" is checked in Explorer's View tab, then rename the file.

Prerequisites

Ask your SAP basis team for the server-side setting early - it is the only step you cannot do yourself.

  • SAP GUI for Windows installed (standard path - the server finds it automatically via Windows registry)
  • SAP GUI Scripting enabled (one-time setup, see below)

Server side (requires admin/basis team):

  • Transaction RZ11 → parameter sapgui/user_scripting → set to TRUE
  • Dynamic parameter - no server restart needed, but users must re-login (close and reopen SAP GUI)

Client side (your PC):

  1. Open SAP Logon or any SAP GUI session
  2. Go to Options (via menu bar, tray icon, or press Alt+F12 in a session)
  3. Navigate to Accessibility & Scripting → Scripting (DE: Barrierefreiheit & Skripting → Skripting)
  4. Check "Enable Scripting" (DE: "Skripting aktivieren")
  5. Uncheck "Notify when a script attaches to SAP GUI"
  6. Uncheck "Notify when a script opens a connection"

[!IMPORTANT] The two notification checkboxes must be unchecked. If left checked, every COM connection triggers a modal popup that blocks automation.

Step 1: Download the executable

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.

Smart App and other Security Tools

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.

Screenshot: the Unblock checkbox in Windows file properties

Step 2: Create the SAP config file (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 use host or tls_skip_verify. The shared config format still requires host, so enter your system's HTTPS URL - other tools that read systems.json, such as aibap.mcp, use it. tls_skip_verify matters 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.

Step 3: Configure your MCP client

[!TIP] Note the full path to the downloaded .exe. For example, if you saved sapgui_mcp_windows_<version>.exe to your Downloads folder, the path is C:/Users/YourName/Downloads/sapgui_mcp_windows_<version>.exe. Always use forward slashes (/) in JSON, not backslashes (\).

Claude Desktop

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"
        }
    }
}
Claude Code

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:

  • Keep the server name (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'.
  • Keep the quotes around '--'. 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"
        }
    }
}
opencode

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 the command path. 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 access

Multi-system support is built into systems.json - add multiple systems and the LLM can switch between them:

How it works:

  1. sap_list_connections returns both configured systems (from systems.json) and SAP Logon entries (from SAPUILandscape.xml).
  2. 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:

OX Radar and Response Center

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.

Where it’s listed

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).

  • pypi-releases sapguimcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229