← Back to ABAP ADT API

Install ABAP ADT API

Pick your client, copy the command, done.

1

Add it to Claude Code

claude mcp add -e "SAP_URL=${SAP_URL}" -e "SAP_USER=${SAP_USER}" -e "SAP_PASSWORD=${SAP_PASSWORD}" abap-adt-api -- node PATH_TO_YOUR/mcp-abap-abap-adt-api/dist/index.js
Required:SAP_URLSAP_USERSAP_PASSWORD+ 2 optional

Environment Variables

Set these before running ABAP ADT API.

VariableDescriptionRequired
SAP_URLThe URL of the SAP serverYes
SAP_USERSAP usernameYes
SAP_PASSWORDSAP passwordYes
SAP_CLIENTSAP client IDNo
SAP_LANGUAGESAP language codeNo

Available Tools (4)

Once configured, ABAP ADT API gives your AI agent access to:

searchObjectFinds ABAP objects based on a query string.
query
transportInfoRetrieves transport information for a given object.
objSourceUrl
lockLocks an ABAP object for editing.
objectUrl
unLockUnlocks a previously locked ABAP object.
objectUrllockHandle

Try It Out

After setup, try these prompts with your AI agent:

Search for the ABAP class zcl_invoice_xml_gen_model and return its URI.
Get the transport information for the object located at /sap/bc/adt/oo/classes/zcl_invoice_xml_gen_model.
Lock the ABAP object /sap/bc/adt/oo/classes/zcl_invoice_xml_gen_model for editing.
Unlock the ABAP object /sap/bc/adt/oo/classes/zcl_invoice_xml_gen_model using the handle provided.
Prerequisites & system requirements
  • An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
  • Node.js 18+ with npm/npx installed
  • SAP_URL — The URL of the SAP server
  • SAP_USER — SAP username
  • SAP_PASSWORD — SAP password
Conare · memory for coding agents

Keep this setup from going cold

Save the docs, env vars, and workflow around ABAP ADT API in Conare so Claude Code, Codex, and Cursor remember it next time.

Remember this setup$npx conare@latest