← Back to directory
M

MCP Abap Adt

Community
MCP server for SAP ABAP ADT: full CRUD for RAP and classic ABAP, supporting SAP BTP ABAP Cloud and On-Premise ECC/S/4HANA with JWT/XSUAA and service-key auth.
GitHub source repository ↗
★ 83 Stars Category · Dev Tools Popular Source revision 05688ee9841b
61FMRS · C
Reliability
8/20
Security and permissions
12/20
Maintenance
13/20
Documentation
15/20
Setup experience
13/20

This server provides powerful CRUD capabilities for SAP ABAP systems, suitable for AI-assisted development, but requires secure configuration and careful oversight. It supports multiple authentication methods and three transports.

Read the FMRS scoring method →

mcp-abap-adt is an MCP server for ABAP ADT in SAP ECC/S/4HANA (on-premise) and SAP BTP ABAP Cloud systems. It gives agents controlled access to real ABAP repositories through ADT, grounding analysis and changes in system data. It is built for AI-assisted pair programming, not autopilot vibe coding.

Tools

GetWhereUsed
Perform where-used analysis, mapping object usage and potential impact.
DescribeByList
List object metadata information.
GetObjectStructure
Get the internal structure of an object.
GetObjectInfo
Get detailed information about an object.
SearchObject
Search for ABAP objects.
GetPackageTree
Get the package hierarchy.
GetPackageContents
Get the list of package contents.
GetAbapAST
Get the ABAP syntax tree.
GetAbapSemanticAnalysis
Get semantic analysis results for ABAP code.
GetIncludesList
Recursively discover includes.
CreateBehaviorDefinition
Create a behavior definition.
UpdateBehaviorDefinition
Update a behavior definition.
CreateBehaviorImplementation
Create a behavior implementation.
UpdateBehaviorImplementation
Update a behavior implementation.
CreateServiceDefinition
Create a service definition.
UpdateServiceDefinition
Update a service definition.
CreateMetadataExtension
Create a metadata extension.
UpdateMetadataExtension
Update a metadata extension.
CreateView
Create a CDS or classic view.
UpdateView
Update a CDS or classic view.
GetView
Get view information.
DeleteView
Delete a view.
CreateClass
Create an ABAP class.
UpdateClass
Update an ABAP class.
GetClass
Get ABAP class information.
DeleteClass
Delete an ABAP class.
CreateInterface
Create an ABAP interface.
UpdateInterface
Update an ABAP interface.
GetInterface
Get ABAP interface information.
DeleteInterface
Delete an ABAP interface.
CreateFunctionGroup
Create a function group.
UpdateFunctionGroup
Update a function group.
GetFunctionGroup
Get function group information.
DeleteFunctionGroup
Delete a function group.
CreateFunctionModule
Create a function module.
UpdateFunctionModule
Update a function module.
GetFunctionModule
Get function module information.
DeleteFunctionModule
Delete a function module.
CreateTransport
Create a transport request.
GetTransport
Get transport request information.
ActivateObject
Activate an ABAP object.
GetDomain
Get a domain.
CreateDomain
Create a domain.
UpdateDomain
Update a domain.
GetDataElement
Get a data element.
CreateDataElement
Create a data element.
UpdateDataElement
Update a data element.
GetTable
Get a database table.
CreateTable
Create a database table.
GetTableContents
Preview table data.
GetStructure
Get a structure.
CreateStructure
Create a structure.
GetBehaviorDefinition
Get a behavior definition.
GetEnhancements
Analyze enhancements.
GetEnhancementImpl
Get enhancement implementation.
GetEnhancementSpot
Get enhancement spot.
GetInactiveObjects
Monitor inactive objects waiting for activation.
RuntimeCreateProfilerTraceParameters
Create profiler trace parameters.
RuntimeListProfilerTraceFiles
List profiler trace files.
RuntimeGetProfilerTraceData
Get profiler trace data.
RuntimeGetDumpById
Get dump data by ID.
RuntimeListFeeds
List runtime feeds (dumps, system messages, gateway errors).
RuntimeListSystemMessages
Get SM02 system messages.
RuntimeGetGatewayErrorLog
Get gateway error log.
GetSqlQuery
Execute custom SQL queries via the ADT Data Preview API.

Setup

  1. Install the server and configurator globally: npm install -g @mcp-abap-adt/core and npm install -g @mcp-abap-adt/configurator.
  2. Use the configurator to auto-configure your client, e.g., mcp-conf --client cline --name abap --mcp TRIAL.
  3. Or configure manually: set up a stdio server in your MCP client with command mcp-abap-adt and configure environment variables (e.g., SAP_URL).

Refer to the official documentation for details.

Fit and risk

Best for

  • ABAP developers and architects
  • RAP developers
  • Team leads and tech leads needing fast repository visibility
  • Teams building RAG/agent workflows for SAP landscapes

Not for

  • Users without SAP systems
  • Users who require read-only access (this server provides full CRUD)
  • Users relying on unsupported authentication methods

Required permissions

  • Requires access to the SAP system URL (SAP_URL)
  • Requires authentication credentials: JWT token (XSUAA) or basic auth username/password
  • Requires an ABAP client number (SAP_CLIENT)
  • Requires transport request privileges for on-premise systems (SAP_MASTER_SYSTEM, SAP_RESPONSIBLE)
  • Can create, read, update, and delete ABAP objects, so needs appropriate permissions in the ABAP system

Risks and side effects

  • AI agents may unintentionally modify or delete ABAP objects if given overly broad permissions
  • Exposed credentials (passwords, JWT tokens) may be leaked if not handled securely
  • Frequent access to SAP systems could cause performance or lock issues
  • Code generation quality may not meet production standards and requires human review

Troubleshooting

  1. Ensure SAP_URL is correct and accessible from the machine running the MCP server
  2. Verify authentication method: use XSUAA/JWT for BTP ABAP Cloud and basic for on-premise
  3. Check that the ABAP client number is correct
  4. Ensure sufficient transport request privileges for on-premise systems
  5. Read the authentication and configuration sections in the official documentation

Use cases

Impact analysis / where-used before changes to map object usage
Dependency audit across classes, interfaces, DDIC, CDS/views, and RAP artifacts
Extract repository facts to plan refactoring or cloud-readiness
Iterative RAP and ABAP development with fast ADT-backed CRUD
Automated documentation and RAG ingestion from ABAP systems

Supported clients

Claude DesktopFull support