In 2026 SAP shipped an official MCP server for ABAP. It's part of the ABAP development tools for VS Code extension (SAPSE.adt-vscode), which appeared on the Visual Studio Marketplace on 29 May 2026. Version 1.2.0, released on 16 October 2026, is the one SAP's own tutorials now ask for. SAP describes the ADT MCP server as an implementation of the Model Context Protocol "offering MCP tools for ABAP development tasks such as creating ABAP development objects, creating transports, and generating complete RAP applications".
Industry observers note that for an AI agent, the useful part is not code generation. It's that the agent can ask your system instead of guessing: does this class exist, what's its signature, does the syntax check pass, what does ATC say. Missing objects and wrong signatures are the most common failure in AI-written ABAP.
According to recent reports, this post covers what the server gives an agent, how to connect GitHub Copilot, Claude Code and Codex, and a setup that starts read-only. Everything comes from SAP's documentation on the SAP Help Portal, SAP's tutorials on GitHub, the setting descriptions shipped with extension version 1.2.0, and the MCP documentation of Claude Code and Codex. The full source list is in the original guide. We haven't tested this setup against a real SAP system. Setting labels and tool names change between releases, so check them against your installed version.
Recent findings suggest that MCP is an open standard that lets an AI agent call tools in other systems. The ADT MCP server runs inside the VS Code extension, on your machine, and uses the extension's own connection to your ABAP system (a "destination"). When you enable it, the extension starts a local HTTP server at http://localhost:/mcp, port 2236 by default, and generates a bearer token for it. SAP's RAP130 workshop describes it as "a local HTTP server that runs inside the ADT for Visual Studio Code extension", so it only exists while VS Code is running.
The extension connects over RFC to on-premise systems and SAP S/4HANA Cloud Private Edition, and over HTTP to the SAP BTP ABAP environment and SAP S/4HANA Cloud Public Edition, according to its Marketplace page.
In a recent development, SAP's Model Context Protocol Tools page lists the tools. Grouped by what they do:.
The same page marks a few tools as needing a Joule licence and token consumption: abap_explain_object, abap_docs_dcp and the AI-based ATC fixes. It also notes that the tool names were updated in a recent release, so older tutorials, skills and agent files can still use the old names.
In settings.json, the setting IDs from extension version 1.2.0 look like this:.
DEV_100 stands for your destination's name. What each setting does, according to SAP's Enabling ADT MCP Server page and the setting descriptions:.
SAP's own tutorials label the restriction settings slightly differently (one states Allowlist), so search for "mcp" in the settings if a label doesn't match.
The extension registers the server with VS Code, so Copilot Chat sees it without a configuration file. Following SAP's Configuring ADT MCP Server page:.
Industry observers note that the extension also ships an abap-developer custom agent. Its instructions tell the agent to create, edit and activate objects, so don't use it for a read-only start.
SAP's documentation states any MCP host can use the server over HTTP with an Authorization: Bearer header, and that "the configuration format may differ across MCP hosts". In Claude Code, add an HTTP server with a header, as described in its MCP documentation:.
This stores the server in local scope (~/.claude.json), which Claude Code recommends for credentials you don't want in version control. To share the definition in a project .mcp.json instead, keep the token out of the file with variable expansion:.
Keep VS Code open with the destination logged on, then run /mcp in Claude Code to check that sap-adt is connected.
Industry observers note that codex reads MCP servers from ~/.codex/config.toml or a project .codex/config.toml, per the Codex MCP documentation. A Streamable HTTP server takes a url and can read the bearer token from an environment variable:.
Run codex mcp list to see the configured servers.
SAP's settings make the server's own edit tool opt-in, but read-only in the agent is a separate decision. SAP's agentic loop example has the agent create a transport request, create the class with abap_object_create, add code with the "built-in edit tool from MCP host (Not from ADT MCP Server)" and activate it. The extension's setting description also warns that built-in edit tools of Copilot or other hosts can conflict with the ADT edit tool. So switching off the edit file tool alone doesn't make an agent read-only. Restrict the tools in the agent as well.
Industry observers note that phase 1: look up and check only. Allow these tools and nothing else:.
Industry observers note that then tell the agent how to use the server in its instruction file (AGENTS.md/CLAUDE.md, Copilot instructions or Cursor rules). A rule along these lines works:.
Sources indicate that in this phase the agent writes code in its answer or in local files, and you paste it into the editor. What it gains is that it can check that a class, BAPI or CDS view really exists before using it.
Phase 2: changes in one package. When the read-only results are good, add one sandbox package (or $TMP) to the package restriction, switch on the edit file tool if you want the agent to edit through the server, and allow the change tools one at a time with per-call approval. Review every change as you would a colleague's. SAP's tool list includes abap_transport_get_unified_diff, which gives you a diff of a transport before release.
Industry observers note that the longer version of this post, with all sources linked, is on abapforagents.com. If you want ready-made rules for this setup, the free, MIT-licensed ABAP for Agents Lite on GitHub has the core rules (including the read-only MCP rule above) for Cursor, Claude Code, Copilot, Windsurf and AGENTS.md, in English and Portuguese. The full Rules Pack (v1.1.0, 19 €) adds 300+ rules across 20 topics and 8 agent skills, in English and Portuguese.
