Abap MCP server
Offline SAP ABAP/RAP tools for AI agents: lint, Cloud readiness, released APIs, knowledge.
2 stars123 downloads/wk
Reviews
Write oneNobody has reviewed Abap yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Abap tools (21, 3 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
check_cloud_readinessAssess how far ABAP source is from ABAP Cloud (Clean Core tier 1) by parsing it twice — once at a classic
check_rap_behaviorCheck RAP behavior definitions (.bdef.asbdef) and CDS service definitions (.srvd.srvdsrv) for syntax and
check_released_apiLook up ABAP repository objects (DB tables, CDS view entities, function modules, classes, interfaces, …) in
compare_abapCompare a BEFORE and an AFTER version of ABAP source and report what a rework actually changed: lint findings
explain_abap_releaseLook up what changed in ABAP Cloud, CDS, ABAP SQL, RAP, EML, ABAP Unit, ATC and the development tools across the
explain_abap_ruleExplain one abaplint rule in depth: title, description, extended rationale (often citing the Clean ABAP style
explain_with_sap_abap_1write actionSend ABAP source text to SAP's own sap-abap-1 foundation model, through the caller's SAP AI Core
fix_abapApply abaplint's own machine-applicable corrections to ABAP sources and return the corrected code: keyword
format_abapPretty-print one ABAP source: normalize keyword casing and indentation using abaplint's formatter — the offline
get_abap_agent_rulesGenerate the ABAP section of a repository's AGENTS.md / CLAUDE.md: the lint-before-commit rule, the ABAP Cloud
get_abap_outlineReturn the structural outline of ABAP sources — classes (with methods, visibility, attributes, interfaces,
get_object_dependenciesBuild a dependency graph over the provided ABAP sources for migration sequencing and impact reading: nodes are
lint_abapwrite actionRun abaplint static analysis over ABAP, CDS or behavior-definition sources and return structured findings
list_abap_rulesList the abaplint rules this server can check, optionally filtered by a free-text query or a tag, returning
list_genai_hub_modelsQuery the caller's own SAP AI Core Generative AI Hub tenant for the foundation models available to it —
plan_cloud_migrationTurn ABAP sources into an ordered, phased ABAP Cloud migration backlog: runs the same dual-parse analysis as
run_abap_unitwrite actionExecute the ABAP Unit tests in the provided sources offline: the code is transpiled to JavaScript by
scaffold_abap_ai_sdkGenerate one validated global ABAP class that calls the SAP Generative AI Hub through the ABAP AI SDK powered
scaffold_abap_unitGenerate the local ABAP Unit test-class include (<class>.clas.testclasses.abap) for each global class in the
scaffold_rap_boGenerate the complete, canonical RAP managed business-object stack for one root entity: root CDS view entity,
search_sap_knowledgeSearch one dated, cited knowledge bundle covering three areas: ABAP Cloud / RAP release deltas, Clean Core
Public scan report
scanner v0.1.5 · 2026-09-19 · same rubric, same numbers if you re-run it
- Code scan99 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 5 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
What the publisher says
From the Abap repository's README, as published. We do not edit it. Read it on GitHub
abap-mcp
Make your AI coding agent an expert SAP ABAP & RAP consultant — local by default. No SAP system, no credentials, one command to install.
abap-mcp is a Model Context Protocol server that gives any AI coding agent — Claude Code, GitHub Copilot, Cursor, Codex, Windsurf — real ABAP senses, built on abaplint (the open-source ABAP parser/linter). The agent brings the reasoning; abap-mcp brings ground truth: a deterministic parser, objective scores, and validated generators that keep the AI honest. It works on ABAP source wherever your agent works — a git checkout, an abapGit export, a code review, CI — long before anything reaches a system.
every snippet linted against Clean ABAP as you write (lintabap), every finding explained with its rationale and examples (explainabaprule), and scaffoldrap_bo starts you from a canonical, self-validated RAP business object instead of a blank editor.
- New to ABAP or RAP? Your agent becomes the senior consultant looking over your shoulder:
get a scored, categorized ABAP Cloud readiness report with an A–D tech-debt grade (checkcloudreadiness), a phased migration backlog with efforts and exit criteria (plancloudmigration), an objective before/after verdict on every rework (compareabap), released-API replacements (checkreleased_api), and CI gates that hold the line while the migration proceeds.
- Senior ABAP consultant? It's your assessment and task engine: point your agent at a repo and
The default stdio edition is 100% local: the analysis engine makes zero network calls and reads no user files. Sources go in as text and structured findings come back. The released-API list and abaplint rule data are package-bundled. An optional guarded Streamable HTTP edition makes the same tools available to remote clients such as ChatGPT web; in that mode, source text is sent to the machine you host. See privacy and data handling.
Why this exists
Every other ABAP MCP server is either a bridge to a live SAP system (ADT/RFC — needs credentials, a system, and trust) or a documentation search. But AI coding agents spend most of their time where the files are — editing abapGit repos, reviewing diffs, generating code — long before anything reaches a system. This server gives agents the missing feedback loop at that layer:
- "Does this ABAP parse? Is it clean? How does it perform?" → lint_abap (+ focus packs)
- "Fix this block automatically — casing, obsolete syntax." → fix_abap (deterministic, parser-guaranteed)
- "How far is this classic report from ABAP Cloud? Grade it." → checkcloudreadiness (A–D)
- "Plan the migration — what do we tackle first?" → plancloudmigration (phased backlog)
- "This class has no tests — start me a harness." → scaffoldabapunit (failing-by-default)
- "What depends on what? Migrate which object first?" → getobjectdependencies (+ Mermaid)
- "Did this rework make the code better or worse?" → compare_abap
- "Is MARA a released API? What do I use instead?" → checkreleasedapi
- "Start me a correct RAP business object." → scaffoldrapbo
- "What's in this 4,000-line class? Draw it." → getabapoutline (+ Mermaid)
Install — 60 seconds
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
Runs npx -y abap-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add abap-mcp -- npx -y abap-mcp
Abap: common questions
- Is Abap MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Abap safety report
- How do I install Abap?
- It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
- Does Abap need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Abap maintained?
- The last commit was 7 days ago (2026-09-14). The latest release is v0.12.0.
- What can I use instead of Abap?
- Servers from other publishers that do the same job: ARC-1 MCP server and Compartment MCP server.
Alternatives to Abap
Same job from other publishers: the closest match first, then the best rated.
ARC-1MCP server for SAP ABAP systemsnot reviewedEstablishedB- CompartmentDurable agentic memory, encrypted at rest. Fully offline: no network, no API key, no cloud.not reviewedEstablishedA