Labsco
YahorNovik logo

ADT MCP Server

β˜… 2

from YahorNovik

An MCP server for ABAP Development Tools (ADT) that exposes various ABAP repository-read tools over a standardized interface.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeAdvanced setup

ADT MCP Server

This repository provides a Model Context Protocol (MCP) server for ABAP Development Tools (ADT), exposing various ABAP repository-read tools (program, class, function, include, interface, structure, table, where-used, etc.) over a standardized MCP interface.

πŸ†• Now includes SAP BTP (Business Technology Platform) support with JWT authentication and service key utilities!

πŸ“š Quick Start: See QUICK_START.md for immediate setup instructions.

πŸ”Œ Client Connections: See MCP_CLIENT_CONNECTIONS.md for connecting to Cline, Claude Desktop, and other MCP clients.

πŸ“– Documentation: Complete documentation is available in the doc/ folder.


πŸš€ BTP Integration

This server now includes comprehensive SAP BTP support with:

  • JWT Token Authentication for BTP ABAP systems
  • Service Key Parsing and analysis
  • Automatic .env Generation from BTP service keys
  • CLI Utility for easy configuration management

Quick BTP Setup

  1. Download your service key from BTP cockpit
  2. Generate .env file using the CLI utility:
    python btp_env_generator.py --service-key service-key.json --username your-user@company.com --prompt-password
  3. Use the generated .env file in your project

For complete BTP integration details, see BTP_INTEGRATION_GUIDE.md.

Available Tools

ABAP Repository Tools

  • get_program_source_mcp – Retrieve ABAP program source
  • get_class_source_mcp – Retrieve ABAP class source
  • get_function_group_source_mcp – Retrieve function group source
  • get_function_source_mcp – Retrieve function module source
  • get_include_source_mcp – Retrieve include source
  • get_interface_source_mcp – Retrieve interface source
  • get_structure_source_mcp – Retrieve structure definition
  • get_table_source_mcp – Retrieve table definition
  • get_table_contents_mcp – Fetch table data (max rows default 100)
  • get_package_structure_mcp – Retrieve package metadata
  • get_type_info_mcp – Retrieve type information
  • get_transaction_properties_mcp – Retrieve transaction properties
  • get_search_objects_mcp – Quick search for repository objects
  • get_usage_references_mcp – Retrieve where‑used references for any object
  • get_cds_source_mcp – Retrieve CDS view source
  • get_metadata_extension_source_mcp – Retrieve metadata extension source
  • get_sql_query_mcp – Execute freestyle SQL queries
  • get_enhancements_mcp – Discover enhancement implementations

πŸ†• BTP Tools

  • generate_env_from_service_key_file_mcp – Generate .env from service key file
  • generate_env_from_service_key_json_mcp – Generate .env from service key JSON
  • parse_btp_service_key_mcp – Parse and analyze service keys
  • get_btp_connection_status_mcp – Check current BTP configuration