
UI5
STDIOModel Context Protocol server for UI5 development with project scaffolding and code analysis
Model Context Protocol server for UI5 development with project scaffolding and code analysis
A Model Context Protocol server for UI5 development.
The UI5 Model Context Protocol server offers tools to improve the developer experience when working with agentic AI tools.
[!TIP] Make sure to also check out our announcement blog post in the SAP Community!
create_ui5_app
: Scaffolds a new UI5 application based on a set of templates.get_api_reference
: Fetches and formats UI5 API documentation.get_guidelines
: Provides access to UI5 development best practices.get_project_info
: Extracts metadata and configuration from a UI5 project.get_version_info
: Retrieves version information for the UI5 framework.run_ui5_linter
: Integrates with @ui5/linter
to analyze and report issues in UI5 code.This configuration works in most tools:
{ "mcpServers": { "@ui5/mcp-server": { "type": "stdio", "command": "npx", "args": [ "@ui5/mcp-server" ] } } }
The UI5 MCP server can be configured using the following environment variables. It does not accept any command-line arguments.
UI5_MCP_SERVER_ALLOWED_ODATA_DOMAINS
:
localhost, services.odata.org
oDataV4Url
parameter of the create_ui5_app
tool, for example: localhost, example.com, sub.example.com
. Set to an empty string to allow any domains..example.com
. This will match www.example.com
but not example.com
.UI5_MCP_SERVER_RESPONSE_NO_STRUCTURED_CONTENT
:
UI5_MCP_SERVER_RESPONSE_NO_RESOURCES
:
UI5_LOG_LVL
:
info
silent
, error
, warn
, info
, perf
, verbose
, silly
UI5_DATA_DIR
:
.ui5
directory in the user's home directoryExample Configuration:
{ "mcpServers": { "@ui5/mcp-server": { "type": "stdio", "command": "npx", "args": [ "@ui5/mcp-server" ], "env": { "UI5_MCP_SERVER_ALLOWED_ODATA_DOMAINS": "localhost, services.odata.org", "UI5_LOG_LVL": "verbose", "UI5_DATA_DIR": "/path/to/custom/data/dir" } } } }
Follow the MCP installation guide using the above configuration.
Or use the VS Code CLI:
# Using VS Code CLI code --add-mcp '{"name":"@ui5/mcp-server","type": "stdio","command":"npx","args":["@ui5/mcp-server"]}'
The following rules help guide the LLM to use the server correctly:
## Guidelines for UI5 Use the `get_guidelines` tool of the UI5 MCP server to retrieve the latest coding standards and best practices for UI5 development.
Add these rules to your existing global or project-specific AGENTS.md
(specifics may vary based on respective MCP client).
This project is open to feature requests/suggestions, bug reports etc. via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines.
You can also chat with us in the #tooling
channel of the OpenUI5 Community Slack. For public Q&A, use the ui5-tooling
tag on Stack Overflow.
If you find any bug that may be a security problem, please follow our instructions at in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.
Copyright 2025 SAP SE or an SAP affiliate company and UI5 MCP server contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.