Skip to content
VS Code

SAP UI MCP for VS Code

io.github.didroai/sap-ui-automation

Let AI agents see and interact with SAP GUI, Web GUI and Fiori screens, or read them only.

client:VS Code transport:stdio runtime:npm

Install SAP UI MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "sap-write",
      "description": "SAP_WRITE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-allow-systems",
      "description": "SAP_ALLOW_SYSTEMS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-allow-tcodes",
      "description": "SAP_ALLOW_TCODES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sap-block-tcodes",
      "description": "SAP_BLOCK_TCODES",
      "password": true
    }
  ],
  "servers": {
    "sap-ui-automation": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sap-ui-automation"
      ],
      "env": {
        "SAP_WRITE": "${input:sap-write}",
        "SAP_ALLOW_SYSTEMS": "${input:sap-allow-systems}",
        "SAP_ALLOW_TCODES": "${input:sap-allow-tcodes}",
        "SAP_BLOCK_TCODES": "${input:sap-block-tcodes}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

SAP UI MCP in other clients