/abap-adt-mcp:abap-adt-mcpfrom abap-adt-mcp
Develop ABAP through the abap-adt-mcp MCP server: read, search, edit, activate, test, check and transport ABAP objects on S/4HANA Cloud and on-prem systems.
Ships in abap-adt-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Tool names below are the real names published by the server (mcp__abap-adt-mcp__<tool> in Claude Code). They are not the SAP official ADT MCP server names; see docs/ROUTING.md in the repository for the mapping.
listSystems: pick the destination (every tool takes it; omit only when a default is configured). Each entry shows its policy (readOnly, allowedPackages, ...). Never write to a destination whose name or policy says production.openConsole opens the local console in the user's browser; changes apply within a few seconds.systemProfile(destination) once per unfamiliar system: tells whether it is S/4HANA Cloud or on-prem and which toolsets are unavailable there (on the tested S/4HANA Cloud tenant only the RAP generator was missing; debugger, traces and abapGit depend on the tenant and authorizations). Tools of missing toolsets are refused before calling SAP (the profile is built on the first call of such a toolset; MCP_PROFILE_GATE=warn|off relaxes this).searchObject(query, objType) finds objects by name; the result gives the object URL.sourceTextSearch(searchString, packages) uses the server-side text index; grepPackage(packageName, pattern, regex?) greps sources client-side with context lines and works everywhere.usageReferences / usageReferenceSnippets for where-used from a position; typeHierarchy for sub/supertypes; objectStructureElements for a member outline; classComponents/classIncludes for class layout.whereUsed(name) gives the where-used list from a name alone, no URL or position. packageTree(packageName) lists sub-packages and their objects in one call; cdsViewInfo(name) returns the fields, associations and extensions of a CDS entity.getMethodSource(classUrl, methodName) reads one method instead of the whole class. exportPackageSources(packageName, targetDir) writes a package to a local directory in abapGit layout when local tools must work on it.getObjectSource(objectSourceUrl) (object URL + /source/main); large sources page automatically (hasMore, startLine/maxLines). version=inactive reads what you wrote before activation.resolveTransport(objSourceUrl) for objects outside $TMP: returns the transport to pass, or needsTransport:false for local packages, or asks for createIfMissing=true.syntaxCheckCode on the intended source when the change is not trivial.editObjectSource(objectSourceUrl, replacements=[{oldText,newText}], activate=true, transport?) for targeted changes (each oldText must match exactly once; the server re-reads SAP first), or setObjectSource(objectSourceUrl, source, activate=true, transport?) for full rewrites. setMethodSource(classUrl, methodName, source, activate=true) replaces one method of a class. All three lock and unlock by themselves; lock/unLock are only for holding a lock across several writes, listLocks/forceUnlock to recover after a failed write.activation field of the result: success:false lists messages with lines. Fix and write again. Objects that only activate together (a RAP stack: CDS, behavior definition, service definition, classes) go through activatePackage(packageName); inactiveObjects shows what is left.unitTestRun(url) after every change; tests live in the test include (createTestInclude).createAtcRun (variant ABAP_CLOUD_DEVELOPMENT_DEFAULT on cloud) → atcWorklists → atcQuickfixProposals/atcApplyQuickfix for deterministic fixes; atcDocumentation(docUri) explains a finding.objectDiff(objectUrl) shows what changed against the previous revision (revisions lists them).getTextElements / setTextElements (the write needs lock and replaces the whole category).getDomainProperties / getDataElementProperties, change the returned JSON, pass it back with setDomainProperties / setDataElementProperties under a lock.loadTypes → validateNewObject → resolveTransport (non-local package) → createObject(objtype, name, parentName, description, parentPath=/sap/bc/adt/packages/<pkg>, responsible on cloud) → setObjectSource(..., activate=true) → unitTestRun. Packages: createObject with objtype=DEVC/K needs swcomp.
Application job catalog entries and templates, number range objects, application log objects, change document objects, business configuration objects and similar types have no ABAP source: their content is JSON.
jsonObjectType(type) describes a type: its collection URL and the properties it takes.createJsonObject(type, name, description, packageName, set={"generalInformation.className":"ZCL_JOB"}, transport?) creates the object and fills it in one call.editObjectSource(objectSourceUrl, jsonSet={path: value}, jsonRemove=[paths]); invalid JSON is refused before the write.jsonObjectAction(objectUrl) lists the buttons of the editor form (check, publish and others); with action it runs one, and apply=true writes back the content the action proposes.rapGenList(refObjectUri) lists the generators offered for a table or entity (smbc is the Business Configuration maintenance object). rapGenRun(genId, refObjectUri, packageName, transport?, overrides?, dryRun=true) runs the whole wizard in one call; call it first with dryRun=true to see the proposed names, then without. The other rapGen* tools are the single wizard steps.publishServiceBinding(name, version) publishes a binding; fioriPreviewUrl(name) returns the Fiori Elements preview URL per entity set, to hand to the user.createIamObject(type=SIA6|SIA1|SIA7, ...) → setIamObjectContent → publishIamObject → iamPublishStatus.userTransports(user) lists a user's requests; transportUnifiedDiff(transportNumber) shows what a request changes, for review before release.transportAddObjects / transportRemoveObjects edit the object list of a modifiable request without touching the objects; transportSortAndCompress fixes "Object entry exists more than once".compareSystems(objectSourceUrl, otherDestination) diffs one object between two destinations, for example DEV against TEST around a transport.apiReleaseState(names="CL_X, TABL:MARA") or apiReleaseState(sourceUrl=...) to scan a whole source: released / deprecated (with successors) / classicAPI / noAPI. Do not recall release states from memory.runSnippet(code): it runs statements in a temporary IF_OO_ADT_CLASSRUN class in $TMP (out->write( ... )) and deletes it.dumps(from, user, contains) returns compact dump summaries (error, exception, program, termination point with source URL and line, stack); dumpDetails(dumpId) gives the full analysis. This is the root-cause path when the debugger toolset is unavailable on the destination (check systemProfile; availability depends on the tenant and the user's authorizations).logpointCreate(objectSourceUrl, line, subKey="LV_VAR") makes a running program log values at a line without a code change; logpointLogs(location) reads what it recorded, logpoints lists them, logpointDelete removes one when done.systemProfile): the debugger* tools (listen, breakpoints, step, variables), the traces* tools (ABAP profiler runs, hit list, DB accesses), the refactorings renamePreview/renameExecute, extractMethodPreview/extractMethodExecute, changePackagePreview/changePackageExecute, and the abapGit tools (gitRepos, gitPullRepo, stageRepo, pushRepo). Always run the preview before the execute.tableContents(ddicEntityName, rowNumber) and runQuery(sqlQuery) read business data: keep results in the conversation, never copy them to external services; policies may deny tables or free SQL.Every error JSON has kind, hint and nextTools. Follow them: staleLockHandle → lock again; locked by another user → do not retry the write; transportRequired → resolveTransport; policyDenied → stop, the destination forbids it; sessionExpired → the server already re-authenticated and retried once, call login if it persists; notFound on cloud → systemProfile.
wrongInputData) or whose activation names nothing where a name belongs ("Report or class is invalid"): check its content, call dropSession, then repeat the call.deleteObject, transportRelease, transportDelete, transportRemoveObjects, forceUnlock(dropSession=true), pushRepo, gitUnlinkRepo, unPublishServiceBinding, renameExecute, changePackageExecute, tracesDelete.deletionCheck(objectUrls) before deleteObject: it tells whether SAP allows the deletion and what blocks it.$TMP for experiments; prefer editObjectSource with replacements over full rewrites of large objects.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub williansaez/abap-adt-mcp --plugin abap-adt-mcp2 skills in this plugin
Other plugins' skills for the same job