About Sap Ui MCP
Sap Ui MCP is an MCP server published by DidroAI in the Blockchain category: mCP server, CLI and SDK that let AI agents see and drive SAP GUI, Web GUI and Fiori screens. Each write waits for your yes. Conduid read 13 tools from its source: sap_act, sap_history, sap_library, sap_logon, sap_look, sap_record and 7 more. No package is published for it, so it installs from a source checkout.
The repository has 39 stars and 2 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. Its topics include browser-automation, chrome-extension, s4hana, sap, sap-fiori and sap-gui.
Install
git clone https://github.com/DidroAI/sap-ui-mcpTools (13)
sap_actUse to enter values, choose controls, press keys or open a transaction in the current or a second SAP session. Returns the resulting screen. ${policy.write === "off" ? "Actions that may write are refused." : "Actions that may write run."}| Parameter | Type | Description |
|---|---|---|
| actions | array | Up to ${MAX_BATCH} ordered steps. Put each action’s fields inside its step, e.g. [{"do":"set","id":"<field>","value":"0042"},{"do":"key","key":"Enter"}]. Stops on failure, refusal or an unexpected screen, popup or SAP status. |
| full | boolean | Return the full screen. In a diff, ~ means changed, + added, - removed and = unchanged. |
| newSession | string | Transaction to open in a second session of the same SAP GUI or Web GUI logon. Send on its own or with session, e.g. VA03. |
sap_historyUse after a task to identify which actions led to the desired result. Returns recent actions, typed values and observed outcomes in order, plus a source reference for reuse.| Parameter | Type | Description |
|---|---|---|
| includeSdk | boolean | Include the TypeScript SDK statement for each attempted action when authoring a workflow. |
| lastSteps | number | limit to the most recent N actions; default: all available, up to 200 |
sap_libraryUse to find a reusable workflow for a task or inspect its TypeScript, inputs and verification status.| Parameter | Type | Description |
|---|---|---|
| name | string | Exact workflow name to inspect its source and verification status. |
| query | string | Search names and metadata by keywords. Omit to browse all workflows. |
sap_logonUse to open a registered SAP system or start a separate logon. The extension handles credentials. If sign-in is rejected, leave it to the user.| Parameter | Type | Description |
|---|---|---|
| newSession | boolean | true: another session in a new window, even when one is open |
| otherLogons | string | only after the user said so: SAP asks whether to end the user's other logons, and "keep" continues without ending them |
| system * | string | the system's name, as sap_systems lists it |
sap_lookUse to inspect the current SAP screen, find control IDs or read more of a grid, menu or tree.| Parameter | Type | Description |
|---|---|---|
| cols | string | with id: columns by id or title, e.g. "VBELN,NETWR" |
| diff | boolean | only what changed since your last view |
| full | boolean | every id and toolbar button (larger) |
| id | string | Control ID for a detailed view of a dropdown, grid, table, tree or list. Use mbar for menus. |
| rows | string | With id, a zero-based range such as 120-180 (up to ${MAX_ROWS} rows). |
sap_recordUse before performing a task to record a regression test for sap_replay, or to manage recorded tests. Recordings include typed values.| Parameter | Type | Description |
|---|---|---|
| check | string | |
| contains | string | Assert a substring match. |
| description | string | Purpose of the recording or variable. |
| equals | string | Assert an exact match. |
| from | string | |
| id | string | Field ID for a field assertion or capture. |
| lastSteps | number | history or code: select the last N recent actions. For a code draft from history, omit tidy. |
| matches | string | a regular expression |
| name | string | the recording's (start, export) or the variable's (variable, capture) |
| op * | string | Start before acting, assert the expected result, then stop to save. Use help for operation examples. |
| pattern | string | regular expression; its first group is the value |
| replace | boolean | start, export: write over a file of the same name |
| text | string | Note to attach to the last step. |
| tidy | boolean | code: tidy an active or named recording. For session history, omit tidy and select useful actions from sap_history. |
| to | string | |
| value | string | Recorded value to replace with the named variable. |
sap_replayUse to rerun a saved regression recording after recording has stopped. Applies the SAP write policy and reports the failing step and recovery options if it stops.| Parameter | Type | Description |
|---|---|---|
| choices | string | a choice screen the recording lacks: stop (default) fails the step; continue presses its neutral Continue |
| format | string | json: the result as data |
| from | number | resume at this step on the screen as it is, after a failure there, with that run's variables |
| name | string | the recording (default: the one just stopped) |
| repair | object | with "from": a fix for that one step; a failure answer says its shape |
| screens | string | loose: landing on another screen than recorded is a note, not a failure |
| variables | object | Override recorded input values by variable name. |
sap_screenshotUse when the user wants a picture or sap_look marks an area opaque, such as a chart. Returns a PNG of the SAP window or tab.sap_sessionsUse to find an open SAP session or recover a lost target. Lists session IDs and marks the active session.sap_systemsUse to find a registered SAP system to open with sap_logon. Shows the client, saved user and sign-in availability.sap_useUse to switch the default SAP session for subsequent calls. Returns the newly selected screen.| Parameter | Type | Description |
|---|---|---|
| session * | string | number, id, system, transaction or sapgui|webgui|fiori |
sap_workflow_runUse to run a saved workflow with new inputs. Returns its declared outputs on success. SAP actions follow the configured write policy. ${DESCRIPTION_RISK}| Parameter | Type | Description |
|---|---|---|
| name * | string | Saved workflow name from sap_library. |
| session | string | session from sap_sessions; default: the active one |
| variables | object | Supply every required input listed by sap_library as a string. Preserve leading zeros. |
sap_workflow_saveUse to save a completed task as a reusable TypeScript workflow or update an existing one. Type-checks the code against the SDK before storing it.| Parameter | Type | Description |
|---|---|---|
| code * | string | Editable .sap.ts module. Example: import { test, expect } from "sap-ui-automation/test"; test('lookup', async ({ sap, input }) => { const order = input('order'); await sap.okcode('/nVA03'); await sap.set('<observed entry field>', order); await sap.key('Enter'); await expect(sap.field('<observed result field>')).toHaveValue(order); }); |
| name * | string | Workflow name (never a path). An existing name updates that workflow. |
| source | object | The source object returned by sap_history or a sap_record draft with lastSteps. Attach the reviewed actions without running SAP. |
Security checks
6 checks have not been run yet.