adt-mcp
Provides tools for reading and writing ABAP source code via SAP ADT, including navigating systems, searching objects, retrieving and updating source code, creating objects (CLAS, INTF, DDLS, etc.), and activating changes, with write safety controls per system.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@adt-mcpshow me the source of class ZCL_MY_CLASS"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ADT MCP (Python)
Multi-system MCP server for reading and writing ABAP source via SAP ADT,
with a local web admin to configure systems. One process serves both the
MCP endpoint (/mcp) and the web admin (/).
Install
cd adt-mcp
python -m pip install -e .
# dev/test deps:
python -m pip install -r requirements.txtRelated MCP server: ABAP-ADT-API MCP-Server
Run
python -m adt_mcp # or: adt-mcp
# → http://127.0.0.1:8765 (MCP at /mcp, admin at /)Open http://127.0.0.1:8765 to add SAP systems (URL, client, language, auth).
Config is stored in systems.json (gitignored). See systems.example.json.
Cookie systems can be (re)authenticated from the web admin via a browser login.
Connect Claude Code
Add to .mcp.json:
{
"mcpServers": {
"sap-adt": { "type": "http", "url": "http://127.0.0.1:8765/mcp" }
}
}Tools
Read / navigate:
list_systems,list_package,search_objectsget_source,get_source_by_uri,get_class_method_source,get_class_include,get_object_structure,get_package_sourcegrep_package,find_references(where-used),cds_dependenciesget_context(object + compressed dependencies)get_revisions,get_revision_source,compare_source
Write (gated by safety, see below):
update_source,update_class_include,activatecreate_object(CLAS / INTF / DDLS / DDLX / BDEF / SRVD / SRVB / TABL)
Cookie maintenance: refresh_cookies_for.
Write safety
Writes are off by default. Per system in systems.json:
allow_write: true— required to enable any create/update.write_packages: ["Z*", "$TMP"]— target package must match (default).
Delete is intentionally not supported.
Test
python -m pytest -vSecurity
systems.json,cookies/,*-cookies.txthold session secrets and are gitignored — never commit them.The server binds
127.0.0.1only.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nhattuan1305/adt-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server