SAP ADT API MCP server - fork of AWS ABAP Accelerator MCP Server. mcp-name: io.github.openkash/abap-accelerator
Project description
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 installand 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-acceleratorfrom a directory with a.envfile, you can omit theenvblock — the server loads.envautomatically.
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
SAP_HOST |
Yes | - | SAP hostname or host:port |
SAP_INSTANCE_NUMBER |
Yes | - | Instance number (00-99), used to calculate port |
SAP_CLIENT |
Yes | - | SAP client number (e.g., 100) |
SAP_USERNAME |
Yes | - | SAP username |
SAP_PASSWORD |
Yes | - | SAP password |
SAP_LANGUAGE |
No | EN |
SAP language |
SAP_SECURE |
No | true |
Use HTTPS |
SSL_VERIFY |
No | true |
Verify SSL certificates (set false for self-signed) |
CUSTOM_CA_CERT_PATH |
No | - | Path to custom CA certificate |
LOG_LEVEL |
No | INFO |
Logging level (DEBUG, INFO, WARNING, ERROR) |
SAP Port Calculation
The server calculates the SAP port from the instance number:
| Instance Number | HTTPS Port | HTTP Port |
|---|---|---|
| 00 | 44300 | 8000 |
| 01 | 44301 | 8001 |
| 02 | 44302 | 8002 |
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
| Tool | Description |
|---|---|
aws_abap_cb_connection_status |
Check SAP connection status |
aws_abap_cb_get_objects |
List ABAP objects in a package |
aws_abap_cb_get_source |
Get source code of an object |
aws_abap_cb_search_object |
Search for ABAP objects |
aws_abap_cb_create_object |
Create new ABAP object |
aws_abap_cb_update_source |
Update source code |
aws_abap_cb_check_syntax |
Check syntax of source code |
aws_abap_cb_activate_object |
Activate ABAP object |
aws_abap_cb_activate_objects_batch |
Batch activate objects |
aws_abap_cb_run_atc_check |
Run ATC quality checks |
aws_abap_cb_run_unit_tests |
Execute unit tests |
aws_abap_cb_get_test_classes |
Get test classes for an object |
aws_abap_cb_create_or_update_test_class |
Create/update test class |
aws_abap_cb_get_migration_analysis |
Get migration analysis |
aws_abap_cb_get_transport_requests |
Get transport requests |
Environment Guidance
This tool provides direct access to ABAP development objects. Use it in non-production environments:
| Intended | Not 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_PATHto 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=DEBUGfor verbose output
License
MIT No Attribution (MIT-0) — see LICENSE
Original work Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file abap_accelerator-1.0.2.tar.gz.
File metadata
- Download URL: abap_accelerator-1.0.2.tar.gz
- Upload date:
- Size: 200.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3fe5ea872490baaa59de328e9a414a16fee92dcfd1a9ba877181d6e34c9617e
|
|
| MD5 |
4a942e192d8e1876c011ebd9342bcf00
|
|
| BLAKE2b-256 |
df409791c2cba8446a26743c6895594eb3abead112890f3d93637166d7c0f806
|
Provenance
The following attestation bundles were made for abap_accelerator-1.0.2.tar.gz:
Publisher:
publish.yml on openkash/abap-accelerator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
abap_accelerator-1.0.2.tar.gz -
Subject digest:
d3fe5ea872490baaa59de328e9a414a16fee92dcfd1a9ba877181d6e34c9617e - Sigstore transparency entry: 1237477216
- Sigstore integration time:
-
Permalink:
openkash/abap-accelerator@eebab4becbe7530505ce058fb48a8ab819b668ee -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/openkash
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@eebab4becbe7530505ce058fb48a8ab819b668ee -
Trigger Event:
release
-
Statement type:
File details
Details for the file abap_accelerator-1.0.2-py3-none-any.whl.
File metadata
- Download URL: abap_accelerator-1.0.2-py3-none-any.whl
- Upload date:
- Size: 235.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d9f87587c568e89c45c30df810df3ab5cd33e0bdc763bbc186b21a9a0113670
|
|
| MD5 |
4b16a0c06974bb5c8aa9a93ea06eb396
|
|
| BLAKE2b-256 |
1fb4971a0c53a51dfd01b77dc72b14a0a186ca794dfef380fc000c56913c6fe1
|
Provenance
The following attestation bundles were made for abap_accelerator-1.0.2-py3-none-any.whl:
Publisher:
publish.yml on openkash/abap-accelerator
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
abap_accelerator-1.0.2-py3-none-any.whl -
Subject digest:
8d9f87587c568e89c45c30df810df3ab5cd33e0bdc763bbc186b21a9a0113670 - Sigstore transparency entry: 1237477287
- Sigstore integration time:
-
Permalink:
openkash/abap-accelerator@eebab4becbe7530505ce058fb48a8ab819b668ee -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/openkash
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@eebab4becbe7530505ce058fb48a8ab819b668ee -
Trigger Event:
release
-
Statement type: