SAP BTP ABAP ADT MCP Server
Enables SAP ABAP development workflows including ADT login, object search, read, create, update, activate, delete, and OData service publishing.
README
SAP ABAP ADT MCP Server
MCP server for operating SAP ABAP Development Tools through ADT HTTP APIs.
Features
- Browser SSO assisted ADT login.
- ABAP repository search.
- Source and metadata read.
- Controlled create, update, activate, publish, and delete.
- ABAP Unit and ATC runs through ADT REST services.
- HTTP and STDIO transports.
Requirements
- Python 3.11+
- SAP ABAP system with ADT enabled
- Browser SSO access to the target system, or ADT-enabled Basic Auth credentials
- Optional communication arrangements for ABAP Unit (
SAP_COM_0735) and ATC (SAP_COM_0901)
Install
python -m venv .venv
.\.venv\Scripts\pip install -e .
copy sap-mcp.example.yaml sap-mcp.yaml
Edit sap-mcp.yaml and set:
abap_dev.system_urlabap_dev.client, if the SAP system requires an explicit client such as100abap_dev.auth_mode:sso,basic, orauto(default)abap_dev.username/abap_dev.password, ifauth_modeisbasicorautoallowed_packagesallow_write/allow_activate- Legacy
communication_user/communication_passwordstill work as aliases for Basic Auth credentials
Do not commit or share sap-mcp.yaml, .env, or .sap-mcp-session.json.
Start
HTTP:
$env:SAP_MCP_AUTH_TOKENS="dev-token"
uvicorn sap_mcp.server:app --host 127.0.0.1 --port 8000
STDIO:
python -m sap_mcp.stdio_server
HTTP endpoints:
/mcp/healthz/logon/success
MCP Tools
- Login and connection:
abap_adt_login,abap_adt_connect,abap_save_sso_session,abap_save_sso_cookie_header - Read:
abap_search_objects,abap_read_source,abap_get_object_metadata - Write:
abap_create_object,abap_update_source,abap_activate_object,abap_activate_objects,abap_delete_object,abap_publish_service_binding - Quality:
abap_run_unit_tests,abap_get_unit_test_run,abap_get_unit_test_result,abap_run_atc_checks,abap_get_atc_run,abap_get_atc_result - ADT-compatible workflows:
abap_list_destinations,abap_creation-*,abap_generators-*,abap_transport-*,abap_business_services-*
Supported Objects
CLAS,INTFDDLS,DCLS,BDEF,DDLX,SRVD,SRVBTABL,DTEL,DOMA,DEVCPROG,FUGR,FUNC
For service bindings, abap_create_object accepts optional service_binding_version (V2 or V4, default V4).
abap_publish_service_binding accepts optional odata_version (V2 or V4); when omitted, it tries to infer the version from SRVB metadata and falls back to V4 for existing callers.
Write, activate, publish, and delete operations are restricted by allowed_packages. Backend SAP authorizations still apply.
Login Flow
SSO mode:
- Set
abap_dev.auth_mode: "sso". - Call
abap_adt_login. - Complete SAP SSO in the browser.
- The callback stores the local ADT session.
- Call
abap_adt_connect.
Basic Auth mode:
- Set
abap_dev.auth_mode: "basic". - Set
abap_dev.usernameandabap_dev.password. - Call
abap_adt_connect.
Use read tools first; enable write and activation only when needed.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.