🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

abap-accelerator

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abap-accelerator

SAP ADT API MCP server - fork of AWS ABAP Accelerator MCP Server. mcp-name: io.github.openkash/abap-accelerator

pipPyPI
Version
1.0.2
Weekly downloads
114
Maintainers
1

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

pip install abap-accelerator

Create a .env file or set environment variables:

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 port
SAP_CLIENT=100
SAP_USERNAME=your_username
SAP_PASSWORD=your_password

Run:

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):

{
  "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):

{
  "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):

{
  "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.

Keywords

abap

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts