ABAP ADT API MCP
Lets your AI agent read, edit, check and activate ABAP code and manage transports on an SAP system.
211 stars on GitHubby Mario AndreschakLicense MITUpdated 2 months ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add abap-abap-adt-api -e SAP_URL="<your value>" -e SAP_USER="<your value>" -e SAP_PASSWORD="<your value>" -- npx -y mcp-abap-abap-adt-api
What to fill in
| Name | What it is | Required |
|---|---|---|
SAP_URL | Base URL of the SAP system, e.g. https://host:44300 | Yes |
SAP_USER | SAP username | Yes |
SAP_PASSWORD | SAP password | Yes |
SAP_CLIENT | SAP client number, e.g. 100 | No |
SAP_LANGUAGE | Logon language, e.g. EN | No |
NODE_TLS_REJECT_UNAUTHORIZED | Set to 0 to allow self-signed certificates (development only), 1 to enforce TLS verification | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Find the class ZCL_INVOICE_XML_GEN_MODEL in our SAP system and show me its source.
Add a null check to that method, run a syntax check and tell me if it passes.
What it is
This server connects your AI agent to an SAP ABAP system through ADT (ABAP Development Tools). The agent can find objects, read and change source code, run syntax checks, activate objects and work with transports. It shares one SAP session, and your SAP authorizations decide what it can read or change.
What it can do
searchObject: find ABAP objects by namegetObjectSource: read the source of an objectsetObjectSource: write changed source codelockandunLock: lock an object for editing and release itsyntaxCheckCode: check ABAP code for errorsactivate: activate an objecttransportInfo: get transport request detailsreadResultPage: read large results page by page
When to use
- βΊWhen you want your agent to find and read ABAP classes or programs in an SAP system.
- βΊWhen you want your agent to change ABAP source, check the syntax and activate it under a transport.
- βΊWhen you need to look up transport information for an object before changing it.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
testing-api-for-broken-object-level-authorizationTeaches your AI agent to test code and catch bugs before users do and build APIs and back-end systems.webiny-api-permissionsTeaches your agent to set up permission checks for Webiny API features, such as read, edit, delete and publish rights.setting-up-a-custom-rest-sourceHelps your agent connect any REST API that has no built-in PostHog connector by writing a small setup file and testing it on live data.Frequently asked questions
Is it free and open source?
The readme does not state a license or price. The project is a wrapper around the open abap-adt-api library and is built from source.
What do I need to run it?
Node.js 22.22.2+ or 24.15.0+ and access to an SAP system with ADT enabled. You give the server your SAP URL, user, password and client in its environment settings.
Can it change my SAP system?
Yes. It can edit objects, lock, activate and work with transports. SAP authorizations decide what the session may do, so use a development system first.
Does it run remotely?
No. It runs locally over stdio, started by your MCP client. It is not an HTTP server.
Are there limits?
Only one operation runs at a time, and requests time out after 60 seconds by default. Results above 64 KiB are returned in pages.
Can I disable TLS checks?
No. TLS verification cannot be disabled. For a private certificate authority, set NODE_EXTRA_CA_CERTS before starting Node.
If it does not work
- βΊCheck that SAP_URL is only an origin (no path or credentials) and that SAP_USER, SAP_PASSWORD and SAP_CLIENT are set in your client config.
- βΊIf a write was interrupted, inspect the object and its locks, then run login, dropSession or logout to recover the session.
- βΊIf you get a busy error, wait for the running operation to finish; only one runs at a time.
5 new skills a week. 1 minute to read.