mcp-abap-adt
Provides tools for interacting with SAP ABAP systems through ABAP Development Tools (ADT), enabling access to ABAP objects, source code, RAP development artifacts, transports, version history, unit tests, syntax checks, class management, and multi-system support.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-abap-adt retrieve the source code for class ZCL_MY_CLASS"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
This MCP server is no longer actively maintained. SAP has released an official ABAP MCP server β please use that instead: SAP Official ABAP MCP
π§ͺ EVALUATION & LEARNING PROJECT - SAP INTERNAL
This project serves dual purposes at SAP:
Evaluation Platform: Test how Model Context Protocol (MCP) can support AI-assisted ABAP development
Practical Tool: Enable SAP colleagues to use standard AI coding assistants (Claude Code CLI, Cline, Cursor, etc.) for ABAP development tasks
Project Status:
β Actively maintained and feature-complete for evaluation purposes
β Open to contributions from SAP internal teams
β Suitable for development and testing environments
β οΈ Implementation is pragmatic and focused on capability exploration
β οΈ Not intended for production business-critical operations
Origin: Originally forked from mario-andreschak/mcp-abap-adt, now evolved with additional capabilities for SAP internal development scenarios.
For AI Agents: See AGENTS.md for comprehensive guidance on using this MCP server with AI coding assistants. Agent-specific quick reference files in the agents/ folder:
Cline: agents/.clinerules
Claude Desktop: agents/CLAUDE.md
Cursor: agents/.cursorrules
OpenCode: agents/.opencoderules
All Others: Use AGENTS.md directly
Find an Example AGENTS.md file for ABAP projects. Place it as AGENTS.md in the root folder of an ABAP project. See agents.md for reference.
Enhancement proposals for the MCP server are collected here.
Found a bug or have a feature request? Please check our GitHub Issues page to report issues or request new features.
mcp-abap-adt: Your Gateway to ABAP Development Tools (ADT)
A Model Context Protocol (MCP) server that provides AI coding assistants with direct access to SAP ABAP systems through ABAP Development Tools (ADT). Think of it as a bridge that lets tools like Cline, Claude Code CLI, and other MCP clients interact with your ABAP system to retrieve source code, analyze structures, run tests, and more.
π Table of Contents
Related MCP server: vibing-steampunk
Project Philosophy
This server balances three objectives:
Exploration First: Test what's possible with MCP in ABAP development contexts
Practical Value: Provide immediate utility for AI-assisted ABAP development
Learning Platform: Serve as a reference for building domain-specific MCP servers
Implementation philosophy:
Pragmatic over perfect: Features may be straightforward rather than architected for scale
Capability focused: Prioritize exploring what AI assistants need over production hardening
Community driven: Feedback and contributions shape the server's evolution
This approach allows rapid iteration on MCP capabilities while delivering real value to developers.
Key Features
π Comprehensive ABAP Object Access: Retrieve programs, classes (including local includes: CCIMP, CCDEF, CCMAC, CCAU), interfaces, functions, tables, structures, and more
π RAP Development Support: Full support for CDS views, behavior definitions, service bindings, metadata extensions, and access control
π Transport & Version Control: List transport requests, view version history, and compare object versions across transports
π¦ Batch Query Operations: Query multiple tables or CDS views in a single call with advanced filtering and pagination
π§ͺ Testing & Quality Assurance: Execute unit tests, analyze coverage, validate syntax, and find object usages
ποΈ Class Management: Create, modify, activate, and delete ABAP classes with full include support (main, definitions, implementations, macros, test classes)
π RAP BO Analysis: Comprehensive analysis of RAP Business Objects via cacheable MCP resources
π Multi-System Support: Configure and work with multiple SAP systems (DEV, QAS, PRD) simultaneously with easy system switching
π€ AI Agent Ready: Optimized for Cline, Claude Code CLI, Cursor, OpenCode, and other MCP-compatible clients
βοΈ ABAP Cloud Compliant: Built-in guidance for ABAP Cloud (Tier 1) development standards
ABAP Debugging Not Supported
This Node.js-based MCP server does not support ABAP debugging capabilities. ABAP debugging requires RFC (Remote Function Call) protocol, which is only available through SAP's native libraries (JCo for Java, NW RFC SDK for C/C++).
Need debugging? Use the Java-based MCP server ai-sap-abap-adt which includes SAP JCo and provides full debugging support including:
Setting/managing breakpoints
Step-by-step execution (step into, step over, step out)
Variable inspection and modification
Call stack analysis
Quick Start
For experienced developers - get up and running in 5 minutes:
# 1. Clone the repository
git clone https://github.tools.sap/D020426/mcp-abap-adt.git
# For external contributors: git clone https://github.com/mario-andreschak/mcp-abap-adt.git
cd mcp-abap-adt
# 2. Install dependencies and build
npm install && npm run build
# 3. Configure SAP connection
# Single system (simple):
cat > .env << EOF
SAP_URL=https://your-sap-system.com:8000
SAP_CLIENT=100
EOF
# Multiple systems (advanced):
# Copy .sap-systems.example.json to .sap-systems.json and configure
# See docs/multi-system-configuration.md for details
# 4. Authenticate with SAP
# See docs/Authentication.md for detailed guide
#
# Quick options:
# - SSO (Recommended): Built-in browser SSO launches Chrome automatically
# Or call SapBrowserLogin tool to proactively authenticate
# - Basic Auth: Add SAP_USERNAME/SAP_PASSWORD to .env
# 5. Add to your MCP client configuration (see AI Agent Integration section)
# 6. Start coding with AI assistance!π First time with MCP servers? Continue reading for detailed step-by-step instructions.
Prerequisites
Before you begin, ensure you have:
SAP ABAP System Access
System URL (e.g.,
https://my-sap-system.com:8000)Valid username and password
SAP client number (e.g.,
100)ADT services activated in transaction
SICF(specifically/sap/bc/adt)For
GetTableContents: Custom service/z_mcp_abap_adt/z_tablecontent(setup guide)
Development Tools
Git: Download Git or GitHub Desktop
Node.js & npm: Download Node.js LTS (includes npm)
Verify installation:
node -v # Should show version number
npm -v # Should show version numberInstallation and Setup
1. Clone the Repository
Using Git (command line):
cd Desktop # Or your preferred directory
git clone https://github.tools.sap/D020426/mcp-abap-adt.git
cd mcp-abap-adtUsing GitHub Desktop:
Open GitHub Desktop
File β Clone Repository
URL tab β Paste repository URL
Choose local path β Clone
2. Install Dependencies
npm installThis downloads all required libraries (may take a few minutes).
3. Build the Project
npm run buildThis compiles TypeScript code into executable JavaScript.
4. Configure SAP Connection
Create a .env file in the root directory:
SAP_URL=https://your-sap-system.com:8000
SAP_CLIENT=100β οΈ Important: Never commit .env to version control - keep this file secure!
5. Authenticate with SAP System
The server supports two authentication methods that are automatically selected based on your configuration.
π Complete authentication guide: docs/Authentication.md
Quick Setup Options
Option 1 - SSO Authentication (Recommended for Production):
Best for corporate SAP systems with SSO. Built-in browser SSO requires no extra setup.
Leave
SAP_USERNAMEandSAP_PASSWORDunset in.envOn first request, Chrome launches automatically for SSO login
Or call the
SapBrowserLogintool to proactively authenticateCookies are cached to
$TMPDIR/mcp-abap-adt/<domain>.jsonwith 12h TTL401/403 responses auto-retry with re-authentication
Legacy alternative: The external sap-auth-mcp-main MCP server still works as a fallback (see Authentication Guide)
Option 2 - Basic Authentication (Recommended for Dev/Test):
Simple setup using username and password. Add to your .env file:
SAP_URL=https://your-sap-system.com:8000
SAP_CLIENT=100
SAP_USERNAME=your_username
SAP_PASSWORD=your_passwordHow Authentication Works
The server automatically detects and uses the best authentication method:
If credentials exist (
SAP_USERNAMEandSAP_PASSWORDin.env) β Uses Basic AuthIf SSO cookies exist (legacy cookie file or
$TMPDIR/mcp-abap-adt/<domain>.json) β Uses cached SSO cookiesIf neither exists β Launches Chrome for built-in browser SSO on first request
You'll see which method is active in the console logs:
[Auth] Using SSO Authentication (cookies from tmp/sap_cookies.json)or
[Auth] Using Basic Authentication (credentials)Authentication Guide
For complete authentication setup, troubleshooting, and best practices, see the comprehensive guide:
π Authentication Guide
The guide covers:
Built-in browser SSO (primary) and legacy sap-auth-mcp setup
Basic authentication configuration
Cookie file locations and formats
Re-authentication procedures
Security best practices
Troubleshooting authentication issues
CSRF token handling
Multi-System Configuration
Want to work with multiple SAP systems (DEV, QAS, PRD) simultaneously? The server supports configuring multiple systems in a single configuration file with easy system switching.
π Multi-System Configuration Guide
Quick example:
Create .sap-systems.json in the project root:
{
"version": "1.0",
"default": "DEV",
"systems": {
"DEV": {
"name": "Development",
"url": "https://dev-sap.example.com:443",
"client": "100",
"auth": { "type": "basic", "username": "${SAP_DEV_USER}", "password": "${SAP_DEV_PASS}" }
},
"QAS": {
"name": "Quality",
"url": "https://qas-sap.example.com:443",
"client": "200",
"auth": { "type": "sso", "cookiePath": "./tmp/qas_cookies.json" }
}
}
}Key features:
Configure multiple systems with different authentication methods
Set a default system and switch between them at runtime
Use
systemparameter on any tool to target a specific systemSupports both Basic Auth and SSO per system
Environment variable interpolation with
${ENV_VAR}syntax
New tools:
ListSystems- View all configured systemsSetDefaultSystem- Change the active systemGetSystemInfo- Shows multi-system configuration and status
See the complete guide for configuration details, examples, and troubleshooting.
LLM Access Setup (SAP Internal)
SAP Employees: Before configuring MCP tools in your development environment, you must set up the Hyperspace AI Proxy to access LLM capabilities.
Most AI coding assistants (Cline, Claude Code CLI, Cursor, etc.) require LLM access to function. At SAP, this is provided through the Hyperspace AI Proxy.
Setting Up Hyperspace AI Proxy
Complete setup guide: Hyperspace AI Proxy Documentation
Quick Overview:
Install the hai CLI - Command-line tool for managing LLM proxy
Configure your AI coding assistant - Connect your tool (Cline, Claude Code, Cursor, etc.) to the proxy
Start the proxy - Run the proxy service before using AI tools
Tool-Specific Guides:
Claude Code CLI: Configure Claude Code with hai
Cline: Configure Cline with hai
Cursor: Configure Cursor with hai
Other Tools: Check the Hyperspace documentation for additional integrations
β οΈ Complete this setup first before proceeding to configure the MCP server in your AI tool. Without LLM access, your AI coding assistant won't function.
AI Agent Integration
This MCP server integrates with various AI coding assistants. Choose your preferred tool:
Cline (VS Code Extension)
Cline is a VS Code extension that uses MCP servers for AI-assisted development.
Setup:
Install Cline extension in VS Code
Open Cline Settings:
VS Code Settings (Ctrl+,)
Search "Cline MCP Settings"
Click "Edit in settings.json"
Add Server Configuration:
{ "mcpServers": { "mcp-abap-adt": { "command": "node", "args": ["C:/PATH_TO/mcp-abap-adt/dist/index.js"], "disabled": false, "autoApprove": [] } } }Test Connection:
Server appears in "MCP Servers" panel
Ask Cline to retrieve ABAP source code
Verify it uses the MCP server tools
π For detailed Cline integration, see docs/Cline_Integration_Guide.md
Claude Code CLI (SAP Internal)
SAP Employees Only: Claude Code CLI is officially approved for productive code development at SAP when used with the Hyperspace LLM Proxy.
Claude Code CLI provides a command-line interface for AI-assisted coding.
Prerequisites:
Claude Code CLI must be installed
hai CLI must be installed and configured
See official Claude Code CLI guide for complete LLM proxy setup
Setup:
Open Claude Code Settings: Open file
.claude.jsonin your user home folder in your default editor (note: it might be hidden, make sure to view hidden files)Add MCP Server Configuration: Add to the
mcpServerssection (or add the whole section to the root of the json):{ "mcpServers": { "mcp-abap-adt": { "command": "node", "args": ["C:/PATH_TO/mcp-abap-adt/dist/index.js"], "disabled": false } } }Replace
C:/PATH_TO/with the actual path to your cloned repository.Start Coding:
# Terminal 1: Start the proxy (if not already running) hai proxy start # Terminal 2: Launch Claude Code claudeTest Connection:
Server loads automatically when Claude Code starts
Ask Claude to retrieve ABAP source code
Verify it uses the MCP server tools
Important Notes:
β Production ready when used with Hyperspace LLM Proxy
β Only use Anthropic models (Haiku, Sonnet, Opus)
β οΈ Keep hai proxy running while using Claude Code CLI
β οΈ Use absolute paths in MCP configuration
β οΈ Do not login - use proxy authentication configured in settings.json
Troubleshooting:
MCP server not loading: Check path in settings.json, ensure
npm run buildwas executedhai proxy issues: Run
hai proxy status, restart withhai proxy startConfiguration issues: See manual configuration guide
π Complete documentation: Hyperspace LLM Proxy Claude Code CLI Guide
Other AI Agents
This server works with any MCP-compatible client:
Cursor: See agents/.cursorrules
OpenCode: See agents/.opencoderules
Claude Desktop: See agents/CLAUDE.md
Universal Guide: See AGENTS.md
Available Tools & Resources
MCP Resources
Resources provide cacheable, token-efficient access to ABAP objects. Always prefer resources over tools when available.
Resource URI | Description | Token Usage | Documentation |
| Lightweight package names list | ~5K | |
| Complete top-level packages | ~35K | |
| Detailed package information | ~2-5K | |
| Complete RAP BO analysis | ~20-50K | |
| ABAP class source code | Varies | |
| CDS view source and metadata | Varies | |
| Database table structure | Varies | |
| CDS view data with filtering | Varies | |
| Auto-detect agent-specific guide | ~15K |
π Complete resource documentation: docs/Resources.md
Core ABAP Object Retrieval
Retrieve source code and definitions from your ABAP system.
Tool | Description | Documentation |
| Retrieve ABAP program source code | |
| Retrieve ABAP class source (supports local includes) | |
| Retrieve specific class include (CCIMP, CCDEF, etc.) | |
| Retrieve ABAP interface source code | |
| Retrieve ABAP include program source | |
| Retrieve function module source code | |
| Retrieve entire function group source | |
| Retrieve database table structure and metadata | |
| Retrieve DDIC structure definitions | |
| Retrieve domain definitions with data types and values | |
| Retrieve data element definitions with labels | |
| Retrieve ABAP type information | - |
| Retrieve package details and contained objects | |
| List objects within a package | |
| Retrieve transaction code details | |
| Search for ABAP objects using wildcards (e.g., |
Data Query & Analysis
Query table and CDS view data with advanced filtering and batch operations.
Tool | Description | Documentation |
| Query table data with filtering, pagination, and batch support | |
| Query CDS view data with parameters and filtering |
Key Features:
Advanced WHERE conditions (equality operator)
Column selection and ordering
Pagination with offset
Batch queries (multiple tables/views in one call)
Column metadata inclusion
Transport & Version Control
Manage transport requests and track version history across your ABAP landscape. NEW: Improved tools with automatic task/request hierarchy handling, formatted output, and direct version comparison.
Tool | Description | Documentation |
| Quick analysis: Combines transport + version analysis in one command | |
| Compare versions: Shows exactly what changed between two versions (unified diff, side-by-side, or summary) | |
| List ALL transport requests for a user (modifiable + released) with optional date filtering | |
| Show transport hierarchy, objects, and next steps (formatted output) | |
| View version history with transport hierarchy guidance |
Key Capabilities:
Direct version comparison - see exact changes with unified diff, side-by-side, or summary formats
Automatic task/parent request hierarchy detection - no manual investigation needed
Intelligent version filtering - automatically skips test transports and untransported versions
Formatted, human-readable output - clear hierarchy visualization with guided next steps
Complete workflow documentation - see TRANSPORT_WORKFLOWS.md
Date-filtered transport listing - efficiently find recent transports with
from_dateparameter (avoids token waste)Filter transport requests by user, status, and target system
View detailed transport contents including all objects, tasks, and locks
View complete version history including dates, authors, and transport numbers
Support for classes, programs, function groups, interfaces, CDS views, and more
Typical Workflows:
Quick Analysis (Recommended):
GetTransportVersions- One command to analyze what changed in a transportAutomatically handles task β parent request hierarchy
Finds the relevant version and suggests comparison
CompareObjectVersions- See exactly what changed (one command instead of manual diff)Choose format: unified (git diff), side-by-side, or summary
Step-by-Step Analysis:
GetTransportRequest- Understand transport hierarchy and see all objectsGetVersionHistory- View version history (look for parent request if analyzing a task)CompareObjectVersions- Compare versions directly to see exact changes
Finding Changes by User:
ListUserTransports- Find ALL transports for a specific user (addfrom_dateparameter for recent transports)GetTransportVersions- Analyze each transport quicklyCompareObjectVersions- Review changes in detail
π Complete Workflow Guide: See docs/TRANSPORT_WORKFLOWS.md for:
SAP transport hierarchy explanation (Request β Task β Objects)
4 step-by-step workflows with examples
Common pitfalls and how to avoid them
Version numbering patterns for different object types
RAP Development Tools
Full support for RESTful ABAP Programming (RAP) development.
Tool | Description | Documentation |
| Retrieve CDS view source code and annotations | |
| Retrieve RAP behavior definition source | |
| Retrieve RAP service definition source | |
| Retrieve RAP service binding details | |
| Retrieve metadata extension (UI annotations) | |
| Retrieve access control (DCL) definition | |
| Retrieve interface behavior for RAP Business Objects | |
| Search RAP Business Objects by description |
π Complete RAP tools documentation: docs/RAP_Tools.md
Class Management Tools
Create, modify, and manage ABAP classes directly.
Tool | Description | Documentation |
| Create new ABAP class in local package ($TMP) | |
| Create or replace test classes within existing class | |
| Activate one or multiple ABAP classes | |
| Validate ABAP source code syntax | |
| Delete local ABAP class (Z/Y classes only) |
Typical Workflow:
CheckSyntax- Validate class source codeCreateClass- Create the class (auto_activate: false)CheckSyntax- Validate test source codeCreateClassTests- Add unit testsRunClassTests- Execute testsActivateClasses- Activate after tests pass
π Auto-activation guide: docs/AutoActivation.md
Testing & Quality Assurance
Execute tests, analyze coverage, validate quality, and ensure ABAP Cloud compliance.
Tool | Description | Documentation |
| Retrieve local test classes from a class | |
| Execute unit tests and retrieve results | |
| Execute tests for all objects in a package | |
| Run tests and retrieve code coverage metrics | |
| Find where-used list for ABAP objects (classes, interfaces, etc.) | |
| Find where ABAP classes are used (convenience wrapper) |
Coverage Targets:
RAP Behavior Implementation: 80% minimum, 90% target
Business Logic Classes: 70% minimum, 85% target
Utility/Helper Classes: 60% minimum, 75% target
Running the Server Manually
Typically, you don't run this server standalone - it's integrated into MCP clients. However, you can run it manually for testing:
Standalone Mode
npm run startServer starts and waits for MCP client connections.
Development/Debug Mode (with Inspector)
npm run devOpens MCP Inspector at http://localhost:5173 for interactive testing.
Using the Inspector:
Open the URL in your browser
Click "Connect" on the left
Click "Tools" β "List Tools"
Select a tool (e.g., GetProgram)
Enter parameters and test
Docker Deployment
Deploy the MCP server using Docker for containerized environments.
Build and Run
# Build the image
docker build -t mcp-abap-adt .
# Run with environment variables
docker run -d \
-e SAP_URL=https://your-sap-system.com:8000 \
-e SAP_USERNAME=your_username \
-e SAP_PASSWORD=your_password \
-e SAP_CLIENT=100 \
-p 5173:5173 \
mcp-abap-adtUsing Docker Compose
Create docker-compose.yml:
version: "3.8"
services:
mcp-abap-adt:
build: .
environment:
- SAP_URL=https://your-sap-system.com:8000
- SAP_USERNAME=your_username
- SAP_PASSWORD=your_password
- SAP_CLIENT=100
ports:
- "5173:5173"Run with:
docker-compose up -dπ Advanced configuration: See Dockerfile
Troubleshooting
Common Issues
Node.js/npm not found:
Verify installation:
node -vandnpm -vEnsure Node.js is in your system PATH
Reinstall Node.js if needed
npm install fails:
Check internet connection
Delete
node_modulesfolder and retryConfigure proxy if behind corporate firewall: npm proxy settings
MCP client doesn't connect:
Verify correct absolute path in client configuration
Ensure server is built:
npm run buildRestart your MCP client (VS Code, etc.)
Check server logs for errors
SAP connection errors:
Verify credentials in
.envfileEnsure SAP system is accessible from your network
Check user authorizations for ADT services
Verify ADT services are active in transaction
SICFFor self-signed certificates, set
NODE_TLS_REJECT_UNAUTHORIZED=0(development only!)
Tool-specific issues:
Check tool documentation in
docs/folderVerify object names and parameters
Review error messages for specific guidance
Getting Help
π Documentation: Check
docs/folder for detailed guidesπ Bug Reports: GitHub Issues
π‘ Feature Requests: Enhancement Proposals
π Changelog: CHANGELOG.md
Contributing & Support
Contributing
We welcome contributions from SAP internal teams and external developers:
For SAP Internal Contributors:
Report Issues: Use GitHub Issues
Suggest Features: Add to Enhancement Proposals
Submit Code: See CONTRIBUTING.md for guidelines (coming soon)
Share Feedback: Help us improve MCP capabilities for ABAP development
Development Setup:
# Install dependencies and setup hooks
npm install
# Run tests
npm test
# Run all checks (format, lint, typecheck, tests)
npm run validateCI/CD Configuration:
The project uses GitHub Actions for continuous integration. Required GitHub secrets:
CODECOV_TOKEN(optional): Token for uploading test coverage to CodecovGet from: https://codecov.io/
If not configured, coverage upload will be skipped but builds will still succeed
Set in repository Settings β Secrets and variables β Actions
For External Contributors:
This fork focuses on SAP-internal evaluation scenarios
For the upstream project, see mario-andreschak/mcp-abap-adt
Feature contributions welcome that enhance MCP evaluation capabilities
Project Goals:
Explore how MCP can improve AI-assisted ABAP development
Serve as a reference implementation for MCP server development
Enable practical use of AI coding assistants for ABAP tasks
Documentation
AI Agent Guide: AGENTS.md - Comprehensive guide for AI coding assistants
Agent-Specific Guides:
agents/folder - Optimized guides for specific AI agentsTool Documentation:
docs/folder - Detailed documentation for each toolExample Project: Example_AGENTS.md - Sample AGENTS.md for ABAP projects
Standards & Best Practices
ABAP Standards: docs/ABAP_Standards.md
CDS Performance: docs/CDS_View_Performance.md
RAP Development: docs/RAP_Tools.md
Version Information
Current Version: 1.1.0
License: MIT
Changelog: CHANGELOG.md
This MCP server bridges the gap between AI coding assistants and SAP ABAP systems, enabling intelligent, context-aware development workflows.
Available Tools
65 toolsActivateClassesA
Activate ABAP classes after creation or modification. Provide either class_name for a single class or class_names array for multiple classes.
Inputs: class_name, class_names, preaudit_requested.
CheckSyntaxA
Check ABAP source code syntax and return detailed error information. Supports three input modes: file_path (from tmp folder), source_code (direct code), or object_name (existing object). Priority: file_path > source_code > object_name.
Inputs: file_path, object_name, object_type, source_code.
CompareObjectVersionsA
Compare two versions of an ABAP object and return a formatted diff. Supports multiple output formats: unified (like git diff), side-by-side, or summary. Use with GetVersionHistory or GetTransportVersions to identify version IDs, then compare them to see exactly what changed.
Inputs: object_name (required), object_type (required), version_new (required), version_old (required), +2 more.
CreateBehaviorDefinitionA
Create or replace a RAP Behavior Definition (BDEF) in the SAP system. Only supports local packages ($TMP, $LOCAL, $-prefixed). Supports managed, unmanaged, projection, and abstract types. Auto-activates by default.
Inputs: bdef_type (required), source_code (required), behavior_name (required), package, +3 more.
CreateCDSViewA
Create or replace a local CDS DDL view in the SAP system. Only supports local packages ($TMP, $LOCAL, $-prefixed). Auto-activates by default.
Inputs: view_name (required), source_code (required), package, description, +2 more.
CreateClassB
Create a new ABAP class in local package ($TMP) without transport assignment
Inputs: class_name (required), source_code (required), package, description, +2 more.
CreateClassImplementationB
Write or replace the local class implementations include (CCIMP) of an existing global ABAP class. Use this to update method implementations for local classes defined in the class.
Inputs: class_name (required), source_code (required), auto_activate, preaudit_requested.
CreateClassTestsB
Create or replace test classes within an existing global ABAP class
Inputs: test_source_code (required), parent_class_name (required), auto_activate, backup_existing, +1 more.
CreateServiceDefinitionA
Create or replace a Service Definition (SRVD) in the SAP system. Only supports local packages ($TMP, $LOCAL, $-prefixed). Auto-activates by default.
Inputs: source_code (required), service_name (required), package, description, +2 more.
DeleteLocalClassA
Delete a local ABAP class (only Z/Y classes in local packages)
Inputs: class_name (required).
ExportAccessControlToFileA
Export a CDS access control (DCL) from the system directly to a file in the tmp folder with .dcls.asdcls extension. Automatically converts DCL name to Z-namespace.
Inputs: dcl_name (required).
ExportBehaviorDefinitionToFileA
Export a RAP behavior definition from the system directly to a file in the tmp folder with .bdef.asbdef extension. Automatically converts behavior name to Z-namespace.
Inputs: behavior_name (required).
ExportCDSViewToFileA
Export a CDS DDL view from the system directly to a file in the tmp folder with .ddls.asddls extension. Automatically converts view name and SQL view name to Z-namespace.
Inputs: view_name (required).
ExportClassToFileA
Export an ABAP class from the system directly to file(s) in the tmp folder. Optionally export all includes (definitions, implementations, macros, testclasses). Automatically creates the tmp folder if it does not exist.
Inputs: class_name (required), single_file, include_types.
ExportFunctionGroupToFileA
Export an ABAP function group from the system directly to a file in the tmp folder with .fugr.abap extension. Automatically converts function group name to Z-namespace.
Inputs: function_group (required).
ExportInterfaceToFileA
Export an ABAP interface from the system directly to a file in the tmp folder with .intf.abap extension. Automatically converts interface name to Z-namespace.
Inputs: interface_name (required).
ExportMetadataExtensionToFileA
Export a CDS metadata extension from the system directly to a file in the tmp folder with .ddlx.asddlxs extension. Automatically converts extension name to Z-namespace.
Inputs: extension_name (required).
ExportProgramToFileB
Export an ABAP program from the system directly to a file in the tmp folder with .prog.abap extension. Automatically converts program name to Z-namespace.
Inputs: program_name (required).
GetAccessControlC
Retrieve access control (DCL) definition source code
Inputs: dcl_name (required).
GetBehaviorDefinitionC
Retrieve RAP behavior definition source code and metadata
Inputs: cds_view_name (required).
GetBehaviorForRapBoC
Retrieve interface behavior definition for RAP Business Object from RONT_NODE table
Inputs: rap_bo_name (required).
GetBopfBusinessObjectB
Retrieve BOPF/BOPF Business Object definition including nodes, properties, associations, actions, determinations, and validations
Inputs: bo_name (required), analyze.
GetCDSViewC
Retrieve CDS view source code and metadata
Inputs: view_name (required), include_annotations.
GetCDSViewContentsA
Query CDS view data with filtering, pagination, parameter support, and batch queries. Either provide view_name for a single query, or provide queries array for batch mode.
Inputs: offset, columns, queries, max_rows, +5 more.
GetClassA
Retrieve ABAP class source code. Optionally fetch local includes (definitions, implementations, macros, testclasses). Use output_format=structured for JSON output suitable for downstream compression.
Inputs: class_name (required), include_types, output_format.
GetClassCoverageC
Run unit tests for a class and retrieve test coverage results
Inputs: class_name (required), auto_activate, preaudit_requested.
GetClassIncludeC
Retrieve a specific include from an ABAP class (definitions, implementations, macros, testclasses, or main)
Inputs: class_name (required), include_type (required).
GetClassTestsC
Retrieve local test classes from a class
Inputs: class_name (required).
GetClassUsagesA
[DEPRECATED - Use GetObjectUsages instead] Retrieve usages for an ABAP class. This tool is deprecated and will be removed in a future version.
Inputs: class_name (required).
GetDataElementB
Retrieve ABAP data element definition including domain reference, field labels, and documentation
Inputs: dataelement_name (required).
GetDomainB
Retrieve ABAP domain definition including data type, length, fixed values, and conversion exit
Inputs: domain_name (required).
GetFunctionB
Retrieve ABAP Function Module source code
Inputs: function_name (required), function_group (required).
GetFunctionGroupC
Retrieve ABAP Function Group source code
Inputs: function_group (required).
GetIncludeB
Retrieve ABAP Include Source Code
Inputs: include_name (required).
GetInterfaceC
Retrieve ABAP interface source code
Inputs: interface_name (required).
GetMetadataExtensionB
Retrieve metadata extension (UI annotations) source code
Inputs: extension_name (required).
GetObjectUsagesC
Retrieve comprehensive where-used list for ABAP objects (classes, interfaces, programs, function groups, type groups). Supports filtering by object types and usage grades.
Inputs: object_name (required), group_by, max_results, object_type, +7 more.
GetPackageB
Retrieve comprehensive ABAP package information including metadata, attributes, hierarchy (super/sub-packages), transport details, application component, and package interfaces
Inputs: package_name (required).
GetPackageContentsC
Retrieve objects and contents within an ABAP package, with optional recursive sub-package exploration
Inputs: package_name (required), recursive, include_subpackages.
GetProgramB
Retrieve ABAP program source code
Inputs: program_name (required).
GetRuntimeErrorB
Retrieve detailed information about a specific runtime error dump (ST22). Returns formatted text with error analysis, call stack, variables, and source code extract.
Inputs: dump_id (required), content.
GetServiceBindingB
Retrieve RAP service binding details and configuration
Inputs: binding_name (required).
GetServiceDefinitionB
Retrieve RAP service definition source code and metadata
Inputs: service_name (required).
GetStructureC
Retrieve ABAP Structure
Inputs: structure_name (required).
GetSystemInfoA
Returns the active SAP ABAP backend connection details: system URL, SAP client number, authentication method (basic/SSO), and whether the ADT connection is reachable. Use ONLY to troubleshoot ADT connectivity or confirm which SAP backend is currently targeted. Do NOT call this as a prerequisite for reading ABAP objects, running searches, or any other ABAP operation β all other tools establish the ADT connection automatically.
Inputs: no named parameters.
GetTableB
Retrieve ABAP table structure
Inputs: table_name (required).
GetTableContentsA
Retrieve contents of an ABAP table with advanced filtering, pagination, and batch query support. Either provide table_name for a single query, or provide queries array for batch mode.
Inputs: offset, columns, queries, max_rows, +4 more.
GetTransactionC
Retrieve ABAP transaction details
Inputs: transaction_name (required).
GetTransportRequestA
Retrieve detailed transport information showing task/request hierarchy and object list. IMPORTANT: Use this FIRST when analyzing a specific transport to understand if it is a task (child) or request (parent), as version history may record changes under the parent request. Returns formatted output with hierarchy, objects, and guidance for next steps.
Inputs: transport_number (required).
GetTransportVersionsA
Helper tool that combines transport analysis and version history in one command. Given a transport number and object, automatically handles task/parent request hierarchy, finds the relevant version(s), and suggests comparison steps. This is the recommended starting point for analyzing what changed in a specific transport.
Inputs: object_name (required), object_type (required), transport_number (required).
GetTypeInfoC
Retrieve ABAP type information
Inputs: type_name (required).
GetVersionHistoryA
Retrieve version history for an ABAP object across transports. Returns formatted table with version IDs, dates, authors, and transport numbers. IMPORTANT: Transport numbers shown may be either tasks or parent requests - use GetTransportRequest to understand the hierarchy. Version "00000" = CURRENT/ACTIVE for all object types (may have earlier timestamp than transported versions but contains current code). See footer notes for complete guidance on transport hierarchy and version numbering.
Inputs: object_name (required), object_type (required).
ImportClassFromFileA
Import an ABAP class from a file in the tmp folder and create it in the SAP system. Only supports local classes (Z/Y prefix) in local packages.
Inputs: class_name (required), package, description, auto_activate, +1 more.
ListATCCheckVariantsA
List available ATC check variants on the SAP system. Returns variant names and descriptions. Use this to discover which check variants are available before running ATC checks.
Inputs: no named parameters.
ListRuntimeErrorsA
List recent ABAP runtime errors (ST22 dumps) from the system. Returns error type, program, user, timestamp, and dump ID for each entry. Use GetRuntimeError to retrieve detailed analysis of a specific dump.
Inputs: to, from, user, max_results.
ListSystemsA
List all configured SAP systems from .sap-systems.json. Shows system IDs, names, URLs, clients, authentication methods, and indicates which is the default/active system.
Inputs: no named parameters.
ListUserTransportsA
β οΈ IMPORTANT: Always use from_date parameter to ensure recent transports are visible!
List ALL transport requests for a user by querying CTS database tables (E070/E07T) directly.
β WORKS FOR BOTH MODIFIABLE AND RELEASED TRANSPORTS
This tool:
Queries CTS database tables (E070, E07T) directly
Shows ALL transports: Modifiable (D), Released (R), and others
Returns results in DESCENDING order (newest first)
Provides transport type, status, date, target system, and description
Auto-defaults to previous year if no from_date specified (prevents missing recent data)
β οΈ CRITICAL LIMITATION:
Can only fetch 500 rows per query (ADT API limit)
If result count equals limit, MORE RECENT TRANSPORTS MAY BE HIDDEN
SOLUTION: Always provide from_date parameter (e.g., "20260101" for 2026 onwards)
Tool will warn you if limit is reached
Common status values:
D: Modifiable (in development)
R: Released
L: Modifiable + Protected
O: Released + ready for import
Use this tool to find a developer's transports, both in-progress and released.
Inputs: user (required), status, from_date, max_results.
RunATCA
Run ATC (ABAP Test Cockpit) static code analysis on an ABAP object. Returns findings including errors, warnings, and informational messages with locations and check IDs.
Inputs: object_name (required), object_type (required), max_findings, check_variant, +1 more.
RunClassTestsC
Run unit tests for a class and retrieve results
Inputs: class_name (required), auto_activate, preaudit_requested.
RunPackageTestsB
Run unit tests for all test-enabled objects in a package and retrieve aggregated results
Inputs: package_name (required).
SapBrowserLoginA
Trigger browser-based SSO authentication for an SAP system. Opens Chrome for interactive login (supports any IDP: SAP IAS, ADFS, certificate, 2FA). Use this to proactively authenticate before making requests, or to re-authenticate when SSO cookies expire. Not needed for systems using Basic Auth.
Inputs: systemId.
SearchBopfBusinessObjectsA
Search for BOPF/BOBF Business Objects by name pattern in the /BOBF/OBM_BO registry table. Supports wildcard * in query and package (e.g. "SALES", "/IAM/*"). Returns name, object category, and generated flag for each match. When package is provided, also returns the package name per result.
Inputs: query (required), objcat, package, max_results.
SearchObjectC
Search for ABAP objects using quick search
Inputs: query (required), maxResults.
SearchRapBoA
Search for RAP Business Objects by description and return the best matching technical name
Inputs: search_term (required).
SetDefaultSystemA
Change the active SAP system at runtime. All subsequent operations will use this system unless explicitly overridden with the "system" parameter. Note: This change is temporary and only applies to the current session.
Inputs: system_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 65 tools
Most tools are distinct by ABAP object type and action, but several overlaps exist: GetClassCoverage vs RunClassTests both run unit tests, GetClassTests vs GetClassInclude both expose test classes, GetObjectUsages vs the deprecated GetClassUsages are redundant, and transport/version tools (GetVersionHistory, GetTransportVersions, GetTransportRequest) have intersecting purposes. Descriptions help, but boundaries are occasionally blurry.
The dominant pattern is PascalCase Verb+Object (GetProgram, CreateClass, ExportClassToFile, RunClassTests), which is predictable and readable. Minor deviations include SapBrowserLogin (starts with a noun phrase) and RunATC (verb+acronym), but the set is largely consistent.
With 65 tools, this server far exceeds the ideal 3β15 range and lands in the extreme-mismatch category (50+ tools). Even for a broad ADT integration, the volume creates significant choice overload for an agent selecting among many similar read, export, and test tools.
The surface covers a wide lifecycle: read/search objects, create/replace, activate, export/import, run tests/ATC, inspect transports, compare versions, and check syntax. Minor gaps remain around delete/update for non-class artifacts and a few specialized administrative operations, but core development workflows are well supported.
Maintenance
Related MCP Connectors
Anaplan MCP server for ChatGPT, Claude and any AI agent: list models, list actions, upload import file, run import, run process, run export, get model history and add user in your own Anaplan account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Anaplan yourself; Cotlet does not store your password and you need no Anaplan API key. About the official Anaplan API: Yes. Anaplan has an official REST API, the Integration API v2.0, and an official MCP server, the Anaplan AI Gateway, but Anaplan's help says the AI Gateway gives external AI systems read-only access (checked 5 Nov 2026). Setup and FAQ: https://cotlet.dev/integrations/anaplan-api-mcp-server
Nextcloud MCP server for ChatGPT, Claude and any AI agent: upload file, share file, create calendar event, add contact, create Deck card and search files in your own Nextcloud account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Nextcloud yourself; Cotlet does not store your password and you need no Nextcloud API key. About the official Nextcloud API: Yes. Every Nextcloud instance has WebDAV for files, CalDAV for calendars, CardDAV for contacts, an OCS Share API and a Deck API, and they accept an app password (checked 16 Oct 2026). Setup and FAQ: https://cotlet.dev/integrations/nextcloud-api-mcp-server
Connect AI assistants to your Webanto workspace to review products and copy proposals, explore SEO and imported Search Console opportunities, and search organization knowledge. Inspect workspace capabilities, connection health, usage, and supported operations. Access requires OAuth or a scoped Webanto API key and follows the authorized organization, permissions, and scopes. With separate consent for the applicable paid AI operation, create a product copy proposal and track its job for review; this workflow does not publish changes to your store. A Webanto account and the relevant connected services or uploaded knowledge are required. Paid AI operations require the applicable subscription and available credits. Authentication is required for MCP discovery; an anonymous HTTP 401 is an access challenge, not evidence of a service outage. Official connector repository: https://github.com/empline/webanto-mcp. Support: support@webanto.com.
Service Autopilot MCP server for ChatGPT, Claude and any AI agent: create job, reschedule visit, send estimate, list invoices, add client and get route in your own Service Autopilot account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Service Autopilot yourself; Cotlet does not store your password and you need no Service Autopilot API key. About the official Service Autopilot API: Service Autopilot has no public API, developer portal or self-service API keys (checked 11 Oct 2026). Data moves through a two-way QuickBooks sync, a few partners the vendor picks, a Zapier trigger that only sends completed jobs out, and manual import and export; the QuickBooks sync needs the Pro or Pro Plus plan. Setup and FAQ: https://cotlet.dev/integrations/service-autopilot-api-mcp-server
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables interaction with SAP ABAP systems through ABAP Development Tools (ADT), providing access to repository objects, source code, where-used analysis, and SQL queries with support for both on-premise and BTP systems.4-
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to access SAP ADT APIs for reading, writing, debugging, deploying, and testing ABAP code through natural language or DSL automation.541MIT
- FlicenseNot gradedqualityDmaintenanceConnects to SAP ABAP Development Tools (ADT) via MCP, enabling AI assistants to manage SAP systems through natural language.-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to perform ABAP Development Tools operations on SAP ERP (ECC and S/4HANA) systems, including source code editing, object activation, syntax checks, and ABAP unit tests.14 npmMIT