ABAP ADT MCP Server

MCP server to SAP ABAP through ADT: an agent reads code of programs, classes, tables and CDS and searches objects in the system

  • 209 ★ on the repository
  • Last commit
MCP server

Extended access

Why this level

  • SAP credentials live in environment variables or `.env` and tables can be read, so the agent sees system data
  • The server calls a live SAP system over the network under your account, so limit the rights to reading
All reasons and checks

mario-andreschak/mcp-abap-adt

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add mcp/abap-adt-mcp-server

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • SAP credentials live in environment variables or `.env` and tables can be read, so the agent sees system data
  • The server calls a live SAP system over the network under your account, so limit the rights to reading

This is third-party code. Review the repository files before installing.

What it does

mcp-abap-adt connects AI tools such as Claude, Cline or FLUJO to an SAP ABAP system over the ADT (ABAP Development Tools) protocol. An agent reads the source of programs, classes, function groups and modules, includes, interfaces, DDIC structures and tables, table contents with a limit up to 10,000 rows, CDS views, packages and types, and `SearchObject` finds objects by query. Behavior and service definitions can be read too. The package is published on npm as `mcp-abap-adt` and in the MCP registry as `io.github.mario-andreschak/mcp-abap-adt`. It runs with `npx -y mcp-abap-adt` and the SAP connection is passed in the `SAP_URL`, `SAP_USERNAME`, `SAP_PASSWORD` and `SAP_CLIENT` variables. Every tool accepts the shared paging parameters `startLine` and `maxLines`.

Who it is for. SAP developers and consultants who need to go through other people's ABAP code and tables with an agent without copying sources by hand.

Good fit when

  • You need to understand what program `ZMY_PROGRAM` does: the agent reads the source and related includes
  • Before a change you need a table's structure and the first 50 rows of its contents
  • The agent finds classes and CDS views by part of a name through `SearchObject`
  • You need to make sense of a behavior definition and a service in a new RAP app

Not a fit when

  • You need writing and activating objects in SAP: the tool list is read-only
  • The SAP system does not expose ADT services: without an active `/sap/bc/adt` the server is useless
  • The agent must not see production table data: table contents are read with the `GetTableContents` tool

Example request

Read the source of program ZMY_PROGRAM, show the structure of table ZMY_TABLE and the first 50 rows of its contents

MCP

Transport
stdio
Authentication
API key

Environment variables

SAP_URL required
Address of the SAP ABAP system, for example https://my-sap-system.com:8000
SAP_USERNAME required
SAP user name
SAP_PASSWORD required, secret
SAP user password
SAP_CLIENT required
SAP client number, for example 100

Limitations

A network-reachable SAP ABAP system with ADT services enabled is required: the `/sap/bc/adt` service must be active in transaction `SICF`, and a Basis administrator helps configure it. The system URL, login, password and SAP client number are required, and secrets go through environment variables or an `.env` file. Running needs Node.js, preferably the LTS version. Table contents can be read so the agent may see SAP data. The tools only read. The license is MIT. The README is written for beginners and describes the install step by step.

How to disable. Remove the server from the client and the `.env` file with the SAP credentials. Change the SAP password if it was stored in plain form.

FAQ

How do I run mcp-abap-adt?

With `npx -y mcp-abap-adt`, usually from an MCP client config with the arguments `["-y", "mcp-abap-adt"]` and the variables `SAP_URL`, `SAP_USERNAME`, `SAP_PASSWORD` and `SAP_CLIENT`.

What is needed on the SAP side?

A reachable ABAP system, an active `/sap/bc/adt` service in `SICF`, an account with read rights and the client number.

Which objects can it read?

Programs, classes, function groups and modules, structures, tables, CDS views, packages, types, includes, interfaces, transactions, behavior definitions and service definitions.

How many table rows does it return?

`GetTableContents` takes `max_rows` from 1 to 10,000 with a default of 100.

Can it be connected through FLUJO or Cline?

Yes, the documentation has a one-click install through FLUJO and setup for Cline, Claude Desktop and Claude Code.

Discussion

No questions or reviews yet.

mcp-abap-adt opens SAP ECC, S/4HANA and BTP ABAP repositories to an agent: analysis, creation and editing of objects through ADT.

MCP serverBroad access106Repository stars

An MCP server for SAP ABAP: an agent finds objects, reads and edits sources, checks syntax and handles transports through ADT

MCP serverBroad access213Repository stars

ARC-1: an MCP server for SAP ABAP systems, safe by default, with reading, code edits, transports and checks through ADT.

MCP serverBroad access258Repository stars

vsp is an ADT to MCP bridge: an agent reads and writes ABAP code, runs tests and drives the SAP debugger with no server install

MCP serverBroad access524Repository stars

A debugger MCP server: the agent sets breakpoints, steps through code and reads variables of a live program over DAP.

MCP serverBroad access106Repository stars

README in short

A detailed beginner guide: prerequisites, install from npm or source, running, connecting to FLUJO, Cline, Claude Desktop and Claude Code, troubleshooting and a table of tools with parameters and examples.

README badge

Report a problem