Brings SAPUI5 and OpenUI5 development tools to your AI agent through ten focused operations. You get scaffolding for new apps and integration cards, API reference lookups, manifest validation, and integration with the UI5 linter for catching framework-specific issues. The server pulls from official UI5 documentation and best practices, including TypeScript conversion guidelines. Reach for this when you're building enterprise UI5 applications and want your agent to understand the framework's conventions, validate configurations against schemas, and generate boilerplate that follows SAP's patterns. The allowed domains configuration keeps external service calls under control, and responses can be simplified for clients that don't support structured content.
A Model Context Protocol server for UI5 application 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_integration_card: Scaffolds a new UI Integration Card.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_integration_cards_guidelines: Provides access to UI Integration Cards development best practices.get_project_info: Extracts metadata and configuration from a UI5 project.get_typescript_conversion_guidelines: Provides guidelines for converting UI5 applications and controls from JavaScript to TypeScript.get_version_info: Retrieves version information for the UI5 framework.run_manifest_validation: Validates the manifest against the UI5 Manifest schema.run_ui5_linter: Integrates with @ui5/linter to analyze and report issues in the UI5 code.This configuration works for most MCP clients:
{
"mcpServers": {
"@ui5/mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ui5/mcp-server"
]
}
}
}
{
"mcpServers": {
"@ui5/mcp-server": {
"type": "stdio",
"command": "cmd",
"args": [
"/c",
"npx -y @ui5/mcp-server"
]
}
}
}
Besides the general configuration outlined above, some MCP clients offer shortcuts for installing MCP servers. Below are instructions for some popular clients, but you can also refer to your specific client's documentation for more details.
Preferred: Install from the GitHub MCP server registry
Alternatively you can use the VS Code CLI:
# Using VS Code CLI
code --add-mcp '{"name":"@ui5/mcp-server","type": "stdio","command":"npx","args":["-y", "@ui5/mcp-server"]}'
See docs.cline.bot/mcp/adding-and-configuring-servers for details.
claude mcp add --transport stdio --scope user ui5-mcp-server -- npx -y @ui5/mcp-server
codex mcp add --transport stdio ui5-mcp-server -- npx -y @ui5/mcp-server
The following rules guide large language models (LLMs) in using the UI5 MCP server correctly. Add these rules to your existing global or project-specific AGENTS.md file. The exact location may vary depending on the MCP client. For example, Claude Code uses a CLAUDE.md file instead of AGENTS.md.
## 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.
The UI5 MCP server can be configured using the following environment variables. It does not accept any command-line arguments.
Configuration Options:
UI5_MCP_SERVER_ALLOWED_DOMAINS:
localhost, services.odata.orglocalhost, example.com, sub.example.com. Set to an empty string to allow any domains.
For wildcard subdomains, prefix the domain with a dot: .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_MCP_SERVER_CDN_URL:
https://sdk.openui5.org for OpenUI5 and https://ui5.sap.com for SAPUI5https://example.com. When set, this URL is used for both OpenUI5 and SAPUI5 resources. The value must be a valid URL. Note that the project's version will appended to the URL automatically. This means that at runtime, the URL might look like this: https://example.com/1.120.0/resources/[...].UI5_LOG_LVL:
infosilent, error, warn, info, perf, verbose, sillyUI5_DATA_DIR:
.ui5 directory in the user's home directoryThis 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 2026 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.
UI5_MCP_SERVER_ALLOWED_DOMAINSdefault: localhost, services.odata.orgA comma-separated list of domains that are allowed to be used in various tools, for example: 'localhost, example.com, sub.example.com'. Set to an empty string to allow any domains. For wildcard subdomains, prefix the domain with a dot: '.example.com'. This will match 'www.example
UI5_MCP_SERVER_RESPONSE_NO_STRUCTURED_CONTENTSet to any value to disable structured content in the MCP server responses.
UI5_MCP_SERVER_RESPONSE_NO_RESOURCESSet to any value to disable resources in the MCP server responses, see https://modelcontextprotocol.io/specification/2025-06-18/server/resource. This is useful for clients that do not support resources, see https://modelcontextprotocol.io/clients, such as Cursor or the Gemini CLI
UI5_LOG_LVLdefault: infoInternal log level (https://ui5.github.io/cli/stable/pages/Troubleshooting/#changing-the-log-level): 'silent', 'error', 'warn', 'info', 'perf', 'verbose' or 'silly'
UI5_DATA_DIRDirectory where the MCP server stores its data, such as cached API references. Defaults to the '.ui5' directory in the user's home directory.