ABAP Development Tools (ADT)

by mario-andreschak

Not rated
GitHub

About

An MCP server for interacting with SAP systems using ABAP Development Tools (ADT).

Details

Author
mario-andreschak
Categories
Developer Tools, Infrastructure, Database

Setup

Install ABAP Development Tools (ADT) in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/mario-andreschak/mcp-abap-adt

Follow the installation instructions in the repository README, then restart your MCP client.

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 likeFLUJO,ClaudeorCline(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 asmcp-abap-adtand listed in theMCP Registryasio.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:
- Prerequisites:What you need before you start.
- Installation and Setup:Getting everything up and running.
- Running the Server:Starting the server in different modes.
- Integrating with FLUJO:The easiest way — one-click install from the Spotlight/Marketplace.
- Integrating with Cline:Connecting this server to the Cline VS Code extension.
- Integrating with Claude Desktop:Adding the server to the Claude Desktop app.
- Integrating with Claude Code:Adding the server via.mcp.jsonor the CLI.
- Troubleshooting:Common problems and solutions.
- Available Tools:A list of the commands you can use.

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 transactionSICF. 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

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.

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

The server is published on npm, so you don't need to clone or build anything. Most MCP clients can run it directly withnpx:

You'll typically configure this inside your MCP client rather than run it by hand — point the client at the commandnpxwith args["-y", "mcp-abap-adt"]and supply your SAP credentials as environment variables (SAP_URL,SAP_USERNAME,SAP_PASSWORD,SAP_CLIENT; optionallySAP_LANGUAGE,TLS_REJECT_UNAUTHORIZED). See the integration sections below forandCline.

- Using Git (command line):
- Open a terminal (command prompt or Terminal).
- Navigate to the directory where you want to store the project. For example, to put it on your Desktop:

cd Desktop
git clone https://github.com/mario-andreschak/mcp-abap-adt
cd mcp-abap-adt # Or whatever the folder name is

- Open GitHub Desktop.
- Click "File" -> "Clone Repository...".
- In the "URL" tab, paste the repository URL.
- Choose a local path (where you want to save the project on your computer).
- Click "Clone".

Install Dependencies:This downloads all the necessary libraries the project needs. In the terminal, inside the root directory, run:

Build the Project:This compiles the code into an executable format.

Create a.envfile:This file stores sensitive information like your SAP credentials. It'sveryimportant to keep this file secure.
- In the root directory, create a new file named.env(no extension).
- Open the.envfile in a text editor (like Notepad, VS Code, etc.).
- Add the following lines, replacing the placeholders with your actual SAP system information: Important: If your password contains a "#" character, make sure to enclose your password in quotes!

SAP_URL=https://your-sap-system.com:8000 # Your SAP system URL SAP_USERNAME=your_username # Your SAP username SAP_PASSWORD=your_password # Your SAP password SAP_CLIENT=100 # Your SAP client

To be fair, you usually dont usually "run" this server on it's own. It is supposed to be integrated into an MCP Client like Claude, FLUJO, Cline, etc. But youcanmanually run the server in two main ways:

- Standalone Mode:This runs the server directly, and it will output messages to the terminal. The server will start and wait for client connections, so potentially rendering it useless except to see if it starts.
- Development/Debug Mode:This runs the server with the MCP Inspector. You can open the URL that it outputs in your browser and start playing around.

To run the server in standalone mode, use the following command in the terminal (from the root directory):

You should see messages in the terminal indicating that the server is running. It will listen for connections from MCP clients. The server will keep running until you stop it (usually with Ctrl+C).

3.2 Development/Debug Mode (with Inspector)

- Start the server in debug mode:
npm run dev

FLUJOis the easiest way to use this server — no cloning, building, or editing JSON config.mcp-abap-adtis a curated Spotlight server, so it installs with a single click:
- In FLUJO, navigate toMCP.
- ClickAdd Server.
- On theSpotlighttab, clickmcp-abap-adt(or switch to theMarketplacetab and find it there).
- FLUJO fetches the package automatically and opens theLocal Servertab. Enter your SAPURL,Username, andPassword(and client), then clickSave.

That's it — FLUJO downloads and runs the npm package for you.

mcp-abap-adtruns over stdio. If you need to reach it overstreamable HTTP— for example from another app on your machine or a client that only speaks HTTP — let FLUJO re-host it: install the server in FLUJO as above, then toggle"Expose to external apps"on the server. FLUJO's built-in mcp-proxy then serves it over HTTP athttp://localhost:4200/mcp-proxy/mcp-abap-adt, and any HTTP-capable MCP client can connect with a config like:

{ "mcpServers": { "mcp-abap-adt": { "type": "http", "url": "http://localhost:4200/mcp-proxy/mcp-abap-adt" } } }

FLUJO keeps your SAP credentials with the installed server, so the HTTP config itself carries none.

Cline is a VS Code extension that uses MCP servers to provide language support. Here's how to connect this ABAP server to Cline:
-

Install Cline:If you haven't already, install the "Cline" extension in VS Code.

- Open the VS Code settings (File -> Preferences -> Settings, or Ctrl+,).
- Search for "Cline MCP Settings".
- Click "Edit in settings.json". This will open thecline_mcp_settings.jsonfile. The full path is usually something like:C:\Users\username\AppData\Roaming\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json(replaceusernamewith your Windows username).

Add the Server Configuration:You'll need to add an entry to themcpServersobject in thecline_mcp_settings.jsonfile. The recommended way is to run the published npm package vianpxand pass your SAP credentials as environment variables — no local build required:

{ "mcpServers": { "mcp-abap-adt": { "command": "npx", "args": ["-y", "mcp-abap-adt"], "env": { "SAP_URL": "https://your-sap-system.com:8000", "SAP_USERNAME": "your_username", "SAP_PASSWORD": "your_password", "SAP_CLIENT": "100" }, "disabled": false, "autoApprove": [] } // ... other server configurations ... } }

If you installed from source instead (see Manual Installation), pointcommandatnodewith an absolute path to the build output, e.g."args": ["C:/PATH_TO/mcp-abap-adt/dist/index.js"], and configure credentials via the.envfile.

- Cline should automatically connect to the server. You will see the Server appear in the "MCP Servers" Panel (in the Cline extension, you'll find different buttons on the top.)
- Ask Cline to get the Sourcecode of a program and it should mention the MCP Server and should try to use the corresponding tools

Claude Desktopcan run this server directly via the published npm package.
-

Open Claude Desktop →SettingsDeveloperEdit Config. This opensclaude_desktop_config.json. The file lives at:

- Windows:%APPDATA%\Claude\claude_desktop_config.json
- macOS:~/Library/Application Support/Claude/claude_desktop_config.json

Add anmcp-abap-adtentry undermcpServers, filling in your SAP credentials:

{ "mcpServers": { "mcp-abap-adt": { "command": "npx", "args": ["-y", "mcp-abap-adt"], "env": { "SAP_URL": "https://your-sap-system.com:8000", "SAP_USERNAME": "your_username", "SAP_PASSWORD": "your_password", "SAP_CLIENT": "100" } } } }

Save the file andrestart Claude Desktop. The ABAP tools appear under the tools (🔨) menu.

Windows tip:ifnpxisn't found, set"command": "npx.cmd", or use the full path tonodewith the absolute path todist/index.jsfrom a source install.

Claude Codereads MCP servers from a.mcp.jsonfile in your project root (shared with your team) or from user/project scope via the CLI.

Option A —.mcp.jsonin your project root:

{ "mcpServers": { "mcp-abap-adt": { "command": "npx", "args": ["-y", "mcp-abap-adt"], "env": { "SAP_URL": "https://your-sap-system.com:8000", "SAP_USERNAME": "your_username", "SAP_PASSWORD": "your_password", "SAP_CLIENT": "100" } } } }

Because this file is committed to your repo, avoid putting real passwords in it — either use placeholder values that each developer fills in locally, or reference environment variables (Claude Code expands${VAR}in.mcp.json), e.g."SAP_PASSWORD": "${SAP_PASSWORD}".

claude mcp add mcp-abap-adt \ --env SAP_URL=https://your-sap-system.com:8000 \ --env SAP_USERNAME=your_username \ --env SAP_PASSWORD=your_password \ --env SAP_CLIENT=100 \ -- npx -y mcp-abap-adt

Add--scope projectto write it to the shared.mcp.json, or--scope userto make it available across all your projects. Verify withclaude mcp list.

- node -vornpm -vgives an error:

- Make sure Node.js is installed correctly. First try closing the Terminal/Powershell/cmd.exe in which you were executing the command. Try restarting your computer. Try reinstalling it.
- Ensure that the Node.js installation directory is in your system's PATH environment variable. On Windows, you can edit environment variables through the System Properties (search for "environment variables" in the Start Menu).

- Make sure you have an internet connection.
- Try deleting thenode_modulesfolder and runningnpm installagain.
- If you're behind a proxy, you might need to configure npm to use the proxy. Search online for "npm proxy settings".

- Double-check the settings incline_mcp_settings.json. Itmustbe the correct, absolute path to theroot-serverdirectory, and use double backslashes on Windows.
- Make sure the server is running (usenpm run startto check).
- Restart VS Code.
- Alternatively:
- Navigate to the root folder of mcp-abap-adt in your Explorer, Shift+Right-Click and select "Open Powershell here". (Or open a Powershell and navigate to the folder usingcd C:/PATH_TO/mcp-abap-adt/
- Run "npm install"
- Run "npm run build"
- Run "npx @modelcontextprotocol/inspector node dist/index.js"
- Open your browser at the URL it outputs. Click "connect" on the left side.
- Click "Tools" on the top, then click "List Tools"
- Click GetProgram and enter "SAPMV45A" or any other Report name as Program Name on the right
- Test and see what the output is

- Verify your SAP credentials in the.envfile.
- Ensure that the SAP system is running and accessible from your network.
- Make sure that your SAP user has the necessary authorizations to access the ADT services.
- Check that the required ADT services are activated in transactionSICF.
- If you're using self-signed certificates or there is an issue with your SAP systems http config, make sure to set TLS_REJECT_UNAUTHORIZED as described above!

This server provides the following tools, which can be used through FLUJO, Cline, Claude Desktop, Claude Code, or any other MCP client:

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

A Ruby gem providing secure Rails console access through MCP for AI agents and development tools.

Paid remote MCP for schema drift checks, tool-schema approvals, compatibility receipts, breaking-change explanations, and release audit logs.

The official developer experience MCP Server for Amazon DynamoDB. This server provides DynamoDB expert design guidance and data modeling assistance.

All Azure MCP tools in a single server. The Azure MCP Server implements the MCP specification to create a seamless connection between AI agents and Azure services. Azure MCP Server can be used alone or with the GitHub Copilot for Azure extension in VS Code.

Flag features, manage company data, and control feature access using Bucket.

Enable AI Agents to fix build failures from CircleCI.

interacts with ConfigCat feature flag platform. Supports managing feature flags, configs, environments, products and organizations. Helps to integrate ConfigCat SDK, implement feature flags or remove zombie (stale) flags.

Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning with Cycode.

Turn your favourite AI tool into a feature management assistant. DevCycle's MCP works with your favourite coding assistant so you can create and monitor feature flags using natural language right in your workflow.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.