Install guide · Cursor
Install abap2UI5 for Cursor
Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "mcpServers": { "abap2ui5-mcp-server": { "command": "npx", "args": [ "-y", "@abap2ui5/mcp-server@1.5.0" ], "env": { "AI_VIEW_CHECK_HOME": "", "A2UI5_HOME": "", "SAMPLES_CONTROLS_HOME": "", "SAMPLES_HOME": "", "SAMPLES_STACK_HOME": "", "APP_TEMPLATE_HOME": "", "DOCS_HOME": "", "ADDONS_HOME": "", "ABAP_CLOUD_GUI_HOME": "", "POPUPS_HOME": "", "OPENUI5_SRC": "", "A2UI5_MCP_WORKSPACE": "", "A2UI5_MCP_BACKEND": "", "A2UI5_MCP_RUNTIME_VERSION": "", "A2UI5_MCP_PROJECT_DIR": "", "A2UI5_MCP_PORT": "", "A2UI5_MCP_UI": "", "A2UI5_MCP_APP_FORMAT": "", "A2UI5_MCP_OFFLINE": "", "A2UI5_MCP_REMOTE": "", "A2UI5_MCP_REMOTE_DIR": "", "A2UI5_MCP_REMOTE_TTL_MS": "", "A2UI5_MCP_UI5_CACHE_MB": "", "A2UI5_MCP_BSP_DIRS": "", "A2UI5_MCP_RENDER_PAGES": "", "A2UI5_MCP_CHROMIUM": "", "A2UI5_MCP_SCREENSHOT_DIR": "", "A2UI5_MCP_PREBUILT_URL": "", "A2UI5_MCP_PREBUILT_INSECURE": "", "A2UI5_MCP_LINT_WORKER": "", "A2UI5_MCP_LINT_IDLE_MS": "", "A2UI5_MCP_LINT_TIMEOUT_MS": "", "A2UI5_MCP_SCOPE_TIMEOUT_MS": "", "A2UI5_MCP_BUILD_TIMEOUT_MS": "", "A2UI5_MCP_UNIT_TIMEOUT_MS": "", "A2UI5_MCP_SYSTEM_URL": "", "A2UI5_MCP_SYSTEM_USER": "", "A2UI5_MCP_SYSTEM_PASSWORD": "YOUR_A2UI5_MCP_SYSTEM_PASSWORD", "A2UI5_MCP_SYSTEM_PASSWORD_CMD": "", "A2UI5_MCP_SYSTEM_INSECURE_TLS": "", "A2UI5_MCP_SYSTEM_CERT_SHA256": "", "A2UI5_MCP_SYSTEM_WRITE": "", "A2UI5_MCP_SYSTEM_WRITE_ALLOW": "", "GITHUB_TOKEN": "YOUR_GITHUB_TOKEN" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | ~/.cursor/mcp.json |
| Windows | %USERPROFILE%\.cursor\mcp.json |
| Linux | ~/.cursor/mcp.json |