abap-rap-mcp
Provides a SAPGit tool for managing Git-backed version control of ABAP objects (abapGit) in the connected system, with Git write operations gated behind explicit allow flags.
End-to-end SAP S/4HANA Cloud Public Edition, BTP ABAP Environment and on-premise ABAP integration via the ADT REST API: creates, edits and activates RAP/DDIC artifacts (tables, data elements, domains, CDS view entities, access controls, metadata extensions, behavior definitions, service definitions and bindings with OData V2/V4 publish), deploys Fiori/UI5 BSP apps, authors IAM apps, business catalogs and catalog assignments, manages communication scenarios and inbound/outbound/HTTP services, creates cloud form objects with .xdp/.xsd handling, number ranges and custom business configuration, plus transport, search, navigation, lint, diagnostics and browser SSO handling.
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.
abap-rap-mcp — End-to-End ABAP Cloud & RAP MCP Server
abap-rap-mcp is a Model Context Protocol (MCP) server for SAP S/4HANA Cloud Public Edition, SAP BTP ABAP Environment, and On-Premise ABAP systems via the ABAP Development Tools (ADT) REST API.
Built upon the enterprise-grade foundation of arc-mcp/arc-1, abap-rap-mcp extends the standard 12 intent-based ADT tools with end-to-end ABAP Cloud & RAP lifecycle capabilities — covering Fiori/UI5 BSP deployment, S/4HANA Public Cloud IAM (SIA1/SIA6/SIA7) authoring and local publishing, Cloud Communication Management (SCO1/SCO2/SCO3), Inbound HTTP Services (HTTP / UCON), ABAP Cloud Form Objects (SFPF / SFPF/5F) with RAP Service Definition binding and .xdp/.xsd actions, Number Ranges (NROB), smbc business configuration generation, and automatic foreground Browser SSO.
Key ABAP Cloud & RAP Highlights
End-to-End RAP & DDIC Authoring — Create, read, update, and activate Tables (
TABL), Data Elements (DTEL), Domains (DOMA), CDS View Entities (DDLS), Access Controls (DCLS), Metadata Extensions (DDLX), Behavior Definitions (BDEF), Behavior Pools (CLASwith method-level surgery), Service Definitions (SRVD), and Service Bindings (SRVB+ OData V2/V4 publish/unpublish).Zero-Dependency UI5 / Fiori Deployment (
BSP_DEPLOY) — Packages a localdist/orwebapp/directory into an in-memory PKZIP archive and deploys directly to/sap/opu/odata/UI5/ABAP_REPOSITORY_SRV(create,update,delete, andtestMode).S/4HANA Public Cloud IAM (
SIA1,SIA6,SIA7+ Publish Locally) — Create and update IAM Apps (SIA6EXT/MBC, bind OData Service Bindings orui5AppId), Business Catalogs (SIA1), and Catalog App Assignments (SIA7) in transportable customer packages (Z*,/NS/*), with one-step local publishing.Cloud Communication & HTTP Integration (
SCO1,SCO2,SCO3,HTTP) — Full CRUD for Communication Scenarios (SCO1+ local$publish), Inbound Services (SCO2), Outbound Services (SCO3), andIF_HTTP_SERVICE_EXTENSIONInbound HTTP Services (HTTP+/publish).ABAP Cloud Form Objects (
SFPF/SFPF/5F) — Create and update cloud Adobe Form Objects, bind RAP Service Definitions (SRVD) viageneralInformation.dataprovider, upload/download.xdplayouts, and download.xsddata schemas for Adobe LiveCycle Designer.Number Ranges (
NROB) & Table Maintenance Generator (smbc) — Read/write AFF Number Range Objects (NROB/NRO) and generate Custom Business Configuration (SMBC) stacks alongsideui-serviceandwebapi-serviceRAP generators.Automatic Foreground Browser SSO (
SAP_AUTO_SSO=true) — Automatically opens a foreground Chrome/Edge SSO window when cookies expire (401or SAML HTML challenge), captures freshMYSAPSSO2/SAP_SESSIONID*cookies via CDP into a persistent per-host profile, closes the window, and transparently retries the in-flight ADT request.
Related MCP server: SAP BTP ABAP ADT MCP Server
Security & Safe Defaults
Safe by default — Read-only out of the box; mutations, transport writes, Git writes, table previews, and freestyle SQL are disabled until explicitly enabled via
SAP_ALLOW_*flags.Fail-closed package allowlists —
SAP_ALLOWED_PACKAGES(defaults to$TMP) restricts every write, delete, publish, and activation against the object's verified SAP package.Action deny list — Block specific tool actions globally with
SAP_DENY_ACTIONS(e.g.,SAPWrite.delete).Token-efficient 12-tool design — Exposes 12 intent-driven tools (
SAPRead,SAPSearch,SAPWrite,SAPActivate,SAPNavigate,SAPQuery,SAPTransport,SAPGit,SAPContext,SAPLint,SAPDiagnose,SAPManage) instead of 200+ endpoint wrappers, plus a 1-toolhyperfocusedmode.
Quick Start
1. Build Locally
npm ci --ignore-scripts
npm run build2. Configure Your MCP Client (mcp_config.json)
Example local configuration for an SAP S/4HANA Cloud Public Edition system with automatic Browser SSO:
{
"mcpServers": {
"abap-rap-mcp": {
"command": "node",
"args": ["/absolute/path/to/abap-rap-mcp/dist/index.js"],
"env": {
"SAP_URL": "https://my123456.s4hana.cloud.sap",
"SAP_CLIENT": "080",
"SAP_COOKIE_FILE": "/path/to/.arc-1/cookies-dev.txt",
"SAP_AUTO_SSO": "true",
"SAP_ALLOW_WRITES": "true",
"SAP_ALLOW_TRANSPORT_WRITES": "true",
"SAP_ALLOWED_PACKAGES": "Z*,/YOURNS/*",
"SAP_ALLOW_DATA_PREVIEW": "true",
"SAP_ALLOW_FREE_SQL": "false"
}
}
}
}Usage Examples for Cloud Extensions
Deploy a Fiori / SAPUI5 Application (BSP_DEPLOY)
{
"action": "create",
"type": "BSP_DEPLOY",
"name": "ZMY_FIORI_APP",
"package": "ZMY_PKG",
"transport": "DEVK900123",
"source": "{\"sourceDir\":\"C:/projects/my-fiori-app/dist\"}"
}Create IAM App + Business Catalog + Assignment & Publish (SIA6, SIA1, SIA7)
{
"action": "create",
"type": "SIA6",
"name": "ZMY_APP_EXT",
"package": "ZMY_PKG",
"transport": "DEVK900123",
"source": "{\"appType\":\"EXT\",\"serviceBinding\":\"ZUI_MY_APP_O4\",\"ui5AppId\":\"ZMY_FIORI_APP\",\"publish\":true}"
}Create ABAP Cloud Form Object + Bind SRVD + Upload .xdp Layout (SFPF)
{
"action": "create",
"type": "SFPF",
"name": "ZMY_INVOICE_FORM",
"package": "ZMY_PKG",
"transport": "DEVK900123",
"serviceDefinition": "ZUI_INVOICE_FORM_SRVD",
"source": "{\"layoutPath\":\"C:/forms/invoice.xdp\",\"fontEmbed\":true,\"reduceDataVolume\":true}",
"activate": true
}Download
.xdplayout:SAPRead(type="SFPF", name="ZMY_INVOICE_FORM", include="layout")Download
.xsdschema:SAPRead(type="SFPF", name="ZMY_INVOICE_FORM", include="xsd")
Create Outbound Service & Communication Scenario (SCO3, SCO1)
{
"action": "create",
"type": "SCO3",
"name": "ZOB_EXTERNAL_REST",
"package": "ZMY_PKG",
"transport": "DEVK900123",
"source": "{\"type\":\"REST\",\"urlPath\":\"/api/v1/orders\"}"
}{
"action": "create",
"type": "SCO1",
"name": "ZCS_EXTERNAL_INTEGRATION",
"package": "ZMY_PKG",
"transport": "DEVK900123",
"source": "{\"outboundServices\":[{\"obsID\":\"ZOB_EXTERNAL_REST\",\"obsType\":\"REST\"}],\"publish\":true}"
}Development
npm ci --ignore-scripts
npm run build
npm testSee docs/dev-guide.md, skills/README.md, and .env.example for detailed developer, skill, and configuration references.
Credits & Attribution
abap-rap-mcp is built upon and extends arc-mcp/arc-1 under the MIT License:
Project | Author | Contribution |
Marian Zeis | Core 12-tool ADT MCP architecture, safety ceiling, caching, and BTP support | |
Alice Vinogradova (oisee) & contributors | Original MCP server inspiration | |
Marcello Urbani | TypeScript ADT API reference | |
Mario Andreschak | Early MCP server for ABAP ADT | |
Lars Hvam | ABAP parser and linter ( |
Trademark Disclaimer & License
SAP, SAP S/4HANA, ABAP, SAP BTP, and SAP Fiori are trademarks or registered trademarks of SAP SE or an SAP affiliate company in Germany and other countries. This project is an independent open-source project and is not affiliated with, sponsored by, or endorsed by SAP SE.
Licensed under the MIT License.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Acumatica MCP server for ChatGPT, Claude and any AI agent: create AP bill, create AR invoice, release invoice, list open invoices and approve payment in your own Acumatica account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Acumatica yourself; Cotlet does not store your password and you need no Acumatica API key. About the official Acumatica API: Yes. Acumatica has a full contract-based REST API with OAuth 2.0 (checked 14 Oct 2026). Setup and FAQ: https://cotlet.dev/integrations/acumatica-api-mcp-server
Anaplan MCP server for ChatGPT, Claude and any AI agent: list models, list actions, upload import file, run import, run process, run export, get model history and add user in your own Anaplan account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Anaplan yourself; Cotlet does not store your password and you need no Anaplan API key. About the official Anaplan API: Yes. Anaplan has an official REST API, the Integration API v2.0, and an official MCP server, the Anaplan AI Gateway, but Anaplan's help says the AI Gateway gives external AI systems read-only access (checked 5 Nov 2026). Setup and FAQ: https://cotlet.dev/integrations/anaplan-api-mcp-server
Absorb LMS MCP server for ChatGPT, Claude and any AI agent: list users, list course enrollments, list overdue learners, approve enrollment request, enroll users in a course, message learners, create user and deactivate user in your own Absorb LMS account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Absorb LMS yourself; Cotlet does not store your password and you need no Absorb LMS API key. About the official Absorb LMS API: Absorb LMS has an Integration API, a REST API with JSON for learners, courses, departments and grades, but it needs a private key tied to your portal that your Absorb account team provides, and your own code (checked 20 Oct 2026). Absorb's Aura MCP for Claude and ChatGPT is planned for 27 Oct 2026 and is read and answer only. Setup and FAQ: https://cotlet.dev/integrations/absorb-lms-api-mcp-server
Nextcloud MCP server for ChatGPT, Claude and any AI agent: upload file, share file, create calendar event, add contact, create Deck card and search files in your own Nextcloud account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Nextcloud yourself; Cotlet does not store your password and you need no Nextcloud API key. About the official Nextcloud API: Yes. Every Nextcloud instance has WebDAV for files, CalDAV for calendars, CardDAV for contacts, an OCS Share API and a Deck API, and they accept an app password (checked 16 Oct 2026). Setup and FAQ: https://cotlet.dev/integrations/nextcloud-api-mcp-server
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 gradedqualityDmaintenanceEnables 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
- AlicenseBqualityBmaintenanceEnables full ABAP development workflows against SAP systems via the ADT API, including reading and editing objects, running code, managing transports, executing tests, and performing code analysis.1771MIT