@mcp-abap-adt/core
v26.1.2
Published
MCP server for SAP ABAP ADT over stdio, on premise (ECC, S/4HANA) and SAP BTP ABAP Cloud: CRUD of ABAP, DDIC, CDS and RAP objects, where-used, ATC, unit tests, transports, the ABAP and AMDP debugger, the abapGit tools (link, pull, stage and push a package
Maintainers
Readme
@mcp-abap-adt/core
The standalone MCP server for SAP ABAP ADT over stdio: the mcp-abap-adt CLI, one
destination per process through the auth broker — a service key, a session, an --env file, the
browser login — and the launcher.
npm install -g @mcp-abap-adt/core
mcp-abap-adt --mcp=TRIAL --system-type=cloud # a destination from the service-keys folder
mcp-abap-adt --env-path=./mcp.env # a .env written by mcp-auth, SAP_SYSTEM_TYPE in itThe system type is required (19.0.0) — --system-type, SAP_SYSTEM_TYPE (the environment or
the --env file) or YAML system-type: onprem, cloud or legacy; a destination does not
start without it, and neither does an inspection start (no destination, 22.0.0). The tools, their
enums and the object types each argument accepts are that system type's (its ADT type table):
MIGRATION-22.0. The server connects at its start, before the MCP transport opens — the
browser login included, and the destination's one leftover session of a killed process taken
up —; any failure ends it with exit 1. Coming from 18.x:
MIGRATION-19.0.
Streamable HTTP and HTTP+SSE are packages of their own, serving credentials from each request's
x-sap-* headers: @mcp-abap-adt/http
(mcp-abap-adt-http) and @mcp-abap-adt/sse
(mcp-abap-adt-sse). There is no --transport option: it, and any option of those binaries, stops
this one naming the binary to run. Only the stdio servers (this one, compact, core-ro,
compact-ro) load @mcp-abap-adt/auth-broker and @mcp-abap-adt/auth-stores.
It connects to the ABAP system over HTTP (basic or JWT), RFC (basic) or SNC
(passwordless, over RFC). HTTP needs nothing more. RFC and SNC need the SAP NW RFC library when the server
runs: SAP GUI's 64-bit sapnwrfc.dll in System32 on Windows, else the SAP NW RFC SDK. The RFC
module comes prebuilt for Linux x64 (glibc), Windows x64 and macOS ARM64, and npm install compiles
nothing — check it is there with npm ls -g @mcp-abap-adt/sap-rfc-lite.
The compact variant of this server is
@mcp-abap-adt/compact. Every variant:
Installation variants;
RFC and SNC: RFC Setup.
From 17.0.0 the HTTPS server certificate is verified — see the
migration note.
The binary fixes the tool set (19.0.0). mcp-abap-adt serves readonly (with system and search),
high, the debugger, the leftover sessions (list, logoff) and background runs; the readonly
tools alone are @mcp-abap-adt/core-ro (mcp-abap-adt-ro). There is no
--exposition: passing it, or a config file's exposition, stops the start with a sentence naming
the binary to install instead.
No low set (19.0.0). --exposition=…,low stops the start with this sentence: "the low set is gone from mcp-abap-adt / -http / -sse; use mcp-abap-adt-compact (or -compact-http / -compact-sse)". Its single-step operations are compact's — see MIGRATION-19.0.
The tools themselves are not here. They live in
@mcp-abap-adt/lib, which
this package depends on.
Where the code lives (19.2.0). The launcher, StdioServer and the destination layer live in
@mcp-abap-adt/server-runtime,
which is installed with this package; this package holds the mcp-abap-adt binary and its
version. Its exports are unchanged, as re-exports: @mcp-abap-adt/core of
server-runtime/stdio/server (its StdioServer answers core's version when constructed without
one), @mcp-abap-adt/core/launcher of server-runtime/stdio (its main and launch take
19.1.0's options, { toolSet, program, version }: packageName — required on
server-runtime/stdio — is optional here and defaults to @mcp-abap-adt/core),
@mcp-abap-adt/core/auth of server-runtime/auth. No other server package depends on this one: compact, core-ro and
compact-ro run the same launcher from server-runtime, so each server is installed on its own.
Licence
AGPL-3.0-only. See LICENSE.
Running it on your own data carries no conditions. Distributing it, or offering a modified version to users over a network, means passing on the same freedoms under section 13 — including the source.
If you are embedding ADT tools in your own application, you do not want this
package. Install @mcp-abap-adt/lib instead: same handlers, same embeddable
server, Apache-2.0, and no transport to drag AGPL into your dependency tree.
That separation is the reason these are two packages.
Full documentation lives in the repository.
