About Vibing Steampunk
Vibing Steampunk is an MCP server published by oisee in the Developer Tools category: vs-punk: ADT to MCP bridge - Vibe code in ABAP / AMDP. Conduid read 151 tools from its source: AMDPDebuggerResume, AMDPDebuggerStart, AMDPDebuggerStep, AMDPDebuggerStop, AMDPGetBreakpoints, AMDPGetVariables and 145 more. No package is published for it, so it installs from a source checkout.
The repository has 545 stars and 140 forks, is licensed MIT, and its last commit was on 16 Nov 2026. The latest release is v2.62.1 (16 Nov 2026): v2.62.1 — new since v2.62.0 osd-hana-dump takes exactly the objects it is asked for, over TLS if you want, and holds up on a whole system's customer code. It follows v2.62.0 (16 Nov 2026), and the 5 most recent releases go back to v2.59.1 (2 Oct 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include abap, devtools, adt and vibe-coding.
Install
git clone https://github.com/oisee/vibing-steampunkTools (151)
AMDPDebuggerResumeGet current AMDP debug session status. In goroutine model, this returns the current state without blocking. The session manager goroutine handles events internally.AMDPDebuggerStartStart an AMDP (HANA SQLScript) debug session with persistent goroutine. Creates a background goroutine that maintains the HTTP session cookies. Use AMDPDebuggerStep/AMDPGetVariables to interact, AMDPDebuggerStop to terminate.| Parameter | Type | Description |
|---|---|---|
| user | string | User to debug (defaults to current user) |
AMDPDebuggerStepPerform a step operation in the AMDP debugger. Communicates via channel to the session manager goroutine.| Parameter | Type | Description |
|---|---|---|
| step_type * | string | Step type: 'stepInto', 'stepOver', 'stepReturn', 'stepContinue' |
AMDPDebuggerStopStop the AMDP debug session and terminate the background goroutine. Cleans up the HTTP session on SAP server.AMDPGetBreakpointsGet all breakpoints registered in the current AMDP debug session. Useful for verifying breakpoints are set correctly.AMDPGetVariablesGet variable values during AMDP debugging. Communicates via channel to the session manager goroutine. Returns scalar, table, and array types.AMDPSetBreakpointSet a breakpoint in AMDP (SQLScript) code. Requires an active AMDP debug session. Specify the procedure name and line number.| Parameter | Type | Description |
|---|---|---|
| line * | number | Line number in the SQLScript code |
| proc_name * | string | AMDP procedure name (e.g., 'ZCL_TEST=>METHOD_NAME') |
ActivateActivate an ABAP object| Parameter | Type | Description |
|---|---|---|
| object_name * | string | Technical name of the object (e.g., ZTEST) |
| object_url * | string | ADT URL of the object (e.g., /sap/bc/adt/programs/programs/ZTEST) |
| timeout | number |
ActivateMultipleActivate multiple ABAP objects in a single ADT request, resolving mutual dependencies between them (same behaviour as Eclipse ADT). Use when includes and their main program must be activated together.| Parameter | Type | Description |
|---|---|---|
| objects * | array | Objects to activate. Each item can be: - {"url": "/sap/bc/adt/programs/programs/zprog", "name": "ZPROG"} - "TYPE NAME" shorthand, e.g. "PROG ZPROG", "INCL ZPROG_TOP", "CLAS ZCL_X" |
| timeout | number |
ActivatePackageActivate all inactive objects. Objects are sorted by dependency order (interfaces before classes). If no package specified, activates ALL inactive objects for current user.| Parameter | Type | Description |
|---|---|---|
| max_objects | number | Maximum number of objects to activate (default: 100) |
| package | string | Package name to filter (optional, empty = all packages) |
| timeout | number |
AnalyzeABAPCodeAnalyze ABAP source code for quality, performance, security, and robustness issues using the native Go abaplint engine. Provide source directly or specify object_type + object_name to fetch from SAP. Returns findings with severity, category, line numbers, and fix suggestions.| Parameter | Type | Description |
|---|---|---|
| object_name | string | ABAP object name (e.g., ZTEST, ZCL_MY_CLASS) — fetches source from SAP |
| object_type | string | ADT object type (e.g., PROG, CLAS, FUGR) — required when using object_name |
| source | string | ABAP source code to analyze directly (alternative to object_name) |
AnalyzeCallGraphCounts over one object's references: how many, of what kind, in which direction. Same two sources as GetCallGraph, so the same caveats apply — and the depth is always 1, because neither source is recursive.| Parameter | Type | Description |
|---|---|---|
| direction | string | Direction: 'callers' or 'callees' (default: callees) |
| object_name | string | Object name, e.g. ZCL_ORDER_PROCESSING |
| object_type | string | CLAS, INTF, PROG, FUGR or FUNC — with object_name, instead of object_uri |
| object_uri | string | ADT URI of the object to analyze. Or give object_type and object_name. |
AssignIAMAppToCatalogAssign an IAM app to a business catalog by creating the assignment object (ADT type SIA7), then activate it. This is what the Eclipse 'Business Catalog IAM App Assignment' wizard creates. It is NOT the SIA1 $bucapps sub-resource, which is read-only and answers 405 to every write verb; the assignment is a first-class object in its own collection. Both the catalog and the app must exist and be published first.| Parameter | Type | Description |
|---|---|---|
| business_catalog * | string | Business catalog ID, e.g. ZBC_MY_APP |
| iam_app * | string | IAM app ID to assign, e.g. ZIA_MY_APP |
| name | string | Assignment object name. Defaults to <catalog>_0001, which is what the workbench generates. |
| package_name * | string | Package to create the assignment in |
| skip_activation | boolean | Create without activating (default: false) |
| transport | string | Transport request number, required for a transportable package |
CallRFCCall a function module via WebSocket (ZADT_VSP). Useful for triggering ABAP code execution to hit breakpoints. Parameters are passed as key-value pairs.| Parameter | Type | Description |
|---|---|---|
| function * | string | Function module name (e.g., 'RFC_PING', 'BAPI_USER_GET_DETAIL') |
| params | string | JSON object with function parameters (e.g., '{"IV_PARAM":"value"}') |
CheckBoundariesAnalyze package boundary violations. Checks if a package/object's dependencies cross package boundaries. Detects: same-package deps, SAP standard deps, whitelisted Z-package deps, violations (cross-package Z* deps), and dynamic calls. Uses embedded ABAP parser (offline) + TADIR resolution (online).| Parameter | Type | Description |
|---|---|---|
| depth | number | Analysis depth (default: 1). Higher values follow transitive deps. |
| format | string | Output format: 'text' (default), 'json', 'full' (includes standard deps) |
| object | string | Single object to analyze (e.g., ZCL_TEST). Source is read from SAP. |
| package | string | Package to analyze (e.g., $ZDEV). All objects in package are checked. |
| source | string | ABAP source code to analyze offline (no SAP connection needed). |
| whitelist | string | Comma-separated list of allowed Z-packages (supports glob: '$ZCOMMON,$ZUTIL*'). Dependencies on these packages are OK. |
CloneObjectCopy an ABAP object to a new name. Replaces object name in source. Supports PROG, CLAS, INTF.| Parameter | Type | Description |
|---|---|---|
| object_type * | string | Object type: PROG, CLAS, INTF |
| package * | string | Target package (e.g., $TMP) |
| source_name * | string | Name of object to copy |
| target_name * | string | Name for the new object |
CodeCompletionGet code completion suggestions at a position in source code| Parameter | Type | Description |
|---|---|---|
| column * | number | Column number (1-based) |
| line * | number | Line number (1-based) |
| source * | string | Full source code of the file |
| source_url * | string | ADT URL of the source file (e.g., /sap/bc/adt/programs/programs/ZTEST/source/main) |
CompareCallGraphsCompare an object's recorded references with an actual execution trace: what ran, what did not, and what ran without being recorded. The static side comes from the cross-reference tables, so a 'static only' edge may be a type the code names and never calls rather than an untested path.| Parameter | Type | Description |
|---|---|---|
| object_uri * | string | ADT URI of the root object |
| trace_data * | string | JSON array of trace edges from execution (format: [{caller_name, callee_name}, ...]) |
CompareLanguagesCompare the text content of an ABAP object in two languages. Shows which lines differ or are missing in the target language. Useful for identifying untranslated or outdated translations.| Parameter | Type | Description |
|---|---|---|
| object_url * | string | ADT source URL (e.g., /sap/bc/adt/programs/programs/ZTEST/source/main) |
| source_language * | string | Source language code (e.g., EN) |
| target_language * | string | Target language code (e.g., DE, FR) |
CompareSourceCompare source code of two objects and return unified diff. Supports all object types from GetSource.| Parameter | Type | Description |
|---|---|---|
| include1 | string | Class include type for first object if CLAS: definitions, implementations, macros, testclasses |
| include2 | string | Class include type for second object if CLAS |
| name1 * | string | Name of first object |
| name2 * | string | Name of second object |
| parent1 | string | Function group for first object if FUNC |
| parent2 | string | Function group for second object if FUNC |
| type1 * | string | Object type of first object: PROG, CLAS, INTF, FUNC, FUGR, INCL, DDLS, BDEF, SRVD |
| type2 * | string | Object type of second object (can be same or different) |
CompareVersionsCompare two versions of an ABAP object with unified diff. Use version URIs from GetRevisions. Use 'current' as version2_uri to compare against the active version.| Parameter | Type | Description |
|---|---|---|
| include | string | Class include type for CLAS: main, definitions, implementations, macros, testclasses |
| name * | string | Object name |
| parent | string | Function group name (required for FUNC type) |
| type * | string | Object type: PROG, CLAS, INTF, FUNC, INCL, DDLS, BDEF, SRVD |
| version1_uri * | string | Version URI for first (older) version, from GetRevisions |
| version2_uri | string | Version URI for second (newer) version, from GetRevisions. Default: 'current' (compare against active version) |
CreateAndActivateProgramCreate a new program with source code and activate it (Create -> Lock -> Update -> Unlock -> Activate)| Parameter | Type | Description |
|---|---|---|
| description * | string | Program description |
| package_name * | string | Package name (e.g., $TMP for local) |
| program_name * | string | Name of the ABAP program |
| source * | string | ABAP source code |
| transport | string | Transport request number (required for non-local packages) |
CreateBusinessCatalogCreate an IAM business catalog (ADT type SIA1) and assign IAM apps to it. This is the step that authorizes a published RAP service: publishing a service binding generates an IAM app, which grants nothing until a business catalog holds it and a business role includes that catalog. Creates, activates and publishes the catalog. Assigning apps is a separate step: use CreateIAMApp then AssignIAMAppToCatalog, which creates the SIA7 assignment object. (The SIA1 $bucapps sub-resource is read-only and answers 405; the assignment is a first-class object, which is what Eclipse writes.) Finish by adding the catalog to a business role in Maintain Business Roles.| Parameter | Type | Description |
|---|---|---|
| attempt_app_assignment | boolean | Try to write the assignments over ADT anyway (default: false). The $bucapps resource controller implements only GET on S/4HANA Cloud 2602, so this returns 405. Left in for a future release that opens it for writing. |
| description * | string | Business catalog description |
| iam_apps | string | Comma-separated IAM app IDs this catalog is meant to hold, e.g. ZUI_MY_SRV_O4_0001_ABCD_IBS. Recorded in the response as a reminder only: ADT cannot write app assignments (see attempt_app_assignment). |
| name * | string | Business catalog name, e.g. ZBC_MY_APP |
| package_name * | string | Package to create the catalog in |
| publish | boolean | Run the local publish after activation (default: true) |
| skip_activation | boolean | Create and assign without activating (default: false) |
| transport | string | Transport request number, required for a transportable package |
CreateClassWithTestsCreate a new class with unit tests and run them (Create -> Lock -> Update -> CreateTestInclude -> UpdateTest -> Unlock -> Activate -> RunTests)| Parameter | Type | Description |
|---|---|---|
| class_name * | string | Name of the ABAP class |
| class_source * | string | ABAP class source code (definition and implementation) |
| description * | string | Class description |
| package_name * | string | Package name (e.g., $TMP for local) |
| test_source * | string | ABAP unit test source code |
| transport | string | Transport request number (required for non-local packages) |
CreateIAMAppCreate an IAM app (ADT type SIA6), activate and publish it locally. Publishing a service binding does NOT create this object: it creates an IAM business service (SIA6 with appType IBS) plus a communication scenario, and neither can be put in a business catalog. This is the assignable app that goes in one. Use app_type EXT for an application served outside the system, such as a Fiori app on BTP Cloud Foundry. Until the app is published, the business catalog assignment does not see it, which reads as the app not existing.| Parameter | Type | Description |
|---|---|---|
| app_type | string | Application type: EXT (external app, the default) or IBS |
| description * | string | IAM app description |
| name * | string | IAM app name, e.g. ZIA_MY_APP |
| package_name * | string | Package to create the app in |
| publish | boolean | Run the local publish after activation (default: true) |
| secondary_id | string | Object the app stands for, e.g. the generated communication scenario on an IBS app. Leave empty for a plain external app. |
| skip_activation | boolean | Create without activating (default: false) |
| transport | string | Transport request number, required for a transportable package |
CreateObjectCreate a new ABAP object. Supports: PROG/P (program), CLAS/OC (class), INTF/OI (interface), PROG/I (include), FUGR/F (function group), FUGR/FF (function module), DEVC/K (package), DDLS/DF (CDS view), BDEF/BDO (behavior definition), SRVD/SRV (service definition), SRVB/SVB (service binding), MSAG/N (message class)| Parameter | Type | Description |
|---|---|---|
| binding_category | string | For SRVB: '0' = UI (User Interface), '1' = A2X (Web API). Default: '0' (UI). Values follow SAP domain SRVB_BND_CATEGORY. |
| binding_version | string | For SRVB: OData version 'V2' or 'V4'. Defaults to 'V2' - pass 'V4' explicitly for Fiori Elements V4 apps, otherwise a V2 binding is created silently. |
| description * | string | Object description |
| language | string | For MSAG/N: original language of the class and its messages (ISO, e.g. EN, DE); defaults to the session language |
| messages | object | For MSAG/N: initial messages as {"001": "text", ...} |
| name * | string | Object name (e.g., ZTEST_PROGRAM) |
| object_type * | string | Object type: PROG/P, CLAS/OC, INTF/OI, PROG/I, FUGR/F, FUGR/FF, DEVC/K, DDLS/DF, BDEF/BDO, SRVD/SRV, SRVB/SVB, MSAG/N |
| package_name * | string | Package name (e.g., $TMP for local, ZPACKAGE for transportable) |
| parent_name | string | Parent name (required for function modules - the function group name) |
| rfc_enabled | boolean | For FUGR/FF: make the module remote-enabled (RFC). Remote-enabled modules must pass every parameter by value |
| service_definition | string | For SRVB: the service definition name to bind |
| source | string | For FUGR/FF: full module source including the signature (FUNCTION ... IMPORTING VALUE(iv_x) TYPE i ... ENDFUNCTION.) - a function module's interface lives in its source |
| transport | string | Transport request number (required for non-local packages) |
CreatePackageCreate a new ABAP package. Local packages ($*) work by default. Transportable packages require --enable-transports flag and transport parameter.| Parameter | Type | Description |
|---|---|---|
| description * | string | Package description |
| name * | string | Package name (e.g., $ZTEST for local, ZPRODUCTION for transportable) |
| parent | string | Parent package name (optional, e.g., $TMP, ZPROD). If not specified, creates a root-level package. |
| software_component | string | Software component name (required for transportable packages, e.g., 'HOME', 'ZLOCAL'). Use GetInstalledComponents to list available components. |
| transport | string | Transport request number (required for transportable packages, e.g., 'A4HK900114') |
CreateTableCreate a DDIC transparent table from a simple JSON definition. Handles full workflow: create → set source → activate. Supports common ABAP types: CHAR, NUMC, INT4, DEC, STRING, TIMESTAMPL, UUID, etc.| Parameter | Type | Description |
|---|---|---|
| client_dependent | boolean | Left out: add a key field CLIENT (abap.clnt) in front, unless the first key field has client type MANDT/CLIENT/CLNT/abap.clnt. A first key field NAMED MANDT or CLIENT typed with another data element (e.g. SYMANDT, ZMANDT) is refused unless this is true, which uses that field as the client field as is (false is refused: SAP may see a client field there). Named MANDT/CLIENT with a built-in type (CHAR3, INT4) is refused unless this is false, since SAP would make the table client-independent. true: client-dependent, same rules. false: client-independent table, no client field is added. |
| delivery_class | string | Delivery class: A=Application (default), C=Customizing, L=Temporary |
| description * | string | Short description of the table |
| fields * | string | JSON array of fields: [{"name":"ID","type":"CHAR32","key":true},{"name":"VALUE","type":"STRING","notNull":true}]. Attributes: name, type, length, decimals, description, key, notNull; any other attribute is refused. Attribute names are case-insensitive. Types: CHAR/CHARnn, NUMC/NUMCnn, INT4, DEC, STRING, TIMESTAMPL, UUID, DATS, TIMS, MANDT/CLIENT/CLNT/abap.clnt (client types), or data element name. Client field: a first key field of client type (MANDT, CLIENT, CLNT or abap.clnt) is the client field; without one, a 'key client : abap.clnt' field is put in front (see client_dependent). Non-key client-typed data columns (e.g. SRC_CLIENT) are allowed; a client-typed key field after the first is refused. |
| name * | string | Table name (uppercase, max 30 chars, must start with Z/Y) |
| package | string | Target package (default: $TMP) |
| transport | string | Transport request number (optional for $TMP) |
CreateTestIncludeCreate the test classes include for a class (required before writing test code)| Parameter | Type | Description |
|---|---|---|
| class_name * | string | Name of the ABAP class |
| lock_handle | string | Optional lock handle. Omit it and this call takes and releases its own lock on the parent class (#169). |
| transport | string | Transport request number (optional for local packages) |
CreateTransportCreate a new transport request. Requires --enable-transports flag and not --transport-read-only.| Parameter | Type | Description |
|---|---|---|
| cts_project | string | CTS project to file the request under (optional; defaults to --cts-project) |
| description * | string | Transport description |
| package * | string | Target package (DEVCLASS) |
| target | string | Transport target, e.g. a target group like /GROUP/ (optional; defaults to --transport-target) |
| transport_layer | string | Transport layer (optional) |
| type | string | Type: 'workbench' (default) or 'customizing' |
DebuggerAttachAttach to a debuggee that has hit a breakpoint. Use the debuggee_id from DebuggerListen result.| Parameter | Type | Description |
|---|---|---|
| debuggee_id * | string | ID of the debuggee (from DebuggerListen result) |
| user | string | User for debugging (defaults to current user) |
DebuggerDetachDetach from the current debug session and release the debuggee.DebuggerGetStackGet the current call stack during a debug session.DebuggerGetVariablesRead variables at the current stop. With no argument it returns the stopped frame's own variables with their values; pass a composite id (from a previous answer) to expand a structure or table, or names to read specific ones.| Parameter | Type | Description |
|---|---|---|
| variable_ids | array | Leave empty for the locals; or a single composite id to expand; or variable names to read |
DebuggerListenWait for a debuggee to hit a breakpoint, attach to it, and report where it stopped. BLOCKING: it returns when something stops or the timeout expires. Listen and attach are one call because a debuggee is only attachable while it waits. Breakpoints fire only for code running in ANOTHER session, so trigger the code from elsewhere while this waits.| Parameter | Type | Description |
|---|---|---|
| timeout | number | Timeout in seconds (default: 60, max: 240) |
| user | string | User to listen for (defaults to current user) |
DebuggerStepPerform a step operation in the debugger.| Parameter | Type | Description |
|---|---|---|
| step_type * | string | Step type: 'stepInto', 'stepOver', 'stepReturn', 'stepContinue', 'stepRunToLine', 'stepJumpToLine' |
| uri | string | Target URI for stepRunToLine/stepJumpToLine (e.g., '/sap/bc/adt/programs/programs/ZTEST/source/main#start=42') |
DeleteBreakpointDelete a breakpoint by ID, or pass 'all' to remove every breakpoint this session registered.| Parameter | Type | Description |
|---|---|---|
| breakpoint_id * | string | ID of the breakpoint to delete, from SetBreakpoint or GetBreakpoints — or 'all' |
DeleteObjectDelete an ABAP object (requires lock)| Parameter | Type | Description |
|---|---|---|
| lock_handle | string | Optional lock handle. Omit it and this call takes and releases its own lock (#169). |
| object_url * | string | ADT URL of the object (e.g., /sap/bc/adt/programs/programs/ZTEST) |
| transport | string | Transport request number (optional for local packages) |
DeleteTransportDelete a transport request. Only modifiable transports can be deleted. Requires --enable-transports flag and not --transport-read-only.| Parameter | Type | Description |
|---|---|---|
| transport * | string | Transport request number |
DeployFromFile✅ RECOMMENDED - Smart deploy from file: auto-detects if object exists and creates/updates accordingly. Solves token limit problem for large generated files (ML models, 3948+ lines). Example: DeployFromFile(file_path="/path/to/zcl_ml_iris.clas.abap", package_name="$ZAML_IRIS") deploys any size file. Workflow: Parse → Check existence → Create or Update → Lock → SyntaxCheck → Write → Unlock → Activate. Supports .clas.abap (and its .clas.testclasses/.locals_def/.locals_imp/.macros.abap includes), .prog.abap, .incl.abap, .intf.abap, .fugr.abap, function modules as {group}.fugr.{module}.abap (abapGit) or {group}.fugr.{module}.func.abap, and the RAP suffixes. A typed file deploys to the object in its file name (# for /), never the one in its content; a file whose main statement names another object is refused. A .prog.abap whose sibling .prog.xml says SUBC I is that include. A plain {name}.abap is typed from its first statement only when that statement names {name}; otherwise it is refused (or read as an include when no REPORT/CLASS/INTERFACE/FUNCTION statement opens it). Use this for all file-based deployments.| Parameter | Type | Description |
|---|---|---|
| expected_source_hash | string | Optional sourceHash returned by GetSource(include_hash=true). Refuse an existing-object deployment if SAP source has changed. |
| file_path * | string | Absolute path to ABAP source file |
| package_name * | string | Package name (required for new objects, e.g., $ZAML_IRIS) |
| timeout | number | |
| transport | string | Transport request number (optional for local packages) |
DeployZipDeploy objects from an embedded abapGit-format ZIP to a SAP package. Uses ADT native deployment (PROG, CLAS, INTF, DDLS, BDEF, SRVD). For full 158 object type support, install ZADT_VSP first.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | Show deployment plan without deploying (default: false) |
| name_filter | string | Deploy only objects matching this name pattern (e.g., 'ZCL_ABAPGIT_*') |
| package * | string | Target SAP package name (e.g., '$ZGIT'). Package will be created if it doesn't exist. |
| source * | string | Embedded dependency name: 'abapgit-standalone' (single ZABAPGIT program) or 'abapgit-full' (564 objects - full developer edition) |
| timeout | number | |
| type_filter | string | Deploy only objects of this type (e.g., 'PROG', 'CLAS', 'INTF') |
EditSourceSurgical string replacement on ABAP source code. Matches the Edit tool pattern for local files. Workflow: GetSource → FindReplace → SyntaxCheck → Lock → Update → Unlock → Activate. Example: EditSource(object_url="/sap/bc/adt/programs/programs/ZTEST", old_string="METHOD foo.\n ENDMETHOD.", new_string="METHOD foo.\n rv_result = 42.\n ENDMETHOD.", replace_all=false, syntax_check=true). Requires unique match if replace_all=false. Use this for incremental edits between syntax checks - no need to download/upload full source!| Parameter | Type | Description |
|---|---|---|
| case_insensitive | boolean | If true, ignore case when matching old_string. Useful for renaming variables regardless of case. Default: false |
| expected_source_hash | string | Optional sourceHash returned by GetSource(include_hash=true). After locking, refuse the edit if SAP source has changed. |
| method | string | For CLAS only: constrain search/replace to this method only. Prevents accidental edits in other methods. (optional) |
| new_string * | string | Replacement string. Can be multiline (use \n). Length can differ from old_string. |
| object_url * | string | ADT URL of object (e.g., /sap/bc/adt/programs/programs/ZTEST, /sap/bc/adt/oo/classes/zcl_test) |
| old_string * | string | Exact string to find and replace. Must be unique in source if replace_all=false. Include enough context (surrounding lines) to ensure uniqueness. |
| replace_all | boolean | If true, replace all occurrences. If false (default), require unique match. Default: false |
| syntax_check | boolean | If true (default), validate syntax before saving. If syntax errors found, changes are NOT saved. Default: true |
| timeout | number | |
| transport | string | Transport request number (required for objects not in $TMP package) |
ExecuteABAPExecute arbitrary ABAP code via unit test wrapper. Creates temp program, injects code into test method, runs via RunUnitTests, extracts results from assertion messages, cleans up. Use lv_result variable to return output, or call RETURN_VALUE( x ) once per value to return several (handed back at once, so a later RETURN or CHECK keeps it; structures and tables come back as JSON). Answers JSON; result_text holds the full value (an array for several). WARNING: Powerful tool - use responsibly.| Parameter | Type | Description |
|---|---|---|
| code * | string | ABAP code to execute. Set lv_result, or call RETURN_VALUE( x ) for each value to return. |
| keep_program | boolean | Don't delete temp program after execution (for debugging) |
| program_prefix | string | Prefix for temp program name (default: ZTEMP_EXEC_) |
| return_variable | string | Name of the variable to return (default: lv_result) |
| risk_level | string | Risk level: harmless (default, no DB writes), dangerous (can write to DB), critical (full access) |
| timeout | number |
FindDefinitionNavigate to the definition of a symbol at a given position in source code| Parameter | Type | Description |
|---|---|---|
| end_column * | number | End column of the symbol (1-based) |
| implementation | boolean | Navigate to implementation instead of definition (default: false) |
| line * | number | Line number (1-based) |
| main_program | string | Main program for includes (optional) |
| source * | string | Full source code of the file |
| source_url * | string | ADT URL of the source file (e.g., /sap/bc/adt/programs/programs/ZTEST/source/main) |
| start_column * | number | Start column of the symbol (1-based) |
FindReferencesFind all references to an ABAP object or symbol| Parameter | Type | Description |
|---|---|---|
| column | number | Column number for position-based reference search (1-based, optional) |
| line | number | Line number for position-based reference search (1-based, optional) |
| object_url * | string | ADT URL of the object (e.g., /sap/bc/adt/oo/classes/ZCL_TEST) |
GctsCloneRepositoryClone a gCTS repository on the SAP system. Expert mode only.| Parameter | Type | Description |
|---|---|---|
| rid * | string | Repository ID |
GctsCommitCreate a commit in a gCTS repository. Expert mode only.| Parameter | Type | Description |
|---|---|---|
| message * | string | Commit message |
| rid * | string | Repository ID |
GctsCreateRepositoryCreate a new gCTS repository. Expert mode only.| Parameter | Type | Description |
|---|---|---|
| branch | string | Default branch (default: main) |
| name * | string | Repository name |
| package | string | ABAP package (VSID) |
| rid * | string | Repository ID |
| role | string | Repository role (SOURCE or TARGET) |
| url * | string | Git remote URL |
GctsDeleteRepositoryDelete a gCTS repository. Expert mode only.| Parameter | Type | Description |
|---|---|---|
| rid * | string | Repository ID |
GctsGetHistoryGet commit history of a gCTS repository.| Parameter | Type | Description |
|---|---|---|
| rid * | string | Repository ID |
GctsGetRepositoryGet details of a specific gCTS repository including configuration.| Parameter | Type | Description |
|---|---|---|
| rid * | string | Repository ID |
GctsListBranchesList branches in a gCTS repository.| Parameter | Type | Description |
|---|---|---|
| rid * | string | Repository ID |
GctsListRepositoriesList all gCTS repositories on the SAP system. Returns repository ID, name, URL, branch, status and role.GctsPullPull changes into a gCTS repository, optionally to a specific commit. Expert mode only.| Parameter | Type | Description |
|---|---|---|
| commit_id | string | Commit ID to pull to (optional) |
| rid * | string | Repository ID |
GctsSwitchBranchSwitch the active branch of a gCTS repository. Expert mode only.| Parameter | Type | Description |
|---|---|---|
| branch * | string | Branch name to switch to |
| rid * | string | Repository ID |
GetAPIReleaseStateCheck API release state for S/4HANA Clean Core / ABAP Cloud compatibility. Returns whether an object is released for cloud development and key user apps. Use SearchObject first to get the object URI.| Parameter | Type | Description |
|---|---|---|
| object_uri * | string | ADT URI of the object (e.g., /sap/bc/adt/oo/classes/cl_abap_typedescr). Get this from SearchObject results. |
GetATCCustomizingGet ATC system configuration including default check variant and exemption reasonsGetAbapHelpGet ABAP keyword documentation. Returns URL to SAP Help Portal and search query. If ZADT_VSP is installed, also returns real documentation from SAP system.| Parameter | Type | Description |
|---|---|---|
| keyword * | string | ABAP keyword (e.g., SELECT, LOOP, DATA, METHOD, READ TABLE) |
GetAsyncResultGet result of an async task by ID. Returns status (running/completed/error) and result when done.| Parameter | Type | Description |
|---|---|---|
| task_id * | string | Task ID from RunReportAsync |
| wait | boolean | If true, block until task completes (max 60s). Default: false (poll) |
GetBreakpointsList the breakpoints this session registered. ADT does not report breakpoints belonging to other clients, so this is not a system-wide list.GetCDSDependenciesRetrieve CDS view FORWARD dependencies (tables/views this CDS reads FROM). Returns tree of base objects. Does NOT return reverse dependencies (where-used). Use with GetSource(DDLS) to read CDS source code.| Parameter | Type | Description |
|---|---|---|
| context_package | string | Filter dependencies to specific package context |
| ddls_name * | string | CDS DDL source name (e.g., 'ZRAY_00_I_DOC_NODE_00'). Use SearchObject to find CDS views first. |
| dependency_level | string | Level of dependency resolution: 'unit' (direct only) or 'hierarchy' (recursive). Default: 'hierarchy' |
| with_associations | boolean | Include modeled associations in dependency tree. Default: false |
GetCDSElementInfoRetrieve metadata for all elements (fields) of a CDS view. Returns field names, types, annotations, and semantic information from the DDL source.| Parameter | Type | Description |
|---|---|---|
| view_name * | string | CDS view name (e.g., 'ZTRAVEL'). Use SearchObject to find CDS views first. |
GetCDSImpactAnalysisRetrieve CDS view REVERSE dependencies (where-used / downstream consumers). Returns all objects that consume/reference the given CDS view. Complement of GetCDSDependencies which shows forward dependencies.| Parameter | Type | Description |
|---|---|---|
| view_name * | string | CDS view name (e.g., 'ZTRAVEL'). Use SearchObject to find CDS views first. |
GetCallGraphWho calls this ABAP object, and what it calls. 'callers' reads the where-used list behind SE84; 'callees' reads the CROSS and WBCROSSGT cross-reference tables, which record references made at activation rather than observed calls. One hop in either direction.| Parameter | Type | Description |
|---|---|---|
| direction | string | 'callers' (who uses this), 'callees' (what this uses), or 'both'. Default: callers |
| max_results | number | Maximum number of results (default: 200) |
| object_name | string | Object name, e.g. ZCL_ORDER_PROCESSING |
| object_type | string | CLAS, INTF, PROG, FUGR or FUNC — with object_name, instead of object_uri |
| object_uri | string | ADT URI of the object (e.g., /sap/bc/adt/oo/classes/zcl_test). Or give object_type and object_name. |
GetCalleesOfWhat this ABAP object's code reaches, from the CROSS and WBCROSSGT cross-reference tables. These are references recorded when the object was activated, not observed calls: a dynamic CALL METHOD (name) is in no row. Rows marked calls:true are invocations; the rest are type and data references. Needs free SQL.| Parameter | Type | Description |
|---|---|---|
| max_results | number | Maximum number of results (default: 200) |
| object_name | string | Object name, e.g. ZCL_ORDER_PROCESSING |
| object_type | string | CLAS, INTF, PROG, FUGR or FUNC — with object_name, instead of object_uri |
| object_uri | string | ADT URI of the object (e.g., /sap/bc/adt/oo/classes/zcl_test). Or give object_type and object_name. |
GetCallersOfWho references this ABAP object, from the where-used list behind SE84. Reports each caller's package, type and the method the reference sits in. One hop: the list is not recursive. An empty answer and a misspelt name look identical here, so the answer says so.| Parameter | Type | Description |
|---|---|---|
| max_results | number | Maximum number of results (default: 200) |
| object_name | string | Object name, e.g. ZCL_ORDER_PROCESSING |
| object_type | string | CLAS, INTF, PROG, FUGR or FUNC — with object_name, instead of object_uri |
| object_uri | string | ADT URI of the object (e.g., /sap/bc/adt/oo/classes/zcl_test). Or give object_type and object_name. |
GetCheckRunResultsGet detailed results for a specific check run. Returns all messages with line numbers, severity (E=Error, W=Warning, I=Info), and summary counts. Use after SyntaxCheck or other check operations to get comprehensive error details.| Parameter | Type | Description |
|---|---|---|
| check_run_id * | string | Check run ID (from SyntaxCheck or other check operation) |
GetClassRetrieve ABAP class source code| Parameter | Type | Description |
|---|---|---|
| class_name * | string | Name of the ABAP class |
GetClassComponentsGet the structure of a class - lists all methods, attributes, events, and other components with their visibility and properties| Parameter | Type | Description |
|---|---|---|
| class_url * | string | ADT URL of the class (e.g., /sap/bc/adt/oo/classes/ZCL_TEST) |
GetClassIncludeRetrieve source code of a class include (definitions, implementations, macros, testclasses)| Parameter | Type | Description |
|---|---|---|
| class_name * | string | Name of the ABAP class |
| include_type * | string | Include type: main, definitions, implementations, macros, testclasses |
GetClassInfoGet class metadata without full source: methods, attributes, interfaces, superclass, abstract/final status.| Parameter | Type | Description |
|---|---|---|
| class_name * | string | Name of the ABAP class |
GetCodeCoverageRun ABAP Unit tests with code coverage enabled. Returns line-level statement, branch, and procedure coverage data per source file. Uses the same test runner as RunUnitTests but with coverage capture active.| Parameter | Type | Description |
|---|---|---|
| include_dangerous | boolean | Include tests with risk level 'dangerous' (default: false) |
| include_long | boolean | Include tests with duration 'long' (default: false) |
| object_url * | string | ADT URL of object to test (e.g., /sap/bc/adt/oo/classes/ZCL_TEST) |
GetConnectionInfoGet current MCP connection info: user, URL, client. Useful for debugging and understanding current session context.GetContextAnalyze ABAP source dependencies and return compressed public API contracts (prologue). Produces a compact summary of all referenced classes, interfaces, and function modules — showing only their public signatures. Use this to understand the surrounding codebase context before editing.| Parameter | Type | Description |
|---|---|---|
| max_deps | number | Maximum dependencies to resolve (default: 20) |
| name * | string | Object name (e.g., ZCL_ORDER_PROCESSOR) |
| object_type * | string | ABAP object type: PROG, CLAS, INTF, FUNC, FUGR |
| source | string | Source code to analyze (if omitted, fetched from SAP) |
GetDataElementLabelsGet the text labels (short/medium/long/heading) of a data element in a specific language. Useful for checking translations of DDIC texts.| Parameter | Type | Description |
|---|---|---|
| language * | string | ISO language code (e.g., EN, DE, FR) |
| name * | string | Data element name (e.g., MATNR, ZTEST_DTEL) |
GetDumpGet one runtime error in detail: header, termination point, application component and call stack. A release that serves the dump feed without the detail resource says so in notes rather than failing.| Parameter | Type | Description |
|---|---|---|
| dump_id * | string | Dump ID from ListDumps, part of one, or "latest" |
GetFeaturesProbe SAP system for available features. Returns status of optional capabilities like abapGit, RAP/OData, AMDP debugging, UI5/BSP, and CTS transports. Use this to understand what features are available before attempting to use them.GetFunctionRetrieve ABAP Function Module source code| Parameter | Type | Description |
|---|---|---|
| function_group * | string | Name of the function group |
| function_name * | string | Name of the function module |
GetFunctionGroupRetrieve ABAP Function Group source code| Parameter | Type | Description |
|---|---|---|
| function_group * | string | Name of the function group |
GetInactiveObjectsGet all inactive objects for the current user - objects that have been modified but not yet activatedGetIncludeRetrieve ABAP Include Source Code| Parameter | Type | Description |
|---|---|---|
| include_name * | string | Name of the ABAP Include |
GetInstalledComponentsList installed software components with version informationGetInterfaceRetrieve ABAP interface source code| Parameter | Type | Description |
|---|---|---|
| interface_name * | string | Name of the ABAP interface |
GetMessageClassTextsGet all messages of a message class in a specific language. Returns message number and text for each entry.| Parameter | Type | Description |
|---|---|---|
| language * | string | ISO language code (e.g., EN, DE, FR) |
| name * | string | Message class name (e.g., ZTEST_MC) |
GetMessagesGet all messages from an ABAP message class (SE91). Returns message number, text for all messages in the class. Use SearchObject to find message classes first.| Parameter | Type | Description |
|---|---|---|
| message_class * | string | Name of the message class (e.g., 'ZRAY_00', 'SY') |
GetObjectStructureGet object explorer tree structure. Returns hierarchical view of object components.| Parameter | Type | Description |
|---|---|---|
| max_results | number | Maximum number of results (default: 100) |
| object_name * | string | Object name (e.g., ZCL_TEST, ZPROGRAM) |
GetObjectTextsInLanguageGet the source/content of an ABAP object in a specific language. The language parameter overrides the session language for this request only, allowing you to read texts in any installed language.| Parameter | Type | Description |
|---|---|---|
| language * | string | ISO language code (e.g., EN, DE, FR, ES, JA) |
| object_url * | string | ADT source URL (e.g., /sap/bc/adt/programs/programs/ZTEST/source/main) |
GetPackageRetrieve ABAP package details. With inventory=true: every TADIR object (type, name, author, created on), the subpackages (TDEVC) and any abapGit repository registered for the package, in one read-only call.| Parameter | Type | Description |
|---|---|---|
| inventory | boolean | Return the package inventory: TADIR objects with author and created on, subpackages, abapGit repository. Reads TADIR/TDEVC/ZABAPGIT through the data preview; with --block-free-sql only the ADT package contents, and the result names what was skipped. |
| package_name * | string | Name of the ABAP package |
GetPrettyPrinterSettingsGet the current pretty printer (code formatter) settingsGetProgramRetrieve ABAP program source code| Parameter | Type | Description |
|---|---|---|
| program_name * | string | Name of the ABAP program |
GetRevisionSourceGet source code of a specific version of an ABAP object. Use version_uri from GetRevisions output.| Parameter | Type | Description |
|---|---|---|
| version_uri * | string | Version URI from GetRevisions result (the 'uri' field of a revision entry) |
GetRevisionsList version history (revisions) of an ABAP object. Returns versions with dates, authors, and transport requests. Use version URIs with GetRevisionSource or CompareVersions.| Parameter | Type | Description |
|---|---|---|
| include | string | Class include type for CLAS: main, definitions, implementations, macros, testclasses (default: main) |
| name * | string | Object name |
| parent | string | Function group name (required for FUNC type) |
| type * | string | Object type: PROG, CLAS, INTF, FUNC, INCL, DDLS, BDEF, SRVD |
GetSQLTraceStateCheck if SQL trace (ST05) is currently active.GetStructureRetrieve ABAP Structure| Parameter | Type | Description |
|---|---|---|
| structure_name * | string | Name of the ABAP Structure |
GetSystemInfoGet SAP system information (system ID, release, kernel, database)GetTableRetrieve ABAP table structure| Parameter | Type | Description |
|---|---|---|
| table_name * | string | Name of the ABAP table |
GetTableContentsRetrieve contents of an ABAP table. For simple queries use table_name + max_rows. For filtered queries use sql_query parameter with ABAP SQL syntax (use ASCENDING/DESCENDING, not ASC/DESC).| Parameter | Type | Description |
|---|---|---|
| all_rows | boolean | Set true to retrieve every matching row, ignoring max_rows and the 100-row default. Prefer this over max_rows: 0 for "all rows" — MCP clients may not transmit 0 or negative numbers reliably; a boolean has no such ambiguity. |
| columns_only | boolean | Return only column metadata (names, types, lengths) without data rows |
| max_rows | number | Maximum number of rows to retrieve (default 100). Ignored if all_rows is true. Use this instead of SQL LIMIT clause |
| offset | number | Skip first N rows (client-side pagination). Use with max_rows for paging through results |
| sql_query | string | Optional ABAP SQL SELECT statement. Uses ABAP syntax: ASCENDING/DESCENDING work, ASC/DESC fail. Example: SELECT * FROM T000 WHERE MANDT = '001' ORDER BY MANDT DESCENDING |
| table_name * | string | Name of the ABAP table |
GetTextElementsGet program text elements (selection texts and text symbols). Selection texts describe parameters (P_BUKRS='Company Code'), text symbols are TEXT-001 etc.| Parameter | Type | Description |
|---|---|---|
| language | string | Language key (e.g., 'E' for English, 'D' for German). Default: system language. |
| program * | string | Program name |
GetTextPoolGet the text pool (text elements/symbols) of a program in a specific language. Returns ID, key, and text for each entry.| Parameter | Type | Description |
|---|---|---|
| language * | string | ISO language code (e.g., EN, DE, FR) |
| program_name * | string | Program name (e.g., ZTEST) |
GetTraceEvaluate an ABAP runtime trace: hit list, call tree (statements) or database accesses, sorted by own time and cut to the top entries. A trace cut off at its size limit cannot be evaluated; ListTraces shows its state.| Parameter | Type | Description |
|---|---|---|
| raw | boolean | Return ADT's XML unparsed, capped at 256 KB |
| sort_by | string | 'net' (own time, default), 'gross', 'calls', or 'none' for SAP's order (the call tree's default) |
| tool_type | string | Analysis type: 'hitlist' (default), 'statements' (call tree; non-aggregated traces only), 'dbAccesses' |
| top | number | Entries to return after sorting (default 50, 0 for all) |
| trace_id * | string | Trace ID from ListTraces, its ADT path, or an adt:// link |
GetTransactionRetrieve ABAP transaction details| Parameter | Type | Description |
|---|---|---|
| transaction_name * | string | Name of the ABAP transaction |
GetTransportGet detailed transport information including objects and tasks. Requires --enable-transports OR --allow-transportable-edits flag.| Parameter | Type | Description |
|---|---|---|
| transport * | string | Transport request number (e.g., 'A4HK900094') |
GetTransportInfoGet transport information for an ABAP object (requires --enable-transports flag). Returns available transports and lock status.| Parameter | Type | Description |
|---|---|---|
| dev_class * | string | Development class/package of the object |
| object_url * | string | ADT URL of the object (e.g., /sap/bc/adt/programs/programs/ZTEST) |
GetTypeHierarchyGet the type hierarchy (supertypes or subtypes) for a class/interface| Parameter | Type | Description |
|---|---|---|
| column * | number | Column number (1-based) |
| line * | number | Line number (1-based) |
| source * | string | Full source code of the file |
| source_url * | string | ADT URL of the source file |
| super_types | boolean | Get supertypes instead of subtypes (default: false = subtypes) |
GetTypeInfoRetrieve ABAP type information| Parameter | Type | Description |
|---|---|---|
| type_name * | string | Name of the ABAP type |
GetUserTransportsGet the transport requests of a user from the transport organizer (requires --enable-transports): workbench and customizing, modifiable and released, with tasks and objects, grouped by target and CTS project. Reads GET /sap/bc/adt/cts/transportrequests with explicit requestType/requestStatus (the organizer returns only released requests without them), falls back to the saved search configuration and then to E070/E07T.| Parameter | Type | Description |
|---|---|---|
| user_name | string | SAP user name (uppercased); default: the connection user. '*' for every user (source sql only) |
GetVariantsGet list of available variants for a report program. Returns variant names and whether they are protected.| Parameter | Type | Description |
|---|---|---|
| report * | string | Report program name |
GitExportExport ABAP objects as abapGit-compatible ZIP. Supports 158 object types. Saves ZIP file to output_dir (default: current directory). Use packages OR objects parameter.| Parameter | Type | Description |
|---|---|---|
| include_subpackages | boolean | Include subpackages when exporting by package (default: true) |
| objects | string | JSON array of objects: [{"type":"CLAS","name":"ZCL_TEST"}] |
| output_dir | string | Output directory for ZIP file (default: current directory) |
| packages | string | Comma-separated package names to export (e.g., '$ZRAY,$TMP'). Supports wildcards. |
GitTypesGet list of supported abapGit object types. Returns 158 object types that can be exported/imported via abapGit. Requires abapGit to be installed on SAP system.GraphStatsExtract dependency statistics from ABAP source code using embedded parser. Returns node/edge counts by type, edge kind, and source. Works offline without SAP.| Parameter | Type | Description |
|---|---|---|
| source * | string | ABAP source code to analyze |
GrepObjectSearch for regex pattern in a single ABAP object's source code. Returns matches with line numbers and optional context. Use for finding TODO comments, string literals, patterns, or code snippets before editing.| Parameter | Type | Description |
|---|---|---|
| case_insensitive | boolean | If true, perform case-insensitive matching. Default: false |
| context_lines | number | Number of lines to show before/after each match (like grep -C). Default: 0 |
| object_url * | string | ADT URL of object (e.g., /sap/bc/adt/programs/programs/ZTEST) |
| pattern * | string | Regular expression pattern (Go regexp syntax). Examples: 'TODO', 'lv_\w+', 'SELECT.*FROM' |
GrepPackageSearch for regex pattern across all source objects in an ABAP package. Returns matches grouped by object. Use for package-wide analysis, finding patterns across multiple programs/classes.| Parameter | Type | Description |
|---|---|---|
| case_insensitive | boolean | If true, perform case-insensitive matching. Default: false |
| max_results | number | Maximum number of matching objects to return. 0 = unlimited. Default: 100 |
| object_types | string | Comma-separated object types to search (e.g., 'PROG/P,CLAS/OC'). Empty = search all source objects. Valid: PROG/P, CLAS/OC, INTF/OI, FUGR/F, FUGR/FF, PROG/I |
| package_name * | string | Package name (e.g., $TMP, ZPACKAGE) |
| pattern * | string | Regular expression pattern (Go regexp syntax). Examples: 'TODO', 'lv_\w+', 'SELECT.*FROM' |
InstallZADTVSPDeploy ZADT_VSP WebSocket handler to SAP system. Creates package and deploys 6 ABAP objects (interface + 5 classes) that enable WebSocket debugging, RFC calls, and abapGit export. After deployment, manual SAPC and SICF setup is required.| Parameter | Type | Description |
|---|---|---|
| check_only | boolean | Only check prerequisites without deploying (default: false) |
| package | string | Target package name (default: $ZADT_VSP). Must be local package starting with $. |
| skip_git_service | boolean | Skip ZCL_VSP_GIT_SERVICE deployment if abapGit is not installed (default: false, auto-detected) |
ListDependenciesList embedded dependency packages (abapGit editions and other optional dependencies) and whether each is available for DeployZip or `vsp install abapgit`.ListDumpsList runtime errors (short dumps) from the SAP system, newest first. Filter by error type, program, user, date range. Grouping, correlation with the application log, similarity and blast radius are reachable through SAP(action="analyze") in hyperfocused mode.| Parameter | Type | Description |
|---|---|---|
| error_type | string | Filter by runtime error, e.g. CALL_FUNCTION_NOT_REMOTE or CX_SY_ZERODIVIDE (alias: exception_type) |
| max_results | number | Maximum number of results (default: 100) |
| program | string | Filter by terminated program |
| since | string | Earliest date, YYYY-MM-DD or YYYYMMDD (alias: date_from) |
| until | string | Latest date, YYYY-MM-DD or YYYYMMDD (alias: date_to) |
| user | string | Filter by username |
ListSQLTracesList SQL trace files from ST05.| Parameter | Type | Description |
|---|---|---|
| max_results | number | Maximum number of results (default: 100) |
| user | string | Filter by username |
ListTracesList ABAP runtime traces (profiler results) with their state, aggregation, size and runtime. complete=false marks a trace ADT cannot evaluate, such as one cut off at its size limit.| Parameter | Type | Description |
|---|---|---|
| max_results | number | Maximum number of results (default: 100) |
| object_type | string | Filter by object type |
| process_type | string | Filter by process type |
| user | string | Filter by username |
ListTransportsList transport requests of a user as flat rows: workbench and customizing, modifiable and released by default (request_status D limits it to modifiable). Requires --enable-transports OR --allow-transportable-edits. Reads GET /sap/bc/adt/cts/transportrequests with explicit requestType/requestStatus, falls back to the saved search configuration and then to E070/E07T; the answer names the source used.| Parameter | Type | Description |
|---|---|---|
| user | string | Username to list transports for (default: the connection user, '*' for all users — source sql only) |
LockObjectAcquire an edit lock on an ABAP object| Parameter | Type | Description |
|---|---|---|
| access_mode | string | Access mode: MODIFY (default) or READ |
| object_url * | string | ADT URL of the object (e.g., /sap/bc/adt/programs/programs/ZTEST) |
| transport | string | Transport request (corrNr) for an object in a transportable package. SAP wants it on the LOCK, not only on the write that follows. |
MoveObjectMove an ABAP object to a different package. Uses ZADT_VSP WebSocket to call TR_TADIR_INTERFACE. Requires ZADT_VSP deployed.| Parameter | Type | Description |
|---|---|---|
| new_package * | string | Target package (e.g., '$ZRAY', 'ZPACKAGE') |
| object_name * | string | Name of the object to move (e.g., 'ZCL_TEST') |
| object_type * | string | Object type: CLAS, PROG, INTF, FUGR, TABL, etc. |
PrettyPrintFormat ABAP source code using the pretty printer| Parameter | Type | Description |
|---|---|---|
| source * | string | ABAP source code to format |
PublishServiceBindingPublish a service binding to make it available as OData service| Parameter | Type | Description |
|---|---|---|
| service_name * | string | Service binding name (e.g., ZTRAVEL_SB) |
| service_version | string | Service version (default: 0001) |
RecoverFailedCreateRecover a zombie object left behind by an earlier failed CreateObject. Probes whether SAP currently persists the object; if yes, runs best-effort compensating cleanup (lock release, fresh-session lock acquisition, DeleteObject); if no, returns an idempotent no-op. Does NOT require a lock_handle from the original session — the handler acquires its own. Returns a structured report with status, attempted cleanup actions, and residual manual steps if cleanup could not finish. Use this when a CreateObject call returned a 5xx error and you cannot edit / delete the object through normal MCP flows because the old lock handle is gone.| Parameter | Type | Description |
|---|---|---|
| name * | string | Object name |
| object_type * | string | ABAP object type (CLAS, PROG, INTF, FUGR, DDLS, FUNC, ...) |
| package_name * | string | Package — used by the safety gate; must be in the configured allowed list |
| parent_name | string | Parent function group name (required for FUNC / LIMU FUNC recovery) |
| transport | string | Transport request the zombie object was attached to, if any |
ReleaseTransportRelease a transport request. This action is IRREVERSIBLE. Requires --enable-transports flag and not --transport-read-only.| Parameter | Type | Description |
|---|---|---|
| ignore_locks | boolean | Release even with locked objects (default: false) |
| skip_atc | boolean | Skip ATC quality checks (default: false) |
| transport * | string | Transport request number |
RenameObjectRename ABAP object by creating copy with new name and deleting old one. Useful for fixing naming conventions. Workflow: GetSource → Replace names → CreateNew → ActivateNew → DeleteOld| Parameter | Type | Description |
|---|---|---|
| newName * | string | New object name |
| objType * | string | Object type: CLAS/OC (class), PROG/P (program), INTF/OI (interface), FUGR/F (function group) |
| oldName * | string | Current object name |
| packageName * | string | Package name for new object (e.g., $ZAML_IRIS) |
| transport | string | Transport request number (optional for local packages) |
RunATCCheckRun ATC (ABAP Test Cockpit) code quality check on an object. Returns findings with priority, check title, message, and location. Priority: 1=Error, 2=Warning, 3=Info.| Parameter | Type | Description |
|---|---|---|
| max_results | number | Maximum number of findings to return (default: 100) |
| object_url * | string | ADT URL of the object (e.g., /sap/bc/adt/oo/classes/ZCL_TEST) |
| variant | string | Check variant name (empty = use system default) |
RunQueryExecute a freestyle SQL query against the SAP database. Uses ABAP SQL syntax, not standard SQL; common ANSI spellings are rewritten and noted (t.col to t~col, ASC/DESC to ASCENDING/DESCENDING, a closing period or semicolon dropped). Use max_rows instead of LIMIT. GROUP BY and WHERE work normally.| Parameter | Type | Description |
|---|---|---|
| all_rows | boolean | Set true to retrieve every matching row, ignoring max_rows and the 100-row default. Prefer this over max_rows: 0 for "all rows" — MCP clients may not transmit 0 or negative numbers reliably; a boolean has no such ambiguity. |
| max_rows | number | Maximum number of rows to retrieve (default 100). Ignored if all_rows is true. Use this instead of SQL LIMIT clause |
| sql_query * | string | ABAP SQL query. Example: SELECT carrid, COUNT(*) as cnt FROM sflight GROUP BY carrid ORDER BY cnt DESCENDING. ASC/DESC after a sort column are rewritten to ASCENDING/DESCENDING |
RunReportExecute an ABAP selection-screen report with parameters or variant. Runs as background job and returns spool output. Requires ZADT_VSP WebSocket handler deployed.| Parameter | Type | Description |
|---|---|---|
| params | string | JSON object with selection screen parameters (e.g., '{"P_BUKRS":"1000","S_KUNNR":{"SIGN":"I","OPTION":"EQ","LOW":"0000001000"}}'). Keys are parameter names. |
| report * | string | Report program name (e.g., 'RFITEMGL', 'ZREPORT_TEST') |
| variant | string | Variant name to use for selection screen (optional) |
RunReportAsyncStart report execution in background. Returns task_id immediately. Use GetAsyncResult to poll for completion. Useful for long-running reports that would timeout.| Parameter | Type | Description |
|---|---|---|
| params | string | JSON object with selection screen parameters |
| report * | string | Report program name |
| variant | string | Variant name (optional) |
RunUnitTestsRun ABAP Unit tests for an object. Answers JSON: ok (a test method ran, nothing failed and every test class ran), counts {classes, methods, passed, failed, classFailures, warnings, notRun}, notRunClasses (test classes ABAP Unit listed but did not run, e.g. for their risk level), and classes (each with name, parentName, alerts filed on the class, and testMethods with name and alerts: kind, severity, title, details). only_failures lists just the failed methods and classes with alerts, without URIs or stacks.| Parameter | Type | Description |
|---|---|---|
| include_dangerous | boolean | Include dangerous risk level tests (default: false) |
| include_long | boolean | Include long duration tests (default: false) |
| object_url * | string | ADT URL of the object (e.g., /sap/bc/adt/oo/classes/ZCL_TEST) |
| only_failures | boolean | List only failed test methods (and classes with alerts of their own), plus the counts for the whole run (default: false) |
| timeout | number |
SaveToFileSave ABAP object source to local file (SAP → File). Enables BIDIRECTIONAL SYNC WORKFLOW: (1) SaveToFile downloads object from SAP, (2) edit locally with vim/VS Code/AI assistants, (3) DeployFromFile uploads changes back to SAP. Example: SaveToFile(objType="CLAS/OC", objectName="ZCL_ML_IRIS", outputPath="./src/") creates ./src/zcl_ml_iris.clas.abap. Then edit locally and use DeployFromFile to sync back. Recommended for iterative development. Auto-determines file extension.| Parameter | Type | Description |
|---|---|---|
| objType * | string | Object type: CLAS/OC (class), PROG/P (program), INTF/OI (interface), FUGR/F (function group), FUGR/FF (function module) |
| objectName * | string | Object name (e.g., ZCL_ML_IRIS, ZAML_IRIS_DEMO) |
| outputPath | string | Output file path or directory. If directory, filename is auto-generated with correct extension. If omitted, saves to current directory. |
SearchObjectSearch for ABAP objects using quick search| Parameter | Type | Description |
|---|---|---|
| exact | boolean | Only objects whose name equals query, ignoring case (no wildcards). Combines with objectType and maxResults. The name is searched without a wildcard. If the search returns its full window of 1000 matches, the answer says so (inconclusive without an equal name, an incomplete note next to the results with one) — pass objectType to narrow. |
| maxResults | number | Maximum number of results to return (default 100) |
| objectType | string | Only objects of this type (CLAS, PROG, INTF, FUGR, ...) |
| query * | string | Search query string (use * wildcard for partial match) |
SetBreakpointSet an external breakpoint through SAP's ADT resources. Kinds: 'line' (an object and a line), 'statement' (an ABAP keyword), 'exception' (an exception class). The line is the line in the source as vsp shows it. Needs no ZADT_VSP and no other ABAP on the system.| Parameter | Type | Description |
|---|---|---|
| condition | string | Optional ABAP condition; the breakpoint only stops when it is true (e.g., 'lv_count > 10') |
| exception | string | Exception class for exception breakpoints (e.g., 'CX_SY_ZERODIVIDE', 'CX_SY_OPEN_SQL_DB') |
| kind | string | Breakpoint type: 'line' (default), 'statement', or 'exception' |
| line | number | Line number, counted in the object's own source as vsp reads it |
| program | string | Object the breakpoint sits in — a program, class or function module name, or an ADT source URI |
| statement | string | ABAP statement for statement breakpoints (e.g., 'CALL FUNCTION', 'SELECT', 'LOOP', 'CALL METHOD') |
SetPrettyPrinterSettingsUpdate the pretty printer (code formatter) settings| Parameter | Type | Description |
|---|---|---|
| indentation * | boolean | Enable automatic indentation |
| style * | string | Keyword style: toLower, toUpper, keywordUpper, keywordLower, keywordAuto, none |
SetTextElementsSet program text elements (selection texts, text symbols, and heading texts). Use for adding descriptions to selection screen parameters, text symbols, and list/column headings.| Parameter | Type | Description |
|---|---|---|
| heading_texts | string | JSON object of heading texts for list/column headings (e.g., '{"001":"Report Title","002":"Column Header"}') |
| language | string | Language key (e.g., 'E' for English, 'D' for German). Default: system language. |
| program * | string | Program name |
| selection_texts | string | JSON object of selection texts (e.g., '{"P_BUKRS":"Company Code","S_KUNNR":"Customer Range"}') |
| text_symbols | string | JSON object of text symbols (e.g., '{"001":"Header Text","002":"Footer"}') |
SyntaxCheckCheck ABAP source code for syntax errors| Parameter | Type | Description |
|---|---|---|
| content * | string | ABAP source code to check |
| object_url * | string | ADT URL of the object (e.g., /sap/bc/adt/programs/programs/ZTEST) |
TraceExecutionCOMPOSITE RCA TOOL: Performs traced execution analysis. 1) Builds static call graph from object, 2) Optionally runs unit tests, 3) Collects trace data, 4) Extracts actual call edges, 5) Compares static vs actual for root cause analysis.| Parameter | Type | Description |
|---|---|---|
| max_depth | number | Maximum depth for call graph traversal (default: 5) |
| object_uri * | string | ADT URI of the starting object for static call graph |
| run_tests | boolean | Run unit tests before collecting trace (default: false) |
| test_object_uri | string | Object URI for tests to run (defaults to object_uri) |
| trace_user | string | Filter traces by user (defaults to current user) |
UI5CreateAppCreate a new UI5/Fiori BSP application.| Parameter | Type | Description |
|---|---|---|
| app_name * | string | Name for the new UI5 application |
| description | string | Description of the application |
| package * | string | Package name (e.g., '$TMP' for local, 'ZFIORI' for transportable) |
| transport | string | Transport request number (optional for local packages) |
UI5DeleteAppDelete a UI5/Fiori BSP application.| Parameter | Type | Description |
|---|---|---|
| app_name * | string | Name of the UI5 application to delete |
| transport | string | Transport request number (optional for local packages) |
UI5DeleteFileDelete a file from a UI5/Fiori BSP application.| Parameter | Type | Description |
|---|---|---|
| app_name * | string | Name of the UI5 application |
| file_path * | string | Path to the file to delete (e.g., '/webapp/test.js') |
UI5GetAppGet details of a UI5/Fiori BSP application including file structure.| Parameter | Type | Description |
|---|---|---|
| app_name * | string | Name of the UI5 application |
UI5GetFileContentGet content of a specific file within a UI5/Fiori BSP application.| Parameter | Type | Description |
|---|---|---|
| app_name * | string | Name of the UI5 application |
| file_path * | string | Path to the file within the app (e.g., '/webapp/manifest.json') |
UI5ListAppsList UI5/Fiori BSP applications. Use query parameter for filtering with wildcards (*).| Parameter | Type | Description |
|---|---|---|
| max_results | number | Maximum number of results (default: 100) |
| query | string | Search query (supports * wildcard, e.g., 'Z*' for custom apps) |
UI5UploadFileUpload a file to a UI5/Fiori BSP application.| Parameter | Type | Description |
|---|---|---|
| app_name * | string | Name of the UI5 application |
| content * | string | File content to upload |
| content_type | string | Content type (e.g., 'application/javascript', 'application/json') |
| file_path * | string | Path for the file within the app (e.g., '/webapp/Component.js') |
UnlockObjectRelease an edit lock on an ABAP object| Parameter | Type | Description |
|---|---|---|
| lock_handle * | string | Lock handle from LockObject |
| object_url * | string | ADT URL of the object (e.g., /sap/bc/adt/programs/programs/ZTEST) |
UnpublishServiceBindingUnpublish a service binding| Parameter | Type | Description |
|---|---|---|
| service_name * | string | Service binding name (e.g., ZTRAVEL_SB) |
| service_version | string | Service version (default: 0001) |
UpdateClassIncludeUpdate source code of a class include (requires lock on parent class)| Parameter | Type | Description |
|---|---|---|
| class_name * | string | Name of the ABAP class |
| include_type * | string | Include type: main, definitions, implementations, macros, testclasses |
| lock_handle | string | Optional lock handle. Omit it and this call takes and releases its own lock on the parent class (#169). |
| source * | string | ABAP source code to write |
| transport | string | Transport request number (optional for local packages) |
UpdateSourceWrite source code to an ABAP object (requires lock)| Parameter | Type | Description |
|---|---|---|
| lock_handle | string | Optional lock handle. Omit it and this call takes and releases its own lock (#169). |
| object_url * | string | ADT URL of the object (e.g., /sap/bc/adt/programs/programs/ZTEST) |
| source * | string | ABAP source code to write |
| transport | string | Transport request number (optional for local packages) |
WriteClassUpdate an existing class with syntax check and activation (Lock -> SyntaxCheck -> Update -> Unlock -> Activate)| Parameter | Type | Description |
|---|---|---|
| class_name * | string | Name of the ABAP class |
| source * | string | ABAP class source code (definition and implementation) |
| transport | string | Transport request number (optional for local packages) |
WriteMessageClassTextsUpdate message class texts in a specific language. Takes and releases its own lock unless a lock handle from LockObject is given. Use for translating message class entries.| Parameter | Type | Description |
|---|---|---|
| language * | string | ISO language code (e.g., EN, DE, FR) |
| lock_handle | string | Optional lock handle. Omit it and this call takes and releases its own lock (#169). |
| name * | string | Message class name |
| texts * | array | Messages to write: [{"number":"001","text":"Order & created"}] |
| transport | string | Transport request number (optional for $TMP objects) |
WriteProgramUpdate an existing program with syntax check and activation (Lock -> SyntaxCheck -> Update -> Unlock -> Activate)| Parameter | Type | Description |
|---|---|---|
| program_name * | string | Name of the ABAP program |
| source * | string | ABAP source code |
| transport | string | Transport request number (optional for local packages) |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 24K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by go.sum and package-lock.json.
- ✓No dynamic code executionScanned 442 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPcmd/vsp/main.go:408, internal/mcp/server.go:434
- Starts other programs
- 12 callspkg/adt/credential_cmd.go:40, pkg/adt/landscape.go:424, pkg/adt/landscape.go:577
- Outbound network calls
- 21 callscmd/vsp/landscape.go:347, cmd/vsp/landscape.go:349, cmd/vsp/update.go:408
- Writes or deletes files
- 89 callscmd/vsp/adt_request.go:81, cmd/vsp/cli.go:571, cmd/vsp/cli.go:865
- Lockfile
- go.sum and package-lock.json
Pattern matches on the source text of 442 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 24K words, fetched 17 days ago. The original in the repository is authoritative.
Read full README