Home › Development › abap-adt-mcp
abap-adt-mcp
ABAP development from Claude and other MCP hosts: source, transports, tests, ATC, debugger
Connect
Review any command before running it. Package names and URLs come from the server's own registry entry.
Package (npm 2.8.2)
npx -y [email protected]
Or add to your MCP client config:
{
"mcpServers": {
"abap-adt-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"SAP_SYSTEMS_FILE": "<YOUR_VALUE>",
"SAP_SYSTEMS": "<YOUR_VALUE>",
"SAP_DEFAULT_DESTINATION": "<YOUR_VALUE>",
"SAP_AUTH_TYPE": "<YOUR_VALUE>",
"MCP_HTTP_PORT": "<YOUR_VALUE>",
"MCP_HTTP_HOST": "<YOUR_VALUE>",
"MCP_HTTP_TOKEN": "<YOUR_VALUE>",
"MCP_HTTP_MAX_SESSIONS": "<YOUR_VALUE>",
"MCP_HTTP_MAX_BODY_BYTES": "<YOUR_VALUE>",
"MCP_HTTP_SESSION_TTL_MINUTES": "<YOUR_VALUE>",
"MCP_HTTP_ALLOWED_ORIGINS": "<YOUR_VALUE>",
"MCP_HTTP_ALLOWED_HOSTS": "<YOUR_VALUE>",
"MCP_EXPORT_ROOT": "<YOUR_VALUE>",
"MCP_AUDIT_FILE": "<YOUR_VALUE>",
"MCP_ADT_TRACE_FILE": "<YOUR_VALUE>",
"MCP_READ_ONLY": "<YOUR_VALUE>",
"MCP_ALLOW_DATA_PREVIEW": "<YOUR_VALUE>",
"MCP_ALLOW_FREE_SQL": "<YOUR_VALUE>",
"MCP_TOOLSETS": "<YOUR_VALUE>",
"MCP_DISABLED_TOOLSETS": "<YOUR_VALUE>",
"MCP_MAX_RESPONSE_CHARS": "<YOUR_VALUE>",
"SAP_ALLOW_REENTRANCE_TICKET": "<YOUR_VALUE>",
"SAP_URL": "<YOUR_VALUE>",
"SAP_USER": "<YOUR_VALUE>",
"SAP_PASSWORD": "<YOUR_VALUE>",
"SAP_CLIENT": "<YOUR_VALUE>",
"SAP_LANGUAGE": "<YOUR_VALUE>",
"SAP_BROWSER_PATH": "<YOUR_VALUE>",
"SAP_BROWSER_PROFILE_DIR": "<YOUR_VALUE>",
"SAP_SSO2_COMMAND": "<YOUR_VALUE>",
"SAP_SSO2_ARGS": "<YOUR_VALUE>",
"SAP_SSO2_TIMEOUT_MS": "<YOUR_VALUE>",
"SAP_TLS_INSECURE": "<YOUR_VALUE>",
"SAP_OAUTH_TOKEN_URL": "<YOUR_VALUE>",
"SAP_OAUTH_CLIENT_ID": "<YOUR_VALUE>",
"SAP_OAUTH_CLIENT_SECRET": "<YOUR_VALUE>",
"SAP_OAUTH_SCOPE": "<YOUR_VALUE>",
"MCP_PROFILE_GATE": "<YOUR_VALUE>",
"SAP_REQUEST_TIMEOUT_SECONDS": "<YOUR_VALUE>",
"MCP_SOURCE_CACHE_TTL_SECONDS": "<YOUR_VALUE>",
"MCP_CACHE_DIR": "<YOUR_VALUE>",
"MCP_API_CLASSIFICATION_FILES": "<YOUR_VALUE>"
}
}
}
}
SAP_SYSTEMS_FILE— Path to a JSON file mapping destination names to system configs (url, client, authType basic/sso/sso2/oauth, credentials). Recommended; keep the file mode 0600. See systems.example.jsonSAP_SYSTEMSsecret — Inline JSON map of destinations (same shape as SAP_SYSTEMS_FILE). Contains credentials — prefer SAP_SYSTEMS_FILESAP_DEFAULT_DESTINATION— Destination name used when a tool call omits `destination` (alternatively mark an entry with "default": true)SAP_AUTH_TYPE— Default auth type for entries that don't specify one: sso (default), sso2, basic, or oauthMCP_HTTP_PORT— When set (1024-65535), serve Streamable HTTP on http://127.0.0.1:<port>/mcp with bearer-token auth instead of stdioMCP_HTTP_HOST— Bind address for the HTTP transport (default 127.0.0.1). Set 0.0.0.0 only inside containers that publish the portMCP_HTTP_TOKENsecret — Bearer token for the HTTP transport; auto-generated and written to ~/.abap-adt-mcp/http-token when unsetMCP_HTTP_MAX_SESSIONS— Maximum concurrent MCP sessions on the HTTP transport (default 16); further initialize requests get 503MCP_HTTP_MAX_BODY_BYTES— Largest request body the HTTP transport accepts, in bytes (default 4194304); larger bodies are refused with HTTP 413MCP_HTTP_SESSION_TTL_MINUTES— Idle minutes after which an HTTP session (and its SAP sessions/locks) is closed (default 30)MCP_HTTP_ALLOWED_ORIGINS— Comma-separated Origin values allowed on the HTTP transport (loopback origins always allowed when bound to loopback; * allows any)MCP_HTTP_ALLOWED_HOSTS— Comma-separated Host header values allowed (DNS-rebinding protection; loopback hosts always allowed when bound to loopback)MCP_EXPORT_ROOT— When set, exportPackageSources may only write inside this directoryMCP_AUDIT_FILE— Path of a JSONL audit trail: one record per tool call (tool, destination, duration, outcome ok/error/denied/unavailable, policy gate, redacted argument summary)MCP_ADT_TRACE_FILE— Diagnostics: path of a JSONL trace with one line per ADT request (method, URI, status, headers). Cookie, Set-Cookie, Authorization and CSRF values are reduced to name and length; no response body is kept, error lines carry the first 300 characters of the redacted error text. Off when unset.MCP_READ_ONLY— Set to 1 to make every destination read-only (server-side; only read-only annotated tools plus login/logout run). Per-destination policies live in systems.jsonMCP_ALLOW_DATA_PREVIEW— Set to 1 to let tableContents read table and CDS rows on every destination that does not state policy.allowDataPreview itself (reading table data is off by default)MCP_ALLOW_FREE_SQL— Set to 1 to allow runQuery and tableContents with sqlQuery on every destination that does not state policy.allowFreeSql itself (free SQL is off by default; implies table data)MCP_TOOLSETS— Toolsets to publish: comma list (core,source,objects,transports,analysis,tests,atc,data,discovery,runtime,refactoring,rap,services,git,debugger,traces) or a preset: all (default) or focusedMCP_DISABLED_TOOLSETS— Toolsets to hide, comma list (core cannot be disabled)MCP_MAX_RESPONSE_CHARS— Character budget for a single tool response before results are paged/truncated (default 40000, minimum 5000). Raise it if your MCP host accepts larger tool outputsSAP_ALLOW_REENTRANCE_TICKET— Set to 1 to enable the reentranceTicket tool (disabled by default: it returns a live SAP logon credential into the conversation)SAP_URL— Legacy single-system mode: base URL of the SAP system, e.g. https://host:44300SAP_USER— Legacy single-system mode: SAP usernameSAP_PASSWORDsecret — Legacy single-system mode: SAP passwordSAP_CLIENT— Legacy single-system mode: SAP client number, e.g. 100SAP_LANGUAGE— Legacy single-system mode: logon language, e.g. ENSAP_BROWSER_PATH— SSO destinations: path to a Chromium/Chrome/Edge binary for the browser login (auto-detected when unset)SAP_BROWSER_PROFILE_DIR— SSO destinations: directory of the persistent browser profile that keeps the identity-provider session (default ~/.abap-adt-mcp/sso/<host>)SAP_SSO2_COMMAND— Legacy single-system sso2 mode: absolute path to the trusted local ticket providerSAP_SSO2_ARGS— Legacy single-system sso2 mode: JSON array of provider arguments (never put a ticket here)SAP_SSO2_TIMEOUT_MS— Legacy single-system sso2 mode: provider timeout in milliseconds (default 30000; range 1000-300000)SAP_TLS_INSECURE— Legacy single-system mode: set to 1 to skip TLS certificate verification for that system only (sandboxes with self-signed certificates)SAP_OAUTH_TOKEN_URL— Legacy single-system mode with SAP_AUTH_TYPE=oauth: OAuth2 token endpoint (client_credentials)SAP_OAUTH_CLIENT_ID— Legacy single-system mode with SAP_AUTH_TYPE=oauth: OAuth2 client idSAP_OAUTH_CLIENT_SECRETsecret — Legacy single-system mode with SAP_AUTH_TYPE=oauth: OAuth2 client secretSAP_OAUTH_SCOPE— Legacy single-system mode with SAP_AUTH_TYPE=oauth: optional OAuth2 scopeMCP_PROFILE_GATE— Platform gate for toolsets the destination does not expose (debugger, traces, abapGit, ...): enforce (default, refuse before calling SAP), warn (log only) or offSAP_REQUEST_TIMEOUT_SECONDS— Seconds an ADT request may receive nothing before it fails as a network error, so a connection that died while the machine slept cannot hang every call (default 600; 0 waits forever)MCP_SOURCE_CACHE_TTL_SECONDS— Lifetime of the per-session source cache used by grepPackage, cdsViewInfo and syntaxCheckCode (default 300; 0 keeps entries until logout)MCP_CACHE_DIR— Directory for the cached SAP cloudification repository used by apiReleaseState (default ~/.abap-adt-mcp/cache)MCP_API_CLASSIFICATION_FILES— Extra classification files for apiReleaseState, comma list: a path inside SAP's cloudification repository (partner/objectClassifications_ACME.json) or an https URL
Related servers
storybook
Helps agents write and test Storybook stories for UI components.
ruflo
AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.
chromedevtools/chrome-devtools-mcp
MCP server for Chrome DevTools
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
PostHog MCP Server
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
code-review-graph
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters,…
Data from the Official MCP Registry