Enables interaction with SAP systems via ABAP Development Tools (ADT) APIs, allowing for the management of ABAP objects, handling of transport requests, source code modification, syntax checking, and inspection of ABAP Dictionary table structures.
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., "@ABAP-ADT-API MCP-Serversearch for the ABAP class ZCL_INVOICE_MANAGER"
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.
DISCLAIMER: This server is still in experimental status! Use it with caution!
ABAP-ADT-API MCP-Server
Description
The MCP-Server mcp-abap-abap-adt-api is a Model Context Protocol (MCP) server designed to facilitate seamless communication between ABAP systems and MCP clients. It is a wrapper for abap-adt-api and provides a suite of tools and resources for managing ABAP objects, handling transport requests, performing code analysis, and more, enhancing the efficiency and effectiveness of ABAP development workflows.
Related MCP server: MCP Server
Features
Authentication: Securely authenticate with ABAP systems using the
logintool.Object Management: Create, read, update, and delete ABAP objects seamlessly.
Transport Handling: Manage transport requests with tools like
createTransportandtransportInfo.Code Analysis: Perform syntax checks and retrieve code completion suggestions.
Extensibility: Easily extend the server with additional tools and resources as needed.
Session Management: Handle session caching and termination using
dropSessionandlogout.
Installation
Installing via Smithery
To install ABAP-ADT-API MCP-Server for Claude Desktop automatically via Smithery:
Prerequisites
Node.js: Ensure you have Node.js installed. You can download it from here.
ABAP System Access: Credentials and URL to access the ABAP system.
Steps
Clone the Repository
git clone https://github.com/mario-andreschak/mcp-abap-abap-adt-api.git cd mcp-abap-abap-adt-apiInstall Dependencies
npm installConfigure Environment Variables
An
.env.examplefile is provided in the root directory as a template for the required environment variables. To set up your environment:a. Copy the
.env.examplefile and rename it to.env:cp .env.example .envb. Open the
.envfile and replace the placeholder values with your actual SAP connection details:SAP_URL=https://your-sap-server.com:44300 SAP_USER=YOUR_SAP_USERNAME SAP_PASSWORD=YOUR_SAP_PASSWORD SAP_CLIENT=YOUR_SAP_CLIENT SAP_LANGUAGE=YOUR_SAP_LANGUAGENote: The SAP_CLIENT and SAP_LANGUAGE variables are optional but recommended.
If you're using self-signed certificates, you can also set:
NODE_TLS_REJECT_UNAUTHORIZED="0"IMPORTANT: Never commit your
.envfile to version control. It's already included in.gitignoreto prevent accidental commits.Build the Project
npm run buildRun the Server
npm run start(or alternatively integrate the MCP Server into VSCode)
Usage
Once the server is running, you can interact with it using MCP clients or tools that support the Model Context Protocol (e.g. Cline). In order to integrate the MCP Server with Cline, use the following MCP Configuration:
Custom Instruction
Use this Custom Instruction to explain the tool to your model:
Contributing
Contributions are welcome! Please follow these steps to contribute:
Fork the Repository
Create a New Branch
git checkout -b feature/your-feature-nameCommit Your Changes
git commit -m "Add some feature"Push to the Branch
git push origin feature/your-feature-nameOpen a Pull Request
License
This project is licensed under the MIT License.