Sapient Mcp
@toni-ramchandani
About Sapient Mcp
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"sapient": {
"command": "python",
"args": [
"-m",
"sapient_mcp"
],
"env": {
"SAPIENT_MCP_SAPLOGON_PATH": "C:\\Program Files (x86)\\SAP\\FrontEnd\\SAPgui\\saplogon.exe",
"SAPIENT_MCP_CAPS": "screenshot,codegen,advanced",
"SAPIENT_MCP_OUTPUT_DIR": "C:\\sapient_output"
}
}
}
}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 Sapient MCP?
Sapient MCP is a production-ready Model Context Protocol (MCP) server that enables LLMs (Claude, Copilot, Cursor, etc.) to automate SAP GUI using the RoboSAPiens library. It runs on Windows and is intended for developers or power users who need AI agents to interact with SAP systems.
How to use Sapient MCP?
Install by cloning the repo and running pip install -e . or uv pip install -e .. Configure via environment variables, CLI flags, or a JSON config file; then launch the server in stdio or SSE mode. Clients like Claude Desktop, Cursor, or VS Code connect using predefined JSON configuration entries.
Key features of Sapient MCP
- Core tools for launching, connecting, and interacting with SAP GUI
- Optional capabilities: screenshot, codegen, and advanced window snapshot
- Runs in stdio or SSE/HTTP mode for local or remote use
- All logs go to file only in stdio mode for clean JSON-RPC
- Configurable via environment variables, CLI flags, or config file
Use cases of Sapient MCP
- Automate creation of purchase orders and other SAP transactions
- Extract data from SAP fields, tables, and status bar messages
- Perform repetitive SAP tasks through AI assistants like Claude or Copilot
- Share a single SAPient instance among multiple users via SSE mode
FAQ from Sapient MCP
What are the prerequisites?
Windows 10/11, Python 3.10 or newer, SAP GUI for Windows installed, and SAP scripting must be enabled on the server and client.
How do I run the server in SSE mode?
Use python -m sapient_mcp --port 8765 --caps screenshot,codegen,advanced and point any MCP client to http://hostname:8765/mcp.
Does Sapient MCP write logs to stdout?
No, in stdio mode all logs are written only to the log file to avoid interfering with JSON-RPC communication.
What environment variables are available?
Variables with the ROBOSAP_MCP_ prefix control the SAP Logon path, SAP server/client/user/password, port, capabilities, output directory, and screenshot-on-error behavior.
Which clients are supported?
Claude Desktop, Claude Code, Cursor, VS Code (with Copilot agent mode), Windsurf, and any MCP client via SSE/HTTP.
More Other MCP servers
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Servers
modelcontextprotocolModel Context Protocol Servers
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
Codelf
unbugA search tool helps dev to solve the naming things problem.
Comments