Sapient MCP Server

A **production-ready Model Context Protocol (MCP) server** that enables LLMs (Claude, Copilot, Cursor, etc.) to automate **SAP GUI** using the

Local serverstdioPython

What is the Sapient MCP MCP server?

If you already use Sapient MCP, the sapient mcp mcp server is the piece that lets your assistant work with it directly. A production-ready Model Context Protocol (MCP) server that enables LLMs (Claude, Copilot, Cursor, etc.) to automate SAP GUI using the RoboSAPiens library.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Cursor — Go to Cursor Settings → MCP → Add new MCP Server → type command, then enter:
  • Windsurf — The Windsurf tool exposed by this server

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Credentials and setup notes

Configuration is passed through the environment: SAPIENT_MCP_SAPLOGON_PATH, SAPIENT_MCP_CAPS, SAPIENT_MCP_OUTPUT_DIR, ROBOSAP_MCP_SAPLOGON_PATH. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

| Requirement | Details | |---|---| | OS | Windows 10/11 only (SAP GUI is Windows-only) | | Python | 3.10 or newer | | SAP GUI | SAP GUI for Windows installed | | SAP Scripting | Must be enabled on server (RZ11: sapgui/user_scripting=TRUE) AND in SAP Logon client settings |

Where it fits

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Sapient MCP's toolset — Cursor, Windsurf — is a fair guide to whether it matches your workflow. It is maintained by toni-ramchandani; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
CursorGo to Cursor Settings → MCP → Add new MCP Server → type command, then enter:
WindsurfThe Windsurf tool exposed by this server.

How to install the Sapient MCP MCP server

{
  "mcpServers": {
    "sapient": {
      "command": "python",
      "args": ["-m", "sapient_mcp", "--caps", "screenshot,codegen,advanced"],
      "env": {
        "SAPIENT_MCP_SAPLOGON_PATH": "C:\\Program Files (x86)\\SAP\\FrontEnd\\SAPgui\\saplogon.exe",
        "SAPIENT_MCP_OUTPUT_DIR": "C:\\sapient_output"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

| Requirement | Details | |---|---| | OS | Windows 10/11 only (SAP GUI is Windows-only) | | Python | 3.10 or newer | | SAP GUI | SAP GUI for Windows installed | | SAP Scripting | Must be enabled on server (RZ11: sapgui/user_scripting=TRUE) AND in SAP Logon client settings |

VariableDescriptionRequired
SAPIENT_MCP_SAPLOGON_PATHFilesystem location the server is allowed to use.Optional
SAPIENT_MCP_CAPSConfiguration value read at startup.Optional
SAPIENT_MCP_OUTPUT_DIRFilesystem location the server is allowed to use.Optional
ROBOSAP_MCP_SAPLOGON_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Sapient MCP to Cursor.
  • Use Sapient MCP to Windsurf.

Frequently asked questions

It connects Sapient MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Cursor, Windsurf) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Sapient MCP directly.