mcp-abap-rfc
Provides tools for SAP ABAP development over RFC, enabling reading and writing ABAP development objects such as classes, CDS, tables, programs, transports, ATC, unit tests, and runtime diagnostics, with optional SAProuter routing and multi-client support.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-abap-rfc
An MCP server for SAP ABAP development that talks to the system over RFC only (optionally through a SAProuter) and to the client over stdio only. It reads and writes ABAP development objects: classes, CDS, tables, programs, transports, ATC, unit tests, runtime diagnostics and more. There is no HTTP, BTP, JWT or service-key support.
Platforms
The SAP NW RFC SDK is not included: download it from SAP and unpack it into runtime/ as described in runtime/README.md.
Platform | Status |
Linux x86_64 | tested |
Linux arm64 | untested |
macOS x64 (Intel) | untested |
macOS arm64 (Apple silicon) | not supported: the SDK is x86_64 only. Use an x64 Node under Rosetta (untested). |
Windows x64 | untested |
Requires Node >= 22.
Related MCP server: SAP BTP ABAP ADT MCP Server
Install
npm ci && npm run setup:rfc && npm run buildnpm run setup:rfc picks the SDK for your platform, builds the native RFC module against it and checks that it loads. If the module cannot be loaded, the server refuses to start and tells you to run setup:rfc.
Re-run setup:rfc after moving or copying the repository. The SDK path is baked into the build on Linux, and the libraries are copied next to the module on macOS. See docs/installation/RFC_SETUP.md.
Configuration
Copy .env.example, fill it in, chmod 600 it, and keep it outside the repository.
Key | |
| required: application server host or IP (not a URL) |
| required: two-digit instance number |
| required: default client |
| required |
| logon language, default |
| optional route string, e.g. |
| optional: several clients, see below |
|
|
| optional guardrails, see |
A key defined in the env file wins over the shell environment, even when its value is empty. Unsupported settings such as SAP_URL, HTTP connection types, JWT auth and cloud system type stop startup with a message that names the key.
Run
{
"mcpServers": {
"abap-rfc": {
"command": "node",
"args": [
"<path>/bin/mcp-abap-rfc.js",
"--env-path=<absolute path to env file>",
"--exposition=readonly,high"
]
}
}
}--exposition combines readonly, high and low; compact must be used alone. See HANDLERS_MANAGEMENT.md and the tool list.
Read-only live check:
node tools/smoke-rfc.mjs --env-path=<env file> [--second-client=<n>]Several clients
SAP_CLIENT=100
SAP_CLIENTS=100,800
# optional per-client credentials:
# SAP_CLIENT_800_USERNAME=...
# SAP_CLIENT_800_PASSWORD=...Every tool gains an optional sap_client argument, and every result ends with a sap_client: <n> line.
SAP-side helpers
Two tool groups need a small RFC-enabled Z function group on the SAP system. Each has a setup tool that installs it:
Tools | Helper | Installed by |
|
|
|
|
|
|
Installing a helper writes Z code to the system, so ask the system owner first. Other tools on the same system may depend on the helper's version, so don't change the helper source or version casually.
Development
npx jest --testPathIgnorePatterns='integration' --testPathIgnorePatterns='__tests__/admin/'
npm run test:scripts
npm run docs:toolsLicense
MIT, see LICENSE. The SAP NW RFC SDK in runtime/ is SAP software under SAP's own license terms.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Secure tunneling, reverse proxy and remote access for local applications.
Develop, manage, and debug Railway projects, services, and deployments from within agents.
Securely control computers you explicitly pair through files, terminals, processes, screenshots, desktop UI/input, clipboard, browser automation, diagnostics, and document tools.
Work on your own computers from Claude or ChatGPT: run commands, edit and search files.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables interaction with SAP ABAP systems through ABAP Development Tools (ADT), providing access to repository objects, source code, where-used analysis, and SQL queries with support for both on-premise and BTP systems.4-
- FlicenseNot gradedqualityCmaintenanceEnables SAP ABAP development workflows including ADT login, object search, read, create, update, activate, delete, and OData service publishing.1-
- AlicenseCqualityDmaintenanceFacilitates interaction with SAP ABAP systems via ADT APIs, enabling object management, transport handling, and code analysis.100MIT
- AlicenseBqualityAmaintenanceEnables LLMs to develop, debug, test, and manage SAP ABAP objects on a live system through the ABAP Development Tools (ADT) protocol.2911MIT