MCP Hub
Back to servers

SAP ADT MCP Server

An MCP server that enables AI assistants to interact with SAP systems via the ABAP Development Tools (ADT) REST API. It allows users to read ABAP source code, inspect DDIC objects, and execute SQL queries directly.

glama
Updated
Mar 28, 2026

SAP ADT MCP Server

MCP server for SAP ABAP Development Tools (ADT) REST API. Enables AI assistants to read ABAP source code, inspect DDIC objects, and execute SQL queries on SAP systems.

Tools

ToolDescriptionInput
get_abap_programFetch ABAP program/report source codename
get_data_elementFetch DDIC data element definitionname
get_structureFetch DDIC structure definitionname
get_function_moduleFetch function module source codefunction_group, function_name
get_classFetch ABAP class source codename
get_cds_viewFetch CDS view DDL sourcename
execute_sqlExecute ABAP SQL query and return resultsquery

Setup

npm install
cp .env.example .env   # Edit with your SAP system details
npm run build

Configuration

VariableDescriptionExample
SAP_HOSTNAMESAP system hostnameyour-sap-host.example.com
SAP_SYSNRSystem number (port = 443 + sysnr)50 → port 44350
SAP_USERNAMESAP userDEVELOPER
SAP_PASSWORDSAP passwordsecret
SAP_CLIENTSAP client001

Usage with Claude Code

Add to your Claude Code MCP configuration:

{
  "mcpServers": {
    "sap-adt": {
      "command": "node",
      "args": ["/path/to/sap-adt-mcp/dist/index.js"]
    }
  }
}

Prerequisites

Your SAP user needs:

  • S_ADT_RES authorization for ADT resource access
  • ICF services activated under /sap/bc/adt/ (via transaction SICF)
  • Role SAP_BC_DWB_ABAPDEVELOPER or equivalent

Tech Stack

  • TypeScript + Node.js
  • MCP SDK (@modelcontextprotocol/sdk)
  • Axios for HTTP
  • SAP ADT REST API over HTTPS with Basic Auth

Reviews

No reviews yet

Sign in to write a review