
yan252/mcp-abap-abap-adt-api
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
修正了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 修正
- 发现原项目https://github.com/mario-andreschak/mcp-abap-abap-adt-api.git在VSCODE中的Cline中使用时分报很多代码错误,应该是JSON在解析时错误,现已修改;
- 工具syntaxCheckCode在只给代码时不能使用,优化后,只直接检查代码有效性;
- 原代码在使用时连接方式使用了SESSION_TYPE 固定值为stateful,使此连接只能在S4中正常使用,而ECC不能正常连接使用,现在配置中增加SAP_SESSION_TYPE配置项目,可按ECC,或者S4设置不同的类型;
- 为了调试方便,配置中也增加了调试及日志参数
- **20260120 yangsen 修正
- 在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
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
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/yan252/mcp-abap-abap-adt-api.git cd mcp-abap-abap-adt-api -
Install Dependencies
npm install -
Configure 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"
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →