Skip to content

sebasgoldberg/mcp-abap-abap-adt-api

Repository files navigation

ABAP-ADT-API MCP-Server

Description

The ABAP-ADT-API MCP-Server is a Model Context Protocol (MCP) server designed to facilitate seamless communication between ABAP systems and MCP clients. It is based on abap-adt-api 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.

This project was generated by Cline.

Features

  • Authentication: Securely authenticate with ABAP systems using the login tool.
  • Object Management: Create, read, update, and delete ABAP objects seamlessly.
  • Transport Handling: Manage transport requests with tools like createTransport and transportInfo.
  • 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 dropSession and logout.

Installation

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

  1. Clone the Repository

    git clone https://github.com/yourusername/mcp-abap-abap-adt-api.git cd mcp-abap-abap-adt-api
  2. Install Dependencies

    npm install
  3. Configure Environment Variables

    Create a .env file in the root directory and add the necessary environment variables:

    ABAP_SYSTEM_URL="https://your-abap-system-url:port" ABAP_USERNAME="your_username" ABAP_PASSWORD="your_password"

    If you're using self-signed certificates, you can also set

    NODE_TLS_REJECT_UNAUTHORIZED="0" 
  4. Build the Project

    npm run build
  5. Run the Server

    node build/index.js

    (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).

Contributing

Contributions are welcome! Please follow these steps to contribute:

  1. Fork the Repository

  2. Create a New Branch

    git checkout -b feature/your-feature-name
  3. Commit Your Changes

    git commit -m "Add some feature"
  4. Push to the Branch

    git push origin feature/your-feature-name
  5. Open a Pull Request

License

This project is licensed under the MIT License.

About

MCP-Server for SAP ABAP wrapping abap-adt-api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 92.1%
  • JavaScript 7.5%
  • Dockerfile 0.4%