ABAP Accelerator

io.github.openkash由 GitHub 帳號 openkash 發布v1.0.1更新於 Oct 24, 2026

MCP server for SAP ABAP development with 15 tools for ABAP objects, syntax, ATC, and more

已驗證STDIO僅桌面資料庫開發者工具

概覽

AI 產生的概覽

本機 MCP 伺服器,透過 SAP 的 ADT API 讓助理瀏覽、編輯、檢查與啟用 ABAP 開發物件。

可以做什麼
  • 檢查 SAP 連線狀態並列出某個套件中的 ABAP 物件
  • 搜尋 ABAP 物件並讀取其原始碼
  • 建立物件、更新原始碼、檢查語法,並啟用單一物件或批次啟用
  • 執行 ATC 品質檢查、跑單元測試,並列出或建立/更新測試類別
  • 取得移轉分析與傳輸請求
適用情境
適合 ABAP 開發人員在 SAP 開發、沙箱、品質保證或測試系統中讓 AI 助理直接作業:讀寫原始碼、執行語法檢查、ATC 檢查與單元測試,以及處理傳輸請求。
執行需求
以 stdio 方式在本機執行 PyPI 套件 abap-accelerator(例如透過 uvx 或 pip install)。需要能連線到 SAP 系統的網路,並設定必要的環境變數 SAP_HOST、SAP_INSTANCE_NUMBER、SAP_CLIENT、SAP_USERNAME 與 SAP_PASSWORD;選用變數包括 SAP_LANGUAGE、SAP_SECURE、SSL_VERIFY、CUSTOM_CA_CERT_PATH 與 LOG_LEVEL。也可從 .env 檔讀取。
安裝前請注意
需要 SAP 憑證(SAP_USERNAME、SAP_PASSWORD),會存放在用戶端設定或 .env 檔中。它可以建立與修改 ABAP 物件、更新原始碼、啟用物件,以及建立或更新測試類別,變更會寫入所連線的 SAP 系統;README 建議僅在非生產系統使用。關閉 SSL_VERIFY 會降低連線安全性,文件說明僅供測試使用。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 ABAP Accelerator,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

ABAP Accelerator MCP Server

SAP ADT API Model Context Protocol (MCP) server for ABAP development. Works with any MCP-compatible client including Claude Code, Amazon Q Developer, Kiro, Cursor, Windsurf, and more.

Fork notice: This is a fork of AWS ABAP Accelerator for Amazon Q Developer, repackaged for PyPI and optimized for local stdio runs. The original project targets Docker/ECS enterprise deployments; this fork focuses on the simplest path: pip install and go.

Quick Start

bash
pip install abap-accelerator

Create a .env file or set environment variables:

bash
SAP_HOST=your-sap-host.example.com   # or host:port (e.g., 10.0.0.1:44300)SAP_INSTANCE_NUMBER=00                # used to calculate port when SAP_HOST has no portSAP_CLIENT=100SAP_USERNAME=your_usernameSAP_PASSWORD=your_password

Run:

bash
abap-accelerator

That's it. The server starts in stdio mode and is ready for your MCP client.

MCP Client Configuration

Add to your client's MCP config file:

Claude Code (.mcp.json in project root):

json
{  "mcpServers": {    "abap-accelerator": {      "command": "abap-accelerator",      "env": {        "SAP_HOST": "your-sap-host.example.com",        "SAP_INSTANCE_NUMBER": "00",        "SAP_CLIENT": "100",        "SAP_USERNAME": "your_username",        "SAP_PASSWORD": "your_password"      }    }  }}

Amazon Q Developer (~/.aws/amazonq/mcp.json or workspace .amazonq/mcp.json):

json
{  "mcpServers": {    "abap-accelerator": {      "command": "abap-accelerator",      "env": {        "SAP_HOST": "your-sap-host.example.com",        "SAP_INSTANCE_NUMBER": "00",        "SAP_CLIENT": "100",        "SAP_USERNAME": "your_username",        "SAP_PASSWORD": "your_password"      }    }  }}

Kiro (.kiro/settings/mcp.json):

json
{  "mcpServers": {    "abap-accelerator": {      "command": "abap-accelerator",      "env": {        "SAP_HOST": "your-sap-host.example.com",        "SAP_INSTANCE_NUMBER": "00",        "SAP_CLIENT": "100",        "SAP_USERNAME": "your_username",        "SAP_PASSWORD": "your_password"      }    }  }}

Tip: If you run abap-accelerator from a directory with a .env file, you can omit the env block — the server loads .env automatically.

Environment Variables

VariableRequiredDefaultDescription
SAP_HOSTYes-SAP hostname or host:port
SAP_INSTANCE_NUMBERYes-Instance number (00-99), used to calculate port
SAP_CLIENTYes-SAP client number (e.g., 100)
SAP_USERNAMEYes-SAP username
SAP_PASSWORDYes-SAP password
SAP_LANGUAGENoENSAP language
SAP_SECURENotrueUse HTTPS
SSL_VERIFYNotrueVerify SSL certificates (set false for self-signed)
CUSTOM_CA_CERT_PATHNo-Path to custom CA certificate
LOG_LEVELNoINFOLogging level (DEBUG, INFO, WARNING, ERROR)

SAP Port Calculation

The server calculates the SAP port from the instance number:

Instance NumberHTTPS PortHTTP Port
00443008000
01443018001
02443028002

Formula: HTTPS = 44300 + instance_number, HTTP = 8000 + instance_number

If SAP_HOST includes a port (e.g., 10.0.0.1:44300), the instance number is ignored.

Available Tools

ToolDescription
aws_abap_cb_connection_statusCheck SAP connection status
aws_abap_cb_get_objectsList ABAP objects in a package
aws_abap_cb_get_sourceGet source code of an object
aws_abap_cb_search_objectSearch for ABAP objects
aws_abap_cb_create_objectCreate new ABAP object
aws_abap_cb_update_sourceUpdate source code
aws_abap_cb_check_syntaxCheck syntax of source code
aws_abap_cb_activate_objectActivate ABAP object
aws_abap_cb_activate_objects_batchBatch activate objects
aws_abap_cb_run_atc_checkRun ATC quality checks
aws_abap_cb_run_unit_testsExecute unit tests
aws_abap_cb_get_test_classesGet test classes for an object
aws_abap_cb_create_or_update_test_classCreate/update test class
aws_abap_cb_get_migration_analysisGet migration analysis
aws_abap_cb_get_transport_requestsGet transport requests

Environment Guidance

This tool provides direct access to ABAP development objects. Use it in non-production environments:

IntendedNot Recommended
Development (DEV)Production (PRD)
Sandbox (SBX)Pre-production
Quality Assurance (QAS)
Test / Training / Demo

Troubleshooting

SSL Certificate Errors (SSL: CERTIFICATE_VERIFY_FAILED):

  • Set CUSTOM_CA_CERT_PATH to your corporate CA cert
  • For testing only: set SSL_VERIFY=false

Connection Timeout:

  • Verify SAP system is reachable from your network
  • Check firewall allows port 44300 (or your SAP port)
  • Verify SAP ADT services are enabled (transaction SICF)

Debug Logging:

  • Set LOG_LEVEL=DEBUG for verbose output

License

MIT No Attribution (MIT-0) — see LICENSE

Original work Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

來源:README.md,提交 f5e457e

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分