YM

yan252/mcp-abap-abap-adt-api

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

5 stars 4 forks 品質 74 トレンド 17MIT

修正了mcp-abap-abap-adt-api.git的一些BUG,修正了设置DEBUG,语法检查等工具的错误

概要

DISCLAIMER: This server is still in experimental status! Use it with caution! - **20260120 yangsen 修正 5. 在SAP地址为HTTPS时,没有SSL证书时(特别是域名为IP时,原默认设置NODE_TLS_REJECT_UNAUTHORIZED=0确认不能解决登陆问题,此修改后正常),不能连接报证书问题错误。 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. - : Securely authenticate with ABAP systems using the login tool. - : Create, read, update, and delete ABAP objects seamlessly. - : Manage transport requests with tools like createTransport and transportInfo. - : Perform syntax checks and retrieve code completion suggestions. - : Easily extend the server with additional tools and resources as needed.

README

以下は原文 README の抜粋です。原文を見る。

DISCLAIMER: This server is still in experimental status! Use it with caution!

ABAP-ADT-API MCP-Server

更新说明

  • **20260103 yangsen 修正
  1. 发现原项目https://github.com/mario-andreschak/mcp-abap-abap-adt-api.git在VSCODE中的Cline中使用时分报很多代码错误,应该是JSON在解析时错误,现已修改;
  2. 工具syntaxCheckCode在只给代码时不能使用,优化后,只直接检查代码有效性;
  3. 原代码在使用时连接方式使用了SESSION_TYPE 固定值为stateful,使此连接只能在S4中正常使用,而ECC不能正常连接使用,现在配置中增加SAP_SESSION_TYPE配置项目,可按ECC,或者S4设置不同的类型;
  4. 为了调试方便,配置中也增加了调试及日志参数
  • **20260120 yangsen 修正
  1. 在SAP地址为HTTPS时,没有SSL证书时(特别是域名为IP时,原默认设置NODE_TLS_REJECT_UNAUTHORIZED=0确认不能解决登陆问题,此修改后正常),不能连接报证书问题错误。

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.

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/yan252/mcp-abap-abap-adt-api.git
    cd mcp-abap-abap-adt-api
    
  2. Install Dependencies

    npm install
    
  3. Configure Environment Variables

    An .env.example file is provided in the root directory as a template for the required environment variables. To set up your environment:

    a. Copy the .env.example file and rename it to .env:

    cp .env.example .env
    

    b. Open the .env file 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_LANGUAGE
    

    Note: 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"
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →