MCP.so
Sign In

MCP SAP GUI Server

@mario-andreschak

About MCP SAP GUI Server

MCP server that allows simple SAP GUI interaction for LLM models using simulated mouse clicks and keyboard input.

Basic information

Category

Productivity

License

MIT

Runtime

python

Transports

stdio

Publisher

mario-andreschak

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-sap-gui": {
      "command": "python",
      "args": [
        "-m",
        "sap_gui_server.server"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP SAP GUI Server?

MCP SAP GUI Server is a Model Context Protocol (MCP) server that automates SAP GUI interactions. It provides tools to programmatically launch SAP transactions, click, type, scroll, and capture screenshots. Designed for developers and automation engineers who need to integrate SAP GUI with AI assistants or custom scripts.

How to use MCP SAP GUI Server?

Install via setup.bat or build.bat, configure SAP credentials in .env, and optionally integrate with Cline or Roo using integrate.bat. Invoke the server via Python (python -m sap_gui_server.server) and use tools like launch_transaction, sap_click, sap_type, etc., with optional screenshot return formats.

Key features of MCP SAP GUI Server

  • Launch and end SAP transactions programmatically
  • Click, move mouse, and type at exact coordinates
  • Scroll the SAP GUI screen up or down
  • Capture and save screenshots or return them as image data
  • Multiple screenshot return formats: none, file, base64, ImageContent, or data URL
  • Integrates with Cline and Roo MCP clients

Use cases of MCP SAP GUI Server

  • Automate repetitive SAP transactions (e.g., VA01, ME21N, MM03)
  • Build AI‑powered assistants that interact with SAP GUI
  • Perform screen‑scraping and extract data from SAP sessions
  • Test and validate SAP workflows without manual intervention

FAQ from MCP SAP GUI Server

What are the requirements to run MCP SAP GUI Server?

Python 3.8+, SAP GUI installed and configured, valid SAP credentials (system, client, user, password), and Node.js (for npx).

How do I install and configure MCP SAP GUI Server?

Clone the repository, run setup.bat, copy .env.example to .env, and update with your SAP credentials. Optionally use integrate.bat cline or integrate.bat roo to automatically configure MCP settings.

What screenshot return formats are supported?

none (default), as_file (saves to disk), as_base64 (returns raw base64 string), as_imagecontent (returns MCP ImageContent object), and as_imageurl (returns embedded resource with data URL). For as_file you must specify a target folder via as_file_target_folder.

Does MCP SAP GUI Server require network or authentication?

It communicates with SAP GUI installed locally (not over the network). Authentication is handled via standard SAP credentials stored in the .env file. The MCP transport is local stdio.

What are the limitations of the tools?

All interactions are based on pixel coordinates (x/y) derived from screenshot analysis. The server has no direct access to screen element metadata. Coordinates must be exact; approximate clicking will fail. Screenshots are returned after each action.

Comments

More Productivity MCP servers