Skip to main content

MCP SAP GUI Server

CI Docs Release

An MCP server that lets AI assistants work in SAP GUI for Windows: ask in plain language, and the assistant reads screens and tables, fills in fields, runs transactions and handles popups, through SAP's own Scripting API. A save with F11 or the Save button waits for your yes (what asks).

It works with any MCP client that can start a local server: Claude Code, GitHub Copilot, Codex, Google Antigravity and others.

sap_preview card in VS Code Copilot Chat: the SAP screen and the values about to be written

What it does

  • Looks things up: display transactions, fields, ALV grids, table controls, classic report lists and trees, read in full however long they are.
  • Fills in and changes: fields, checkboxes, dropdowns, whole forms, table cells, F4 value help, table maintenance and IMG activities.
  • Navigates: transactions, buttons, function keys, menus, tabs, SPRO and other trees.
  • Handles popups, recognising questions, warnings, F4 lists and SAP messages in any logon language.
  • Shows before it saves: a preview of the screen and the values about to be written, and screenshots on request.

More, with example prompts: What it can do.

Requirements

  • Windows with SAP GUI for Windows (8.10 verified, 8.00 works; SAP GUI versions), and SAP Logon running.
  • SAP GUI Scripting allowed in SAP GUI and on the SAP system: Preparing SAP.
  • uv, which runs the server from PyPI.
  • An MCP client. To approve saves, one that shows the server's confirmation questions (listed below).

Quick start

  1. Install uv: winget install --id=astral-sh.uv -e

  2. Add the server to your MCP client:

    Command:   uvx
    Arguments: mcp-sap-gui[screenshots]
    Transport: stdio
    

    In the Claude Code CLI, for example: claude mcp add sap-gui --scope user -- uvx "mcp-sap-gui[screenshots]". Every client: Clients.

  3. Log on to SAP in SAP Logon, then ask: "Connect to my open SAP session and tell me what system I'm on."

Step by step, including updating to a new release: Getting started.

Safety

  • Saves wait for your yes, and you can make other changes wait too, for example every field write: Confirmations.
  • A transaction policy decides which transactions the assistant may start; read-only mode and profiles limit it further.
  • An audit log records every call, question and answer.
  • Everything runs as the logged-on SAP user, under that user's authorizations, which remain the real boundary.

Details for admins, Basis and security teams: Security guide.

Which clients show the confirmation questions

Tested on 2026-10-28: the Claude Code CLI, the GitHub Copilot CLI, VS Code with GitHub Copilot and the Codex CLI show them. The Claude desktop app does not (its Code tab declines without showing anything, its Chat and Cowork tabs do not support them), so a save is refused there: use it for reading. The full table: Clients.

Documentation

Page For
Getting started Installing it and the first questions
What it can do What to ask, and what is covered
Clients Setup per MCP client, and which ones show the confirmation questions
Confirmations What asks, and what each answer does
Troubleshooting When something does not work
Preparing SAP Enabling scripting, also for named users or read-only; SAP Business Client
Configuration Every option and environment variable; profiles, HTTP, code mode
Security guide Safeguards, the transaction policy, the audit log, a recommended setup
SAP GUI versions Which SAP GUI releases work, and how
Tools Every tool the assistant can call
CHANGELOG What changed in each release

What's new

0.6.2 lets the assistant work inside ALV grids: click hotspots and cell buttons, tick checkboxes, open value help and context menus, select columns by name, and tell totals lines from records. Screenshots can frame or black out fields and cells and carry a caption, and in Business Client they no longer show other windows. Transaction codes with special characters such as F-02 are now checked by the transaction policy when typed into the command field. Every change: CHANGELOG.

Contributing

Bug reports and pull requests are welcome: CONTRIBUTING. Security issues: SECURITY.

License

MIT. See LICENSE.

Disclaimer

This project is not affiliated with, endorsed by, or sponsored by SAP SE. SAP, SAP GUI, and other SAP products mentioned are trademarks of SAP SE.

Use of this software with SAP systems should comply with your SAP licensing agreement and your organization's security policies.

Metadata

Release files for mcp-sap-gui 0.6.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-sap-gui 0.6.2
File Size Uploaded Provenance Actions
mcp_sap_gui-0.6.2.tar.gz 537.2 kB With provenance Details for mcp_sap_gui-0.6.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcp-sap-gui 0.6.2
File Interpreter ABI Platform Actions
mcp_sap_gui-0.6.2-py3-none-any.whl Python 3 none any Details for mcp_sap_gui-0.6.2-py3-none-any.whl

Total release size: 701.7 kB

Release files / mcp_sap_gui-0.6.2.tar.gz

Download URL mcp_sap_gui-0.6.2.tar.gz
Size 537.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9bd9b9e0097c102e04a0f6b05d5e954ac4b2b34447276def7600d4223d060802
BLAKE2b-256 checksum
How to use checksums
cac888a876b2b8463531942838deae9de83d1bc328bc825f0ae8b0c9850f2412
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / mcp_sap_gui-0.6.2-py3-none-any.whl

Download URL mcp_sap_gui-0.6.2-py3-none-any.whl
Size 164.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cea2fc4a67135dbbfb263b4cae32c9cca684de773f497fad6b240a8137d80bc2
BLAKE2b-256 checksum
How to use checksums
96d63ddc38c1ccbd3f9a6fea7af1150b77919d61dfdf398116e30ac80b068119
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Security for mcp-sap-gui 0.6.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mcp_sap_gui-0.6.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page