abap-adt-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SAP_URL | Yes | The SAP system URL, e.g., https://host:44300 | |
| SAP_USER | Yes | SAP username | |
| SAP_CLIENT | No | SAP client, e.g., 100 | |
| SAP_LANGUAGE | No | Login language | EN |
| SAP_PASSWORD | Yes | SAP password | |
| ABAP_MCP_READONLY | No | When true, write tools are not registered | false |
| ABAP_MCP_AUDIT_LOG | No | Path to audit log file for write operations | (disabled) |
| ABAP_MCP_SYSTEM_ROLE | No | dev/qa/prod; prod forces read-only | dev |
| ABAP_MCP_ALLOWED_PREFIXES | No | Allowed object name prefixes for write operations | Z,Y,$ |
| ABAP_MCP_MAX_SOURCE_LINES | No | Maximum lines returned by read_source | 5000 |
| ABAP_MCP_ALLOW_SELF_SIGNED | No | Allow self-signed certificates (internal dev only) | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| ping_systemA | 測試與 SAP 系統的 ADT 連線是否正常,回傳系統 URL、登入帳號與目前的安全模式。連線異常時會回傳診斷建議。建議在開始任何工作前先呼叫一次。 |
| search_objectsA | 以名稱(支援 * 萬用字元)搜尋 ABAP 物件,例如 'ZCL_INVOICE*'。回傳物件名稱、類型、package 與 ADT URI(後續工具皆以此 URI 操作)。 |
| browse_packageB | 列出指定 package(開發類別)內的所有物件,例如 ZFI_TOOLS 或 $TMP。 |
| get_object_structureA | 取得 ABAP 物件的結構資訊(class 的 methods/includes、program 的組成等)與 source URI。 |
| read_sourceA | 讀取 ABAP 物件的原始碼。可傳入物件 URI(自動解析 main include)或完整 source URI。回傳內容含行號,超過上限時會截斷並標註。 |
| syntax_checkA | 對指定的原始碼內容執行 ABAP 語法檢查(不需要鎖定、不會修改系統)。可用來在寫入前先驗證修改後的程式碼。 |
| list_transportsA | 列出使用者可用的(modifiable)workbench transport requests,供 write_source 指定使用。 |
| write_sourceA | 修改 ABAP 物件的原始碼。內部自動完成:讀取現況 → 並行檢查 → 鎖定 → 寫入 → 解鎖,失敗時保證釋放鎖定。建議流程:先 read_source 取得現況,修改後將舊內容放入 expected_current_source 以啟用並行保護,再呼叫本工具。預設會先做語法檢查,有語法錯誤時不寫入。 |
| activate_objectC | 啟用(activate)指定的 ABAP 物件,回傳啟用結果與錯誤訊息(若有)。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Leonkhchen/abap-adt-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server