SAP Expert AI — VS Code extension
An SAP AI development agent in your IDE, powered by SAP Expert AI.
It can understand your SAP project, build it, validate it with the real SAP toolchain,
correct errors, and verify the result — from Copilot Agent mode, directly in VS Code.
The intelligence lives in the SAP Expert API; this extension bundles the SAP Expert MCP
server and adds the IDE experience.
Quick start (3 steps)
- Set your token — run
SAP Expert: Set IDE Token and paste an IDE token
(create one with SAP Expert: Open Account). It is stored securely in VS Code
SecretStorage — never in settings or files.
- Register the agent — run
SAP Expert: Register MCP Server and choose
Local — Full SAP Agent (Recommended). No clone, no path, no setup: the MCP server is
bundled in this extension and runs on your machine.
- Use it — open GitHub Copilot Chat → Agent mode and ask, e.g.
"Use SAP Expert to validate the CDS in this project" or
"Analyze this requirement and design the SAP solution: build a maintenance request app."
Run SAP Expert: Check Connection any time to see your token/account status and the
active mode.
Local vs Hosted
|
Local (Recommended) |
Hosted |
| Runs |
On your machine (bundled) |
In the cloud |
| SAP knowledge tools (search, chat, analysis, specs, tests, process maps, training) |
✅ |
✅ |
| Project tools (project context, CDS validation, generation, verification, preview, review) |
✅ |
❌ (can't read your files) |
| Setup |
None — just pick "Local" |
None |
Choose Local for the full agent. Hosted is a knowledge-only option (a cloud server
cannot read your local files, so it can't validate/verify/generate against your project).
The agent development loop
Once in Local mode, Copilot Agent can run the full loop on your actual project:
describe → design → generate CAP + Fiori → validate CDS → (compiler errors) → fix → validate CDS ✓ → verify (build/runtime/UI) → preview
sap_validate_cds gives ~1-second, compiler-backed CDS feedback (real file/line
diagnostics) for a tight correct-my-code loop; sap_verify_application runs the full
build + runtime + UI-smoke verification.
- Project Health — one click runs the architecture + clean-core review of the open CAP
project (SAP integrations, checks, open issues).
- Verify Project — packages the workspace, runs the verification worker, and opens a
Verification Report (CDS compile, Fiori build, runtime, UI smoke — with honest caveats).
These sidebar features work on your local project regardless of the chosen MCP mode.
Requirements
- VS Code 1.101+ (for the MCP server provider API).
- GitHub Copilot (Agent mode) to drive the tools conversationally. The sidebar works without it.