跳到正文
FunCoding

mcp-sap-gui

官方 MCP Registry 已收录

SAP GUI for Windows automation for AI agents - 61 structured tools via SAP GUI Scripting API

Star
63
版本
v0.6.2
许可证
MIT
最近提交
2026年12月1日

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 desktop app again on 2026-12-01: 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 tab does not support them), so a save is refused there: the assistant can fill the screen, and you press Save in SAP GUI yourself. The full table: Clients.

Documentation

PageFor
Getting startedInstalling it and the first questions
What it can doWhat to ask, and what is covered
ClientsSetup per MCP client, and which ones show the confirmation questions
ConfirmationsWhat asks, and what each answer does
TroubleshootingWhen something does not work
Preparing SAPEnabling scripting, also for named users or read-only; SAP Business Client
ConfigurationEvery option and environment variable; profiles, HTTP, code mode
Security guideSafeguards, the transaction policy, the audit log, a recommended setup
SAP GUI versionsWhich SAP GUI releases work, and how
ToolsEvery tool the assistant can call
CHANGELOGWhat changed in each release

What's new

0.6.3 tells you what to do when your client cannot show the server's questions: a refused save now says that your entries are still on the screen and that you can press Save in SAP GUI yourself, and the assistant learns it as soon as it attaches to a session. A script that starts the server can approve its own saves with --client-approves save, and the audit log now begins with the settings each run was started with. 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.

同类 MCP Server

Netdata

Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.

NEnetdata/netdata82k近 7 天新增 123 个 star

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

JAJanDeDobbeleer/oh-my-posh24k近 7 天新增 29 个 star

Coder

Manage Coder workspaces, templates, and cloud development environments

COcoder/coder18k近 7 天新增 57 个 star

docker-android

Android in docker solution with noVNC supported, video recording, mcp server and AI-agent

BUbudtmo/docker-android16k近 7 天新增 18 个 star

精选

Windows-MCP

控制 Windows 应用,操作文件和界面,执行 QA 测试。

CUCursorTouch/Windows-MCP12k近 7 天新增 286 个 star

pal-mcp-server

The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.

BEBeehiveInnovations/pal-mcp-server12k近 7 天新增 21 个 star