MCP Server — mario-andreschak/mcp-abap-aba

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

Local serverstdio

What is the MCP Server?

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

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

Credentials and setup notes

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

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

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

MCP server wrapping abap-adt-api for ABAP ADT development workflows against SAP systems Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.