ABAP MCP
A VS Code extension that automatically deploys ABAP MCP server configuration, GitHub Copilot agents, and skills for enhanced ABAP development with AI assistance.
Features
✨ Automatic Workspace Setup
- Auto-deploy on folder open: Automatically deploys MCP configuration and files when you open any workspace folder
- Zero configuration: No manual commands needed - works out of the box
- Per-workspace MCP config: Each workspace gets its own local
.vscode/mcp.json configuration
- Version-aware: Only updates files when a newer version is available
- Automatic path updates: MCP executable path is updated automatically when the extension is updated or moved
📁 What Gets Automatically Deployed
To Each Workspace:
.vscode/mcp.json - Local MCP server configuration with SAP connection parameters
AGENTS.md - Index of available Copilot agents
.github/agents/ - 11 specialized agent definition files
.github/skills/ - 11+ skill folders with comprehensive ABAP development skills
🚀 Available Agents & Skills
- 11+ specialized ABAP agents: RAP, AMDP, Modernization, ABAP Unit, CDS Creation, Service Definition, and more
- 11+ SAP operation skills: Object creation, where-used search, data preview, Clean ABAP guidelines, performance optimization, and more
Requirements
- Windows OS: This extension only works on Windows (MCP server is a Windows executable)
- VS Code 1.85.0 or higher
- GitHub Copilot: Required for agent and skill functionality
- SAP System Access: MCP server requires SAP ABAP system credentials
Quick Start
Install the extension:
code --install-extension abap-mcp-1.0.0.vsix
Open any workspace folder - Files are deployed automatically!
Configure SAP credentials in .vscode/mcp.json:
{
"servers": {
"abap-mcp": {
"type": "stdio",
"command": "C:\\Users\\...\\sap-abap-adt-tool-custom.exe",
"env": {
"SAP_URL": "https://your-sap-system:44300",
"SAP_USERNAME": "your_username",
"SAP_PASSWORD": "your_password",
"SAP_CLIENT": "100",
"SAP_LANGUAGE": "en"
}
}
}
}
Reload VS Code to activate the MCP server
Start using Copilot with ABAP-specific agents and skills!
Manual Deployment
If you need to force a re-deployment or update files manually:
- Press
Ctrl+Shift+P
- Type: ABAP MCP: Deploy/Update Workspace Files
- Select workspace folder (if multiple)
- Files will be deployed/updated
This is useful when:
- Auto-deployment didn't work
- You want to force an update
- You manually deleted files and want to restore them
Configuration
The extension automatically creates .vscode/mcp.json in your workspace with a template configuration.
SAP Connection Parameters
Required Parameters:
SAP_URL: Your SAP system URL (format: https://hostname:port)
SAP_USERNAME: Your SAP username
SAP_PASSWORD: Your SAP password
SAP_CLIENT: SAP client number (e.g., "100")
SAP_LANGUAGE: Language code (default: "en")
Optional Parameters:
TLS_REJECT_UNAUTHORIZED: Set to "0" if using self-signed certificates (default: "0")
HTTP_PROXY: HTTP proxy URL (format: http://username:password@proxy:port)
HTTPS_PROXY: HTTPS proxy URL
Security Notes
⚠️ Important: Storing passwords in mcp.json is not secure for production use. Consider:
- Using environment variables
- Restricting file permissions on
.vscode/mcp.json
- Adding
.vscode/mcp.json to .gitignore
- Using SAP's secure credential store
- Future versions may support more secure credential management
Commands
Access commands via Command Palette (Ctrl+Shift+P):
- ABAP MCP: Configure MCP Server - Manually configure or reconfigure the MCP server for current workspace
- ABAP MCP: Install Workspace Files - Force reinstall agents/skills in all open workspaces
- ABAP MCP: Remove MCP Server Configuration - Remove MCP server from current workspace settings
Available Agents
After installation, you'll have access to these specialized agents:
- SAP-Research - Clean Core compliance and cloud readiness validation
- ABAP-Modernization - Legacy code modernization
- ABAP-Unit - Unit testing specialist
- RAP-Analysis - End-to-end RAP application development
- CDS Creation - CDS view entity specialist
- BDEF Creation - Behavior definition specialist
- Behavior Implementation - RAP handler/saver classes with EML
- Metadata Extension - Fiori UI annotations specialist
- DCL Security - Access control specialist
- Service Definition - OData service exposure
- amdp - AMDP and SQLScript specialist
Available Skills
Skills are automatically triggered based on keywords:
- get-object-info - Retrieve ABAP object source code
- search-object - Find ABAP objects by name/pattern
- where-used-search - Dependency analysis
- create-ai-object - Create new ABAP objects
- change-ai-object - Modify existing objects
- activate-object - Activate and syntax check
- get-atc-results - Code quality and compliance checks
- get-released-api - Find cloud-ready API alternatives
- data-preview - Execute SELECT queries
- sap-help-search - Search SAP Help Portal
- sap-community-search - Search SAP Community
How It Works
First Workspace Open
- Extension activates on VS Code startup
- Detects workspace folders
- For each workspace:
- Creates
.vscode/settings.json with MCP server configuration
- Copies
AGENTS.md and .github/ folder to workspace root
- Prompts you to configure SAP credentials
Subsequent Workspace Opens
- Extension checks version in
.github/.sap-adt-version.json
- If workspace version is older than extension version, updates files
- If versions match, skips deployment (no duplicate installation)
Extension Updates
- MCP server path is automatically updated to new extension location
- Workspace files are updated when you open a workspace with older versions
Troubleshooting
MCP Server Not Working
- Check global settings:
Ctrl+Shift+P → "Preferences: Open User Settings (JSON)"
- Verify
github.copilot.chat.mcp.servers.sap-abap-adt-tool-custom exists
- Verify the
command path points to the .exe file in your extension directory
- Check SAP credentials are correct
- Reload VS Code:
Ctrl+Shift+P → "Developer: Reload Window"
Workspace Files Not Installing
- Check workspace folder is writable
- Run manual command: "ABAP MCP: Install Workspace Files"
- Check Output panel for errors:
View → Output → ABAP MCP
- This extension only works on Windows
- Mac/Linux users will see an error message on activation
Version History
1.0.0
- Initial release
- MCP server auto-configuration
- Workspace file deployment with version tracking
- 11 specialized agents
- 11 ABAP development skills
Credits & Acknowledgments
This extension builds upon the excellent work of the following open-source projects:
MCP Server Implementation
See THIRD_PARTY_LICENSES.md for complete license details.
License
MIT License - see LICENSE file for details.
Copyright (c) 2026 HariePrasad
Support
For issues and feature requests, please open an issue on the GitHub repository.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Note: This extension requires GitHub Copilot subscription and access to an SAP ABAP system.