Artificial Intelligence Blogs Posts
cancel
Showing results for 
Search instead for 
Did you mean: 
k1000
Active Participant
9,272

On one rainy morning I mentioned to my Google Antigravity Agent (Claude Opus 4.6 Thinking):

"I hear people are experimenting with connecting to SAP Systems via MCP. They use ABAP Development Tools API as a way in. Could you help me set up something like that for my ABAP Trial system?"

He searched the Web and found Mario Andreschak's MCP-ABAP-ADT solution on GitHub: https://github.com/mario-andreschak/mcp-abap-adt. Then he came up with the following implementation plan and asked a few questions:

k1000_0-1772814426371.png

I approved the plan and answered the questions. After a while, he was done cloning Mario's Repository and installing:

k1000_2-1772814868985.png

I updated the Password and Client in the *.env file and switched to Claude Code, who (Don't anthropomorphise computers, they hate it!) can act as an MCP Client. Claude Code was able to connect to my ABAP Trial using Mario's MCP Server.

k1000_3-1772815240833.png

Not having studied Mario's documentation, I never realised his was a read-only MCP Server. I asked Claude Code to add a comment line to an ABAP Program, just as a test. He said he couldn't do it on account of there being no WRITE, and offered to extend the MCP Server with WRITE capability. I said yes.

k1000_4-1772815577929.png

It didn't take long for Claude to do this, but I hit my rate limit and had to wait until the afternoon (Claude Code sessions are 5-hour windows with limits on input/output tokens, which reset at the end of the window. In addition, there are weekly limits).

k1000_6-1772816103874.png

There was a bit of a kerfuffle regarding the locking, but Claude Code managed to sort it all out by himself.

k1000_7-1772816554282.png

And sure enough, the test ABAP Program was updated with a comment. Actually, two comments - one was there from before, when Claude was testing the API via CURL.

k1000_8-1772816694012.png

As I was again nearing my Claude Code usage limits, I switched back to Google Antigravity. I asked the agent there to add even more WRITE tools: For Classes and Interfaces, plus a tool to create Programs from scratch. My request was dispatched rather swiftly.

k1000_9-1772816948767.png

I asked the Agent what other functionalities could he add to the MCP Server. As one would expect, he listed some of the many that are supported by the ADT API:

k1000_10-1772817272945.png

All we have to do is ask 😊

 

P.S.:

- The SAP System was ABAP Cloud Developer Trial 2023,

- I used a Mac,

- Claude Code and Google Gemini paid plans. Not any fancy "Max" plans, just the regular 20-EUR-per-month ones. 

4 Comments