mcp-abap-adt

MCP.Pizza Chef: mario-andreschak

Sixteen read-only commands cover programs, classes, function groups, interfaces, tables, table rows, packages, CDS views and more, so your assistant can quote real code from a live SAP system instead of guessing. Nothing here creates, edits or deletes anything in SAP. You sign in with an ordinary SAP username and password rather than a key, and the code always skips certificate checking, so treat it as something to run on a trusted network only.

Coding
Data

Use This MCP server To

Read the source of an ABAP program without opening SAP GUI Look up what columns a table actually has Preview the first hundred rows of a table Find an object when I only remember part of its name Check which programs and objects a package contains Pull a class definition and have it explained in plain words

README

mcp-abap-adt: Your Gateway to ABAP Development Tools (ADT)

This project provides a server that allows you to interact with SAP ABAP systems using the Model Context Protocol (MCP). Think of it as a bridge that lets tools like FLUJO, Claude or Cline (a VS Code extension) talk to your ABAP system and retrieve information like source code, table structures, and more. It's like having a remote control for your ABAP development environment!

The server is published on npm as mcp-abap-adt and listed in the MCP Registry as io.github.mario-andreschak/mcp-abap-adt, so most MCP clients can install it with a single command.

This guide is designed for beginners, so we'll walk through everything step-by-step. We'll cover:

  1. Prerequisites: What you need before you start.
  2. Installation and Setup: Getting everything up and running.
  3. Running the Server: Starting the server in different modes.
  4. Integrating with FLUJO: The easiest way — one-click install from the Spotlight/Marketplace.
  5. Integrating with Cline: Connecting this server to the Cline VS Code extension.
  6. Integrating with Claude Desktop: Adding the server to the Claude Desktop app.
  7. Integrating with Claude Code: Adding the server via .mcp.json or the CLI.
  8. Troubleshooting: Common problems and solutions.
  9. Available Tools: A list of the commands you can use.

1. Prerequisites

Before you begin, you'll need a few things:

  • An SAP ABAP System: This server connects to an existing ABAP system. You'll need:

    • The system's URL (e.g., https://my-sap-system.com:8000)
    • A valid username and password for that system.
    • The SAP client number (e.g., 100).
    • Ensure that your SAP system allows connections via ADT (ABAP Development Tools). This usually involves making sure the necessary services are activated in transaction SICF. Your basis administrator can help with this. Specifically, you will need the following services to be active:
      • /sap/bc/adt
  • Node.js and npm: Node.js is a JavaScript runtime that lets you run JavaScript code outside of a web browser. npm (Node Package Manager) is included with Node.js and is used to install packages (libraries of code).

    • Download Node.js. Choose the LTS (Long Term Support) version. This is the most stable version. Follow the installation instructions for your operating system. Make sure to include npm in the installation (it's usually included by default).
    • Verify Installation: After installing Node.js, open a new terminal (command prompt on Windows, Terminal on macOS/Linux) and type:
      node -v
      npm -v
      You should see version numbers for both Node.js and npm. If you see an error, Node.js might not be installed correctly, or it might not be in your system's PATH. (See Troubleshooting below).
  • Git (or GitHub Desktop) (optional in most cases): We'll use Git to download the project code. You have two options:

    • Git: The command-line tool. Download Git. Choose the version for your operating system (Windows, macOS, Linux). Follow the installation instructions.
    • GitHub Desktop: A graphical user interface for Git. Easier for beginners! Download GitHub Desktop. Follow the installation instructions.

2. Installation and Setup

Now, let's get the project code and set it up:

mcp-abap-adt FAQ

Can I use this to change or fix ABAP code?
No. All sixteen commands only read. There is no command that creates, edits, deletes or transports anything, so it is safe to point at a system you must not modify.
Do I need a key or a login?
No key. It signs in with a normal SAP username, password and client number, exactly the credentials a person would use. Your password is sent on every request, so only point it at systems you are allowed to reach.
Is the connection secure?
Only partly. Certificate checking is switched off inside the code and cannot be turned back on. The setup example lists a TLS_REJECT_UNAUTHORIZED setting, but the code never reads it, so that switch does nothing.
Which apps does it work in?
Claude Desktop, Claude Code, the Cline extension for VS Code, FLUJO and other MCP-compatible apps. It runs on your own machine and talks to your SAP system directly.
How hard is the setup?
Moderate. You paste a short block into your assistant's settings pointing at npx, then add your SAP address, username, password and client number as settings. No building or coding required.
Can I use this to look at real data in a table?
Yes. Ask for a table's contents and it returns up to one hundred rows by default, and you can ask for more or fewer.
Does anything need switching on inside SAP first?
Yes. The ADT service at /sap/bc/adt must be active on your system, which is usually a job for your Basis administrator.
The instructions mention a language setting. Does it work?
No. A language setting appears in the example settings file but the code never uses it, so results come back in the system default.