Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SAP_URLNoLegacy single-system mode: base URL, for example `https://host:44300`.
SAP_USERNoLegacy single-system mode: SAP user.
SAP_CLIENTNoLegacy single-system mode: client, for example `100`.
SAP_SYSTEMSNoThe destinations map as inline JSON. Contains credentials, prefer the file.
MCP_TOOLSETSNoToolsets to publish: preset `all` or `focused`, or a comma list. Default: `all`.
SAP_LANGUAGENoLegacy single-system mode: logon language, for example `EN`.
SAP_PASSWORDNoLegacy single-system mode: SAP password.
MCP_CACHE_DIRNoRelocates the cloudification repository cache. Default: `~/.abap-adt-mcp/cache`.
MCP_HTTP_HOSTNoBind address of the HTTP transport. Default: `127.0.0.1`; `0.0.0.0` only in containers.
MCP_HTTP_PORTNoServe Streamable HTTP on `http://127.0.0.1:<port>/mcp` with bearer auth instead of stdio. Unset by default (stdio); accepts 1024 to 65535.
MCP_READ_ONLYNo`1` makes every destination read-only, server-side. Off by default.
SAP_AUTH_TYPENoDefault auth type for entries without one, and the mode of the legacy single-system setup. Default: `sso`; `basic` or `oauth`.
MCP_AUDIT_FILENoJSONL audit trail path. Off when unset.
MCP_HTTP_TOKENNoBearer token for the HTTP transport. Generated into `~/.abap-adt-mcp/http-token` by default.
MCP_EXPORT_ROOTNoDirectory `exportPackageSources` may write into. Default: `~/.abap-adt-mcp/exports`.
SAP_OAUTH_SCOPENoLegacy single-system mode: optional OAuth2 scope.
MCP_PROFILE_GATENoGate for toolsets the destination does not expose. Default: `enforce`; `warn` logs only, `off` disables.
SAP_BROWSER_PATHNoSSO: path to a Chromium, Chrome or Edge binary. Auto-detected by default.
SAP_SYSTEMS_FILENoPath to the destinations file (systems.json). Recommended; keep mode 0600.
SAP_TLS_INSECURENoLegacy single-system mode: `1` skips certificate verification for that system only. Sandboxes only.
SAP_OAUTH_CLIENT_IDNoLegacy single-system mode: OAuth2 client id.
SAP_OAUTH_TOKEN_URLNoLegacy single-system mode with `SAP_AUTH_TYPE=oauth`: token endpoint.
MCP_DISABLED_TOOLSETSNoToolsets to hide, comma list. `core` cannot be disabled.
MCP_HTTP_MAX_SESSIONSNoMaximum concurrent MCP sessions; further `initialize` requests get `503`. Default: 16.
MCP_HTTP_ALLOWED_HOSTSNoComma-separated `Host` header values allowed (DNS-rebinding protection). Loopback hosts always allowed on a loopback bind; any host on a non-loopback bind.
MCP_MAX_RESPONSE_CHARSNoCharacter budget of one tool response before paging or truncation. Default 40000, minimum 5000.
MCP_HTTP_MAX_BODY_BYTESNoLargest request body the HTTP transport accepts; larger bodies get `413`. Default: 4194304 (4 MB).
SAP_BROWSER_PROFILE_DIRNoSSO: persistent browser profile holding the identity-provider session. Default: `~/.abap-adt-mcp/sso/<host>`.
SAP_DEFAULT_DESTINATIONNoDestination used when a call omits `destination`, or mark an entry `"default": true`.
SAP_OAUTH_CLIENT_SECRETNoLegacy single-system mode: OAuth2 client secret.
MCP_HTTP_ALLOWED_ORIGINSNoComma-separated `Origin` values allowed; `*` allows any. Loopback origins always allowed on a loopback bind.
SAP_ALLOW_REENTRANCE_TICKETNo`1` enables the `reentranceTicket` tool. Disabled by default.
MCP_HTTP_SESSION_TTL_MINUTESNoIdle minutes after which an HTTP session (and its SAP sessions and locks) is closed. Default: 30.
MCP_SOURCE_CACHE_TTL_SECONDSNoLifetime of the per-session source cache. Default: 300; `0` keeps entries until logout.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources