ABAP_CHECK_MCP
by leocaogit
Overview
Provides ABAP REPORT program syntax checking capabilities for IDEs by connecting to SAP ERP systems via RFC.
Installation
python -m src.main --config config.jsonEnvironment Variables
- SAP_HOST
- SAP_SYSNR
- SAP_CLIENT
- SAP_USER
- SAP_PASSWORD
Security Notes
The Python server itself has good security practices (e.g., sensitive data filtering in logs) and no direct 'eval' or malicious patterns. The primary security risk lies with the required SAP backend setup. The deployed ABAP function module `Z_CHECK_ABAP_SYNTAX` dynamically creates and deletes temporary ABAP programs (`INSERT REPORT`, `SYNTAX-CHECK FOR`, `DELETE REPORT`) on the SAP system based on user-provided ABAP code. This requires granting the RFC user highly privileged SAP authorizations (`S_PROGRAM` for create/delete programs). While these temporary programs are intended for syntax checking and are deleted, allowing arbitrary code to be inserted and processed, even temporarily, presents a significant attack surface if the input ABAP code is not from a trusted source or if the SAP system's handling of `INSERT REPORT` or `SYNTAX-CHECK` could be exploited. The Python server does not perform content-based sanitization of the ABAP code before sending it to SAP.
Similar Servers
cclsp
MCP server to integrate LLM-based coding agents with Language Server Protocol (LSP) servers for robust symbol resolution and code navigation.
mcp-server
A Model Context Protocol (MCP) server for AI-assisted development of SAP Cloud Application Programming Model (CAP) applications, providing tools for searching CDS model definitions and CAP documentation.
cap-mcp-plugin
Integrate SAP CAP services with AI agents using the Model Context Protocol (MCP) by automatically generating MCP servers from annotated CAP services, enabling AI-native data access, intelligent automation, and business intelligence.
language-server-mcp
Provides language support features like hover information, code completion, and diagnostics for code editing through the Model Context Protocol (MCP).