# sap-adt-mcp [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/yzonur/sap-adt-mcp  
**GitHub Stars:** 22  
**npm Downloads (last month):** 847  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/sap-adt-mcp

## Description
Give Claude live access to SAP ABAP via ADT: read, search, check, test, and edit objects.

## Tools
Capabilities this server exposes over MCP:

- **adt_get_source** — Fetch ABAP source by object name + type.
- **adt_set_source** — Replace source. Orchestrates lock → PUT → unlock.
- **adt_create_object** — Create a new ABAP object in a package.
- **adt_delete_object** — Delete an object.
- **adt_activate** — Activate one or more objects.
- **adt_pretty_print** — Run the SAP-side ABAP formatter.
- **adt_lock** — Acquire / release a lock for multi-step edits.
- **adt_syntax_check** — ADT syntax check on an object.
- **adt_run_unit_tests** — ABAP Unit run.
- **adt_run_atc** — ABAP Test Cockpit run.
- **adt_browse_package** — One level of package contents.
- **adt_list_packages** — Recursive walk from a root.
- **adt_search_objects** — Quick-search by name pattern.
- **adt_where_used** — Where-used list.
- **adt_type_hierarchy** — Superclasses, subclasses, implemented interfaces, implementers of an interface.
- **adt_method_redefinitions** — Which methods a class redefines; who redefines a given method.
- **adt_call_hierarchy** — Callers / callees of a method or function module.
- **adt_compare_source** — Diff one object between two systems.
- **adt_transport_diff** — Diff every object in a TR between two systems.
- **adt_compare_ddic** — Diff a table's / structure's DDIC definition between two systems.
- **adt_list_dumps** — List ST22 short dumps.
- **adt_get_dump** — Fetch a single dump by id.
- **adt_debug_set_breakpoint** — Set an external breakpoint.
- **adt_debug_delete_breakpoint** — Remove a breakpoint by `id`.
- **adt_debug_listen** — Bounded wait for a debuggee to hit a breakpoint.
- **adt_debug_stack** — Call stack of the attached debuggee.
- **adt_debug_variables** — Read variable values.
- **adt_debug_step** — Advance execution. **WRITE.
- **adt_debug_goto_stack** — Move the active stack frame. **WRITE.
- **adt_debug_set_variable** — Set a variable's value. **WRITE.
- **adt_debug_set_watchpoint** — Break when a variable changes. **WRITE.
- **adt_debug_stop** — End the session: resume the debuggee, then delete the listener + all breakpoints it set.
- **adt_read_table** — Run an OpenSQL SELECT via the ADT Data Preview API.
- **adt_system_info** — Which system is this?
- **adt_translations** — Texts in every language and where translations are missing (SE63 lite).
- **adt_auth_check** — Authorization objects an application needs.
- **adt_value_help** — F4-style value help for a domain, data element or `table` + `field`.
- **adt_list_transports** — List TRs by user / status.
- **adt_get_transport** — TR header + objects.
- **adt_create_transport** — Create a new TR.
- **adt_release_transport** — Release a TR.
- **adt_transport_queue** — Where is a TR right now?

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "sap-adt-mcp": {
    "command": "npx",
    "args": ["-y","sap-adt-mcp"]
  }
}
```

## Documentation

## What sap-adt-mcp does

sap-adt-mcp exposes SAP ADT operations as MCP tools for AI clients. Its main use is working with ABAP repositories and runtime diagnostics through the same HTTP API used by ABAP Development Tools. The server supports source retrieval and replacement, object creation and deletion, activation, formatting, syntax checks, ABAP Unit, and ABAP Test Cockpit runs.

Repository navigation and code analysis are also covered. Agents can browse package contents, walk package trees, search object names, inspect where-used results, examine type hierarchies, find method redefinitions, and trace callers and callees. Cross-system tools compare source, transport contents, or DDIC definitions between SAP systems. Runtime tools list and retrieve ST22 short dumps, while debugger tools manage breakpoints, wait for a debuggee, inspect stacks and variables, step execution, move between frames, and change variable values.

## How it works

The server communicates with SAP through ADT over HTTP and supports multiple named systems in one configuration. A request can select a system, or use the configured default. This supports workflows such as comparing DEV and QAS, using a writable development profile, and restricting production access to reads.

Source replacement coordinates locking, the PUT request, and unlocking. Lock operations are also available for longer multi-step edits. ADT responses are converted into structured errors containing a type, message, and namespace instead of passing raw XML to the client. Requests have configurable timeouts, and CSRF tokens are negotiated and retried after a 403 response.

Read-only mode can be enabled globally or for an individual system. It blocks write methods while allowing designated discovery and analysis POST requests. Writes are recorded in a local JSONL audit file by default, including the MCP tool, SAP host, user, HTTP method, path, result, and transport when available.

## Setup and configuration

Install the package globally with `npm install -g sap-adt-mcp`, or run it with `npx sap-adt-mcp`. Node.js 22.19 or newer is required. Create `~/.sap-adt-mcp/config.json`, or point `SAP_ADT_MCP_CONFIG` to an absolute configuration file. A fallback `config.json` in the server's working directory is also supported.

Each system profile can define a host URL, SAP client, optional language, user, password, TLS certificate behavior, timeout, and per-system read-only setting. Passwords may be literal values or references such as `env:SAP_DEV_PASSWORD`. Set `rejectUnauthorized` to false only for profiles that must connect to systems using self-signed certificates. The top-level configuration can set the default system and global read-only mode.

The audit path and enablement are configurable under `audit`; `SAP_ADT_MCP_AUDIT=0` disables the audit log. Read-only result caching can be adjusted with `cache.ttlMs`, and `SAP_ADT_MCP_CACHE_TTL_MS=0` disables it.

## Limitations and notes

The server requires network access and valid SAP credentials for the configured ADT endpoints. Its minimum runtime is Node.js 22.19+. Read-only mode prevents modification methods but still permits selected read-only POST queries.

Some experimental endpoints depend on services available on particular SAP systems, typically S/4HANA. On systems without those backing services, they return an availability result with a fallback hint. Cached discovery results can remain up to the configured time-to-live when changes are made outside the server; any write performed by the server clears the full cache. TLS validation can be disabled per profile, but that setting reduces certificate verification and should be used cautiously.

_Full upstream README: https://allmcps.com/mcp/sap-adt-mcp/readme_

