SAP BTP ABAP ADT MCP Server

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.

Category
Visit Server

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_url
  • abap_dev.client, if the SAP system requires an explicit client such as 100
  • abap_dev.auth_mode: sso, basic, or auto (default)
  • abap_dev.username / abap_dev.password, if auth_mode is basic or auto
  • allowed_packages
  • allow_write / allow_activate
  • Legacy communication_user / communication_password still 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, INTF
  • DDLS, DCLS, BDEF, DDLX, SRVD, SRVB
  • TABL, DTEL, DOMA, DEVC
  • PROG, 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:

  1. Set abap_dev.auth_mode: "sso".
  2. Call abap_adt_login.
  3. Complete SAP SSO in the browser.
  4. The callback stores the local ADT session.
  5. Call abap_adt_connect.

Basic Auth mode:

  1. Set abap_dev.auth_mode: "basic".
  2. Set abap_dev.username and abap_dev.password.
  3. Call abap_adt_connect.

Use read tools first; enable write and activation only when needed.

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

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.

Official
Featured