SAP ABAP MCP

io.github.CoaspePublished by GitHub account Coaspev2.2.0Updated Oct 29, 2026

Develop, test, analyze, and operate SAP ABAP systems through ADT from AI coding agents.

VerifiedSTDIODesktop onlyDatabasesDeveloper Tools

Overview

AI-generated overview

Connects an AI assistant to an ADT-enabled SAP system so it can read ABAP code, make scoped changes and inspect check results.

What you can do
  • Find and inspect SAP capabilities: search by keyword or browse categories, and describe capabilities to get exact input schemas and hashes
  • Run read capabilities against the SAP system with a described schema hash and arguments
  • Run write capabilities, such as scoped source changes, with a described schema hash and arguments
  • Run destructive capabilities, such as activation or transport operations, with a described schema hash and arguments
  • Look up systems and follow guided workflow prompts for changing an existing object
When to use it
Use it when an ABAP developer wants an AI coding agent to work inside an SAP system through ADT: reading ABAP source, making scoped changes to Z programs or classes, and checking actual results. For a first evaluation, keep it read-only and expose only the search, describe and read gateways.
Requirements
Runs locally over stdio as an npm package; needs Node.js 22 or 24 and network access to the SAP system, usually via company VPN. Local setup must be completed first with the onboard or register command, including SAP connection details and credentials stored in OS-protected storage; no environment variables or headers are declared. Company CA files may be needed for TLS trust.
Before you install
It can write to and activate objects in a live SAP system, and multi-object writes that fail may stop in an uncertain state with no automatic rollback, so inspect state before retrying. SAP credentials are handled during local setup, never in chat. Live-SAP acceptance of the current 2.x release is not verified by retained operation-level records, and older pinned registrations must be updated to get the fixes.

Installation

In SourceWeft

  1. Open SAP ABAP MCP in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

SAP ABAP MCP

[npm version] [npm downloads]

Connect your AI assistant to an ADT-enabled SAP system to read ABAP, make scoped changes and inspect actual check results.

[SAP ABAP MCP demo]

Quick start

  1. Install Node.js 22/24 and connect to your company VPN.
  2. Run npx -y @coaspe/[email protected] onboard (npx.cmd on Windows).
  3. Verify and save your SAP connection, register your host, then restart the app and verify an actual SAP system read.
HostSetup command
Claude Codenpx -y @coaspe/[email protected] onboard
Codexnpx -y @coaspe/[email protected] onboard
VS Codenpx -y @coaspe/[email protected] register DEV100 --client vscode --apply
Cursornpx -y @coaspe/[email protected] register DEV100 --client cursor --apply
Gemini CLInpx -y @coaspe/[email protected] register DEV100 --client gemini --apply
Claude Desktopnpx -y @coaspe/[email protected] register DEV100 --client claude-desktop --apply

Version 2.2.0 includes company CA files, six-host registration and Windows SAP Logon import. Omit --apply to preview a registration; existing entries are preserved and existing settings files are backed up. Claude Desktop MCPB users should avoid a duplicate registration. On Windows replace npx with npx.cmd.

CA profiles use file format version 3 and need 2.2.0 or later. Existing npm registrations pin their package version: restart alone does not update a 2.1.0 registration. Use registration doctor and reviewed repair to update an existing registration to 2.2.0 before using a CA profile.

See setup details, including Linux environment-only credentials and registration recovery.

2.1.0 fixes noninteractive startup, native macOS credential storage and registration recovery. Windows DPAPI explicitly loads its native security module even when Node inherits a PowerShell 7 module path. Bundled npm/npx Windows launchers are resolved without a shell while preserving custom wrappers. This release also reduces the runtime package. Patched vendor bytes are preserved across Windows and Unix checkouts. Existing five gateways still reach 120 capabilities.

Fixes in 2.2.0

Repeated source patches use the same current-source view, preserve literal $ sequences and activate after unlock. Transport release supports ADT background runs; the release also improves RAP response recovery, V4 unpublish errors, old open-transport discovery, CTS-key object assignment, Dictionary checks and top-level package creation. See the eight fixes and validation limits.

These paths have local automated coverage. Live B4D write/release acceptance has not been established by this release. Older npm 2.1.0 still has the reported source-patch limitations; upgrading the package and its pinned host registration is required to use the fixes.

