A Model Context Protocol (MCP) server for SAP GUI automation. This server provides tools to automate interactions with SAP GUI, enabling programmatic control of SAP transactions.

- Python 3.8 or higher
- SAP GUI installed and configured
- Valid SAP credentials (system, client, user, password)
- Node.js (for npx)
- Clone github folder and run the automated Install using setup script:
setup.bat
This will guide you through the build process and will integrate this directly in Cline or Roo, if you select so.
- OR Manual Install using build script..:
build.bat- Configure SAP credentials:
- Copy
.env.exampleto.env - Update the values with your SAP credentials
- Test server using mcp inspector:
run.bat debug- Use the integration script to automatically configure MCP settings:
integrate.bat cline # Configure for Cline
integrate.bat roo # Configure for RooThe script will:
- Automatically determine the correct settings file path
- Create a backup before making any changes
- Safely update the MCP configuration
- Validate changes to prevent corruption
Manual Configuration (if needed):
"mcp-sap-gui": {
"command": "python",
"args": [
"-m",
"sap_gui_server.server"
],
"cwd": "PATH_TO_YOUR_FOLDER/mcp-sap-gui",
"disabled": false,
"autoApprove": []
}