abap2UI5
by github.com/abap2UI5 · v1.2.0 · updated Nov 17, 2026
abap2UI5 dev loop for AI agents: validate views, screenshot, deploy and run apps - no SAP system
Run it locally
Install the package and point your AI client at it.
npm
npx -y @abap2ui5/[email protected]Environment variables
AI_VIEW_CHECK_HOMECheckout or install of @abap2ui5/linter (validate_view, fix_view, screenshot_view). Default: the peer npm installs beside the server. A set value is authoritative.
A2UI5_HOMEabap2UI5 framework checkout (app_guide, api_reference, pitfalls; backend when present). Default: ../abap2UI5, else the GitHub mirror and the npm runtime.
SAMPLES_CONTROLS_HOMEsamples-controls checkout (capabilities, examples, generation_rules, scope_of, UI5 for screenshots). Default: ../samples-controls, else the GitHub mirror.
SAMPLES_HOMEabap2UI5/samples checkout, one of the catalogues examples searches. Default: ../samples, else the GitHub mirror.
SAMPLES_STACK_HOMEabap2UI5/samples-stack checkout (OData, RAP, APC, launchpad samples). Default: ../samples-stack, else the GitHub mirror.
APP_TEMPLATE_HOMEabap2UI5/app-template checkout that scaffold_app serves and add_agent_setup executes. Default: ../app-template, else the GitHub mirror.
DOCS_HOMEabap2UI5/docs checkout that docs_search reads. Default: ../docs, else the GitHub mirror.
ABAP_CLOUD_GUI_HOMEabap2UI5-addons/abap-cloud-gui checkout (with npm ci done) whose report2UI5 converter migrate_report runs. Default: ../abap-cloud-gui; no mirror.
POPUPS_HOMEabap2UI5-addons/popups checkout whose popups migrate_report with deploy: true writes into the dev sandbox beside the converted class. Default: .deps/popups of the abap-cloud-gui checkout, ../popups beside it, then its build/popups.
OPENUI5_SRCOpenUI5 source checkout scope_of reads the JSDoc from (via samples-controls). Default: ../fork-openui5 next to samples-controls.
A2UI5_MCP_WORKSPACEWhere the npm backend installs, the dev sandbox lives and a framework clone lands. Default: ~/.abap2ui5-mcp.
A2UI5_MCP_BACKENDWhich backend runs the apps: npm (the @abap2ui5/node-runtime package, even beside a checkout) or clone (clone the framework). Default: decided per call.
A2UI5_MCP_RUNTIME_VERSIONPin the @abap2ui5/node-runtime release (X.Y.Z) the npm backend installs. Default: the registry's latest.
A2UI5_MCP_PORTPort of the local backend run_app boots against. Default: 3000.
A2UI5_MCP_UIWhether app_start/app_describe/app_act declare their MCP Apps screen (ui://abap2ui5/app-screen): auto (default - when the client advertises the io.modelcontextprotocol/ui extension), on, off.
A2UI5_MCP_APP_FORMATThe default answer format of the app tools: snapshot (default) or adaptive-card (the snapshot plus an Adaptive Card 1.5 as an embedded resource, for card-rendering hosts).
A2UI5_MCP_OFFLINESet to 1 for no network: no UI5 CDN fallback, no GitHub mirror, no registry lookup.
A2UI5_MCP_REMOTESet to 0 to switch off the read-only GitHub mirror used when no checkout is found.
A2UI5_MCP_REMOTE_DIRCache directory of the GitHub mirror. Default: <tmp>/abap2ui5-mcp-remote.
A2UI5_MCP_REMOTE_TTL_MSHow long a mirrored copy is used before it is refreshed, in milliseconds. Default: one day.
A2UI5_MCP_UI5_CACHE_MBHow many MB of UI5 answers from the CDN (sdk.openui5.org) run_app and interact_app keep in memory across calls, so a second boot does not download them again. 0 switches the cache off. Default: 64.
A2UI5_MCP_RENDER_PAGESPages (Chromium tabs) of validate_view's warm render gate, which concurrent calls queue on. Default: 2 (1 to 8).
A2UI5_MCP_CHROMIUMChromium binary for run_app and interact_app. Default: CHROMIUM_BIN, Playwright's managed browser, then a system chromium.
A2UI5_MCP_SCREENSHOT_DIRWhere run_app and interact_app write their PNGs (the newest 50 are kept) and build_backend its log. Default: <tmp>/abap2ui5-mcp-screenshots.
A2UI5_MCP_PREBUILT_URLWhere build_backend mode prebuilt downloads the backend from (https:; the archive is verified against the .sha256 sidecar beside it when there is one). Default: the framework's release asset.
A2UI5_MCP_PREBUILT_INSECURESet to 1 to let A2UI5_MCP_PREBUILT_URL be a plain http: mirror off the loopback. The archive is code the backend runs; https: is the default requirement.
A2UI5_MCP_LINT_WORKERSet to 0 to run every lint as a fresh abaplint process. Default: a long-lived worker keeps @abaplint/core with the framework parsed and lints a deploy in milliseconds (the CLI runs whenever the worker cannot stand in for it).
A2UI5_MCP_LINT_IDLE_MSHow long the warm lint worker (about 300 MB with the framework parsed) is kept without a request before it exits, in milliseconds; the next lint starts a fresh one. 0 keeps it for the server's life. Default: 10 minutes.
A2UI5_MCP_LINT_TIMEOUT_MSHard timeout of the abaplint run, in milliseconds. Default: 5 minutes.
A2UI5_MCP_SCOPE_TIMEOUT_MSHard timeout of scope_of, in milliseconds. Default: 5 minutes.
A2UI5_MCP_BUILD_TIMEOUT_MSHard timeout of a build, the prebuilt download and the npm install, in milliseconds. Default: 30 minutes.
A2UI5_MCP_UNIT_TIMEOUT_MSHard timeout of the ABAP Unit runner, in milliseconds. Default: 10 minutes.
A2UI5_MCP_SYSTEM_URLSwitches on the SYSTEM MODE: the app tools against this real SAP system instead of the sandbox loop. The launch URL, e.g. https://host:44300/sap/bc/z2ui5?app_start={class}&sap-client=100.
A2UI5_MCP_SYSTEM_USERSystem mode: the SAP user the app tools log on with (Basic authentication).
A2UI5_MCP_SYSTEM_PASSWORDsecretSystem mode: the password of A2UI5_MCP_SYSTEM_USER. Or A2UI5_MCP_SYSTEM_PASSWORD_CMD, to keep it out of the configuration.
A2UI5_MCP_SYSTEM_PASSWORD_CMDSystem mode: a shell command that prints the password (a keychain lookup) - instead of A2UI5_MCP_SYSTEM_PASSWORD.
A2UI5_MCP_SYSTEM_INSECURE_TLSSystem mode: set to 1 to accept a certificate that cannot be verified. NODE_EXTRA_CA_CERTS with the CA is the better fix.
GITHUB_TOKENsecretOptional token sent to api.github.com only, to raise the rate limit of the docs tree listing (GH_TOKEN is read too).
More MCP servers
Field Notes podcast library
github.com/abarto666
Which podcasts and talks a person appeared on, with summaries and chapters. AI, investing, crypto.
SpainCompanyAPI: Spanish company data
github.com/abasmartinc
Spanish company data: tax ID lookup, KYB, invoice recipient checks, directors, sanctions, tenders.
Cortex
github.com/abbacusgroup
Persistent knowledge system with OWL-RL reasoning and 22 MCP tools. Local-first.
Conviction Mcp
github.com/abcxz
The arena where AI agents compete for real returns. Prompt a strategy.
App Store Connect Mcp
github.com/abd3lraouf-studios
App Store Connect + StoreKit 2: 1,293 Apple operations behind 11 tools, writes confirmed.
GPUvec
github.com/abdelkareemkobo
Compare GPU specs and cloud rental offers, check CUDA support, and estimate Qdrant resources.