One existing-object change

Select the existing sap-change-object prompt, with the configured systemId, exact Z program/class as target, and desired behavior in goal. It reuses source, semantic/public API, dependency, quality and transport features.

Production/read-only policy, package restrictions, transport requirements and exact-source checks remain enforced. In 2.2.0, source writes recheck the same current-source view under lock, without an explicit inactive probe. A changed current version stops the write. Requested activation follows successful unlock and is skipped on syntax errors. Uncertain multi-object writes stop with saved/uncertain/unattempted identities; there is no automatic rollback or atomic-transaction claim. Inspect state before retrying. Zero tests, unsupported checks and partial findings cannot establish completion.

For a read-only evaluation, keep readOnly: true and expose only search, describe and invoke_read gateways in the host. Do not execute write, activation, Unit, ATC, debugger or profiling operations during that evaluation. See workflow prompts and T1–T5 criteria.

Verified environments and limits

ScopeEvidence and limit
Clean npm tarball, macOS arm64, Node 24Eight launch/profile combinations, Unicode/spaces, help, invalid commands and shutdown passed on the reliability candidate
macOS KeychainActual throwaway legacy-item/UTF-8/9,000-byte storage, renewal and deletion passed
Windows read-only field procedureOwner reports all supplied steps passed without candidate source changes; sanitized operation records were not supplied
Windows DPAPI / npx.cmd automationWindows CI passed: native storage/module-shadow regression, bundled launchers and eight installed-tarball protocol cases
Native Desktop MCPB / host restartStandalone bundle checks and an owner's overall field report remain distinct from retained app-level evidence
Current 2.x live-SAP acceptancenot verified by retained operation-level records; owner-reported read-only completion is recorded separately
Historical live SAP / model comparison2026-08-05 results are historical; no identical-model T1–T5 completion rate or product ranking is established

Candidate measurements reduced compressed npm size from 26.29 to 13.33 MB and installed dependency bytes from 118.89 to 91.81 MB. Three warm protocol sessions measured 346–351 to 223–239 ms. Cold install was 12.92 to 16.06 seconds; no cold speed improvement is claimed. See exact snapshots and limits.

If setup fails

SymptomNext action
MCP closes immediatelyKeep serve explicit, especially on 2.0.1; verify Node on the host PATH
SETUP_REQUIREDComplete local setup and reconnect; this state is not an accepted SAP installation
Removed Node/cache or old registered versionRun registration doctor and reviewed repair/update
Certificate untrusted / expired / hostname mismatchKeep verification enabled; use the company CA PEM file or ask the administrator to fix the certificate/URL. See TLS trust
SAP URL unknownOn Windows use SAP Logon import to find candidate URLs, then check ADT and confirm the endpoint with your administrator
SAP authentication/authorization failureRenew locally or ask the administrator for ADT permission; avoid blind repeated logins
Inactive conflict / uncertain writeRead current active/inactive state and reconcile with its owner before resuming

Reference and release status

Normal clients should omit both --api-version and --toolsets.

Privacy Policy

PRIVACY.md: no default remote telemetry. Credentials remain in OS-protected storage. Feedback exports are voluntary; public adopter names and quotes require separate explicit permission. Downloads and automated tests do not establish active users, task success or independent adoption.

Source: README.md at commit d22c91d

Tools

5

sap.capability.describe

Describe SAP Capability

Get exact input schemas and hashes: name or names (up to 10).

ParametersnamenamesincludeOutputSchema

sap.capability.invoke_read

Invoke Read SAP Capability

Invoke a read capability with its described schemaHash and arguments.

ParametersnamerequiredargumentsschemaHashrequired

sap.capability.invoke_write

Invoke Write SAP Capability

Invoke a write capability with its described schemaHash and arguments.

ParametersnamerequiredargumentsschemaHashrequired

sap.capability.invoke_destructive

Invoke Destructive SAP Capability

Invoke a destructive capability with its described schemaHash and arguments.

ParametersnamerequiredargumentsschemaHashrequired

Version history

5
  1. v2.2.0LatestOct 21, 2026
  2. v2.1.0Oct 20, 2026
  3. v2.0.1Oct 12, 2026
  4. v2.0.0Oct 8, 2026
  5. v1.7.0Sep 16, 2026

Score

90% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts
  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts