# sap-adt-mcp

Connects AI assistants to SAP systems through the standard ADT interface. Inspects ABAP code and executes checks without custom server add-ons.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 20
- Author: yzonur
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/yzonur/sap-adt-mcp
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/mcp/sap-adt-mcp

## What it does

This server translates assistant calls into HTTP requests against the ABAP Development Tools endpoints that Eclipse normally consumes. It exposes over 50 specific tools to read repository objects and run syntax checks. Multi-system profiles let the agent analyze code across development and testing environments without switching configs.

Security controls prevent accidental writes. Setting `readOnly: true` rejects mutating operations while keeping search queries available. Every state-changing request is written to a local `~/.sap-adt-mcp/audit.log` file on your machine. The server fails to start on Node.js versions below 22.19 due to the undici v8 dependency.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `SAP_ADT_MCP_CONFIG` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env SAP_ADT_MCP_CONFIG=<SAP_ADT_MCP_CONFIG> --transport stdio sap-adt-mcp -- npx -y sap-adt-mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add sap-adt-mcp --env SAP_ADT_MCP_CONFIG=<SAP_ADT_MCP_CONFIG> -- npx -y sap-adt-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "sap-adt-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "sap-adt-mcp"
            ],
            "env": {
                "SAP_ADT_MCP_CONFIG": "<SAP_ADT_MCP_CONFIG>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "sap-adt-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "sap-adt-mcp"
            ],
            "env": {
                "SAP_ADT_MCP_CONFIG": "<SAP_ADT_MCP_CONFIG>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e SAP_ADT_MCP_CONFIG=<SAP_ADT_MCP_CONFIG> sap-adt-mcp npx -y sap-adt-mcp
```
Replace <…> with your own values

## When to use it
- inspect ABAP source files and navigate repository packages
- execute syntax checks and ATC runs directly from an agent prompt
- compare object versions between development and quality systems
- manage debugger breakpoints and inspect runtime variables

## Example prompts
- Run ATC checks on class ZCL_ORDER_PROCESSOR in the DEV system
- Compare the source of program Z_PAYMENT_LOADER between DEV and QAS
- Find where method VALIDATE is used across package ZFIN

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16717
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40409
- [OpenWork MCP Gateway](https://affpapa.org/en/nevibecode/mcp/openwork-mcp-gateway.md) — MCP server · ★ 24242
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18727
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9366
- [basebalance.cloud — x402 RPC & MCP gateway](https://affpapa.org/en/nevibecode/mcp/basebalancecloud-x402-rpc-mcp-gateway.md) — MCP server · ★ 7506

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
