# ABAP ADT MCP Server

> Read ABAP development objects from SAP through ADT.

- **URL**: https://followmcp.com/en/servers/mario-andreschak-mcp-abap-adt
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 211
- **FMRS Score**: 65/100 (Grade C)
- **Source**: https://github.com/mario-andreschak/mcp-abap-adt
- **Transports**: stdio (local process)
- **Runtimes**: Node.js
- **Auth**: API key / credential required

## Overview
The ABAP ADT MCP Server reads objects from SAP ABAP systems through the ABAP Development Tools (ADT) interface. It provides 16 read-only tools for retrieving programs, classes, function groups and modules, structures, tables and table contents, CDS views, packages, types, includes, interfaces, transactions, and RAP behavior and service definitions. It communicates with MCP clients over stdio; calls that access SAP require system connection settings.

## Best for
- Developers who need to inspect SAP ABAP objects in read-only mode through an MCP client.
- Teams with an SAP system exposing ADT and accounts with the needed access.

## Not for
- Users who need to create, change, or delete SAP objects; the documentation describes the tools as read-only.
- Users without an accessible SAP ABAP system, ADT service, or required authorization.
- Clients that require direct HTTP transport without a proxy or re-hosting service; the manifest declares stdio.

## Required permissions
- Required: SAP_URL, SAP_USERNAME, SAP_PASSWORD, and SAP_CLIENT.
- The SAP account needs access to ADT and read authorization for requested objects; exact permissions depend on SAP configuration.
- Optional: SAP_LANGUAGE and SAP_CA_FILE. Certificate verification is enabled by default; SAP_CA_FILE can provide a private CA bundle.

## Risks
- Reading table contents may expose sensitive SAP data; use an authorized account and limit query scope and row counts.
- Protect SAP credentials; do not put real passwords in shared configuration or commit them to a repository.
- The README says TLS certificate and hostname verification are enabled by default. Setting TLS_REJECT_UNAUTHORIZED to 0 disables certificate verification and is documented only as an explicit local troubleshooting option.
- Large responses have download and output limits; text results may be paginated or capped, and the remainder of a single oversized line cannot be recovered through line-based paging.
- RAP tool support and actual access depend on SAP version, service activation, authorization, and network access.

## Client config (JSON)
```json
{"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"}}}}
```

## Tools (16)
- `GetProgram`: Retrieve ABAP program source code.
- `GetClass`: Retrieve ABAP class source code.
- `GetFunctionGroup`: Retrieve ABAP Function Group source code.
- `GetFunction`: Retrieve ABAP Function Module source code.
- `GetStructure`: Retrieve an ABAP Dictionary structure.
- `GetTable`: Retrieve an ABAP database table structure.
- `GetTableContents`: Retrieve ABAP table contents, with an optional maximum row count.
- `GetCDSView`: Retrieve CDS view (DDL source) code.
- `GetPackage`: Retrieve ABAP package details.
- `GetTypeInfo`: Retrieve ABAP type information.
- `GetInclude`: Retrieve ABAP include source code.
- `SearchObject`: Search for ABAP objects using quick search.
- `GetInterface`: Retrieve ABAP interface source code.
- `GetTransaction`: Retrieve ABAP transaction details.
- `GetBehaviorDefinition`: Retrieve RAP Behavior Definition (BDEF) source; the documentation says approximately NW 7.54 or S/4HANA is required.
- `GetServiceDefinition`: Retrieve RAP Service Definition (SRVD) source; the documentation says approximately NW 7.54 or S/4HANA is required.
