MCP Server

MCP server wrapping abap-adt-api for ABAP ADT development workflows against SAP systems

Local serverstdio

What is the MCP MCP server?

Connect MCP to Claude, Cursor or any other MCP client and it stops being a tab you switch to. MCP server wrapping abap-adt-api for ABAP ADT development workflows against SAP systems. The mcp mcp server is what makes that connection.

What the server does

DISCLAIMER: This server is still in experimental status! Use it with caution!

The MCP-Server mcp-abap-abap-adt-api is a Model Context Protocol (MCP) server designed to facilitate seamless communication between ABAP systems and MCP clients. It is a wrapper for abap-adt-api and provides a suite of tools and resources for managing ABAP objects, handling transport requests, performing code analysis, and more, enhancing the efficiency and effectiveness of ABAP development workflows.

  • Authentication — Securely authenticate with ABAP systems using the login tool
  • Object Management — Create, read, update, and delete ABAP objects seamlessly
  • Transport Handling — Manage transport requests with tools like createTransport and transportInfo
  • Code Analysis — Perform syntax checks and retrieve code completion suggestions
  • Extensibility — Easily extend the server with additional tools and resources as needed
  • Session Management — Handle session caching and termination using dropSession and logout

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • query — (string, required) The search term
  • objSourceUrl — (string, required) The object's URI (obtained from searchObject)
  • objectUrl — (string, required) The object's URI
  • lockHandle — (string, required) The lock handle obtained from the lock operation
  • objectSourceUrl — (string, required) The object's URI with the suffix /source/main. Example: /sap/bc/adt/oo/classes/zcl_invoice_xml_gen_model/source/main
  • source — (string, required) The complete, modified ABAP source code
  • transport — (string, optional) The transport request number
  • code — (string, required) The ABAP source code to check
  • url — (string, optional) The URL of the object
  • mainUrl — (string, optional) The main URL
  • mainProgram — (string, optional) The main program
  • version — (string, optional) The version

Credentials and setup notes

Configuration is passed through the environment: SAP_URL, SAP_USER, SAP_PASSWORD, SAP_CLIENT, SAP_LANGUAGE, NODE_TLS_REJECT_UNAUTHORIZED. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • An SAP ABAP System reachable via ADT (ABAP Development Tools). You'll need the system URL, a username and password, and the client number. Ensure the /sap/bc/adt service is active in transaction SICF (your basis administrator can help). - Node.js and npm — download the LTS version from nodejs.org. Verify with node -v and npm -v.

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Where it fits

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MCP's toolset — query, objSourceUrl, objectUrl and 10 more — is a fair guide to whether it matches your workflow. It is maintained by mario-andreschak; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 13 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch MCP.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
query(string, required) The search term.
objSourceUrl(string, required) The object's URI (obtained from searchObject).
objectUrl(string, required) The object's URI.
lockHandle(string, required) The lock handle obtained from the lock operation.
objectSourceUrl(string, required) The object's URI *with the suffix /source/main*. Example: /sap/bc/adt/oo/classes/zcl_invoice_xml_gen_model/source/main
source(string, required) The complete, modified ABAP source code.
transport(string, optional) The transport request number.
code(string, required) The ABAP source code to check.
url(string, optional) The URL of the object.
mainUrl(string, optional) The main URL.
mainProgram(string, optional) The main program.
version(string, optional) The version.
objectThe object to be activated.

How to install the MCP MCP server

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

Configuration as documented by the project. Restart the client after saving.

Configuration

  • An SAP ABAP System reachable via ADT (ABAP Development Tools). You'll need the system URL, a username and password, and the client number. Ensure the /sap/bc/adt service is active in transaction SICF (your basis administrator can help). - Node.js and npm — download the LTS version from nodejs.org. Verify with node -v and npm -v.
VariableDescriptionRequired
SAP_URLEndpoint or connection string the server talks to.Yes
SAP_USERConfiguration value read at startup.Optional
SAP_PASSWORDConfiguration value read at startup.Optional
SAP_CLIENTConfiguration value read at startup.Optional
SAP_LANGUAGEConfiguration value read at startup.Optional
NODE_TLS_REJECT_UNAUTHORIZEDConfiguration value read at startup.Optional

Example prompts to try

  • Use MCP to query.
  • Use MCP to objSourceUrl.
  • Use MCP to objectUrl.

Frequently asked questions

It connects MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 13 tools (query, objSourceUrl, objectUrl, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP directly.