sap-adt-mcp — Claude Code MCP server: what it does, how to install
Connects AI assistants to SAP systems through the standard ADT interface. Inspects ABAP code and executes checks without custom server add-ons.
claude mcp add --env SAP_ADT_MCP_CONFIG=<SAP_ADT_MCP_CONFIG> --transport stdio sap-adt-mcp -- npx -y sap-adt-mcpWhat sap-adt-mcp 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.
What it helps with
- 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 for the agent
- 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
How to install sap-adt-mcp
Platform CLI
claude mcp add --env SAP_ADT_MCP_CONFIG=<SAP_ADT_MCP_CONFIG> --transport stdio sap-adt-mcp -- npx -y sap-adt-mcpReplace <…> with your own values
Platform CLI
codex mcp add sap-adt-mcp --env SAP_ADT_MCP_CONFIG=<SAP_ADT_MCP_CONFIG> -- npx -y sap-adt-mcpReplace <…> with your own values
Config file
{
"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
Config file
{
"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
Platform CLI
gemini mcp add -e SAP_ADT_MCP_CONFIG=<SAP_ADT_MCP_CONFIG> sap-adt-mcp npx -y sap-adt-mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about sap-adt-mcp
How do I install sap-adt-mcp in Claude Code?
Run claude mcp add sap-adt-mcp -- npx -y sap-adt-mcp. To point to a custom config file, pass the environment variable using claude mcp add --env SAP_ADT_MCP_CONFIG=<SAP_ADT_MCP_CONFIG> --transport stdio sap-adt-mcp -- npx -y sap-adt-mcp.
Does the SAP system require any backend plugin installation?
No. It communicates directly with built-in ADT services available in standard NetWeaver and S/4HANA installations.
How can I prevent the assistant from modifying production code?
Add "readOnly": true to that system entry in config.json. This rejects all write operations while keeping search and inspection queries functional.