mcp-abap-adt-compact-ro
v20.0.0Read-only compact MCP server for SAP ABAP ADT: the compact tools that change nothing
Values you need
| Variable | What it is | |
|---|---|---|
MCP_ENV_PATH | optional | Path to the .env file that states the destination (the same as the --env-path argument). The file states SAP_URL and SAP_AUTH_TYPE (basic, snc or jwt); a jwt file also states SAP_GRANT_TYPE (authorization_code or none). Without this or --mcp, the server starts in tool-inspection-only mode: nothing i |
AUTH_BROKER_PATH | optional | Base directory of service-keys/ and sessions/ for a named destination chosen with the --mcp argument (one directory; a list is not split). Default: ~/.config/mcp-abap-adt (Documents\mcp-abap-adt on Windows). |
MCP_BROWSER | optional | Browser for a JWT login: chrome, edge, firefox, system, headless or none. Default: system |
MCP_BROWSER_AUTH_PORT | optional | Callback port of the JWT browser login, 1-65535. Default: 61001 |
MCP_UNSAFE | optional | Write a named destination's session to disk (sessions/<name>.env) instead of keeping it in memory. Default: false |
SAP_CONNECTION_TYPE | optional | Connection type: http or rfc. SNC needs rfc (and the SAP NW RFC SDK). Default: http |
SAP_SYSTEM_TYPE | required | System type, required (here or as --system-type; no default, never guessed): the tools offered (e.g. Programs are onprem-only), the connector, and how the system's answers are read. Without it a destination does not start. |
SAP_LANGUAGE | optional | Logon language (ISO code, e.g. 'en', 'de'). Default: en |
npm (npx)
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-abap-adt-compact-ro -e 'SAP_SYSTEM_TYPE=<SAP_SYSTEM_TYPE>' -- npx -y --package=@mcp-abap-adt/compact-ro@20.0.0 mcp-abap-adt-compact-roAdd to
claude_desktop_config.json{
"mcpServers": {
"mcp-abap-adt-compact-ro": {
"args": [
"-y",
"--package=@mcp-abap-adt/compact-ro@20.0.0",
"mcp-abap-adt-compact-ro"
],
"command": "npx",
"env": {
"SAP_SYSTEM_TYPE": "<SAP_SYSTEM_TYPE>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-abap-adt-compact-ro": {
"args": [
"-y",
"--package=@mcp-abap-adt/compact-ro@20.0.0",
"mcp-abap-adt-compact-ro"
],
"command": "npx",
"env": {
"SAP_SYSTEM_TYPE": "<SAP_SYSTEM_TYPE>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "SAP_SYSTEM_TYPE",
"id": "sap-system-type",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp-abap-adt-compact-ro": {
"args": [
"-y",
"--package=@mcp-abap-adt/compact-ro@20.0.0",
"mcp-abap-adt-compact-ro"
],
"command": "npx",
"env": {
"SAP_SYSTEM_TYPE": "${input:sap-system-type}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-abap-adt-compact-ro]
command = "npx"
args = ["-y", "--package=@mcp-abap-adt/compact-ro@20.0.0", "mcp-abap-adt-compact-ro"]
env = { "SAP_SYSTEM_TYPE" = "<SAP_SYSTEM_TYPE>" }For AI agents
- Ask the user for: SAP_SYSTEM_TYPE. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json