From the book · Premium guide
How to connect an AI assistant to SAP
An AI assistant that has never seen your system invents object names, guesses field lengths and describes tables that don't exist. Connected to your development system, it can read the real source, dictionary objects and dumps instead. This page explains how that connection works and how to keep it read-only.
It's a condensed version of Appendix D of Build in SAP with AI, written from the connector used on a real project. The full appendix has every file, script and setting.
The four pieces
1 / 4
The model
Writes the answers. It can run inside your company network or be a hosted service. If it is hosted, everything the connector reads is sent to that provider, and IT needs to know that.
2 / 4
The client
The app you type into. When the model asks for a tool, the client starts it and passes the result back. Any client that supports MCP, the Model Context Protocol, will do.
3 / 4
The connector
A small MCP server, a Node.js program on your laptop. The client talks to it through a local pipe; it turns each tool call into an HTTPS request to SAP and returns the answer as text.
4 / 4
The SAP side
Mostly standard: the ADT REST services under /sap/bc/adt, the same ones Eclipse uses. They read programs, classes, CDS views, dictionary objects, dumps, versions and where-used lists.
you → client → model → (tool call) → client → connector → HTTPS → /sap/bc/adt → answer back the same way
The rule that matters most
The connector has no authorizations of its own. It logs on as the SAP user you give it and sees exactly what that user sees. Whatever the user can display, the assistant can read; whatever the user can change through the services the connector calls, the assistant could in principle change. So your SAP authorizations are the real security boundary, and the connector's list of tools is the second one. The cleanest setup is a separate, display-only user for the connector.
Premium
The rest of this guide is part of Premium
Premium members also get:
- The prerequisites to agree with Basis, and how to test the logon before installing anything
- Which connector tools to switch on, which to remove, and why
- Three setup mistakes that cost an afternoon, or leak a password
- The order of work in ten steps, from IT approval to logging
Sign up free, then upgrade to read the full guide. Simulators and free modules stay free.

The full version is in the book
Build in SAP with AI, Appendix D
This page is the map. The appendix is the whole route, including:
- The client configuration and an MCP Bundle manifest you can adapt, with the password marked sensitive
- Launcher scripts that read the password from the macOS, Linux or Windows credential store
- The certificate fix, step by step, including what to search for in the code
- How each request works: logon, the sap-client parameter, CSRF tokens and retries
- The full table of tools, the SAP service each one calls, and a recommendation for each
- The ADT addresses for adding your own read-only tools
- Logging on the SAP side and on yours, and a troubleshooting table of the errors you are most likely to hit
Chapter 12 covers getting IT to approve it, with a one-page AI-use note template in Appendix E, and Chapter 2 shows why an unconnected assistant gets so much wrong.
Want to see what an unconnected assistant gets wrong? Try Review the AI: eight real situations, five minutes.
Use this only on a system and with an assistant your company has approved, starting with development and never production. Tools and versions change: the open-source connector the book builds on and the MCP Bundle format were checked in October 2026; confirm against their current documentation. SAP and ABAP are trademarks of SAP SE. This guide is independent and not affiliated with or endorsed by SAP SE.