UI5

io.github.UI5由 GitHub 账号 UI5 发布v0.3.2更新于 Oct 24, 2026

MCP server for SAPUI5/OpenUI5 development

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

面向 SAPUI5/OpenUI5 开发的本地 MCP 服务器,可生成应用与卡片、获取 API 文档和规范,并对 UI5 项目做 lint 与校验。

可以做什么
按模板生成新的 UI5 应用和 UI Integration Card,并读取项目元数据与配置。获取 UI5 API 参考文档、框架版本信息以及开发最佳实践,包括 Integration Cards 和 JavaScript 转 TypeScript 的指南。依据 UI5 Manifest 架构校验项目清单,并调用 UI5 linter 分析并报告代码问题。
适用场景
适合在助手协助构建或维护 UI5/OpenUI5 应用时使用:新建项目、查询 API 细节与编码规范,或排查 UI5 特有的错误和清单问题。
运行要求
以 stdio 在本地运行,通常通过 npx 从 npm 包启动。需要 Node.js v20.17.0 或 v22.9.0 及以上版本、npm v8.0.0 及以上版本,以及兼容 MCP 的客户端。获取资源需访问 UI5 CDN;可选环境变量用于配置数据目录、日志级别、允许的域名和响应格式。
安装前请注意
允许域名默认仅为 localhost 和 services.odata.org;将 UI5_MCP_SERVER_ALLOWED_DOMAINS 设为空字符串会允许任意域名,建议保持限制。相关工具会在项目中生成文件并执行 lint 和校验,请检查生成或修改的内容。缓存数据会写入 UI5_DATA_DIR 指定的目录。

安装

在 SourceWeft 中

  1. 打开 控制台中的 UI5,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

UI5 MCP Server

A Model Context Protocol server for UI5 application development.

[OpenUI5 Community Slack (#tooling channel)] [Contributor Covenant] [REUSE status] [npm Package Version] [Coverage Status]

Description

The UI5 Model Context Protocol server offers tools to improve the developer experience when working with agentic AI tools.

Key Features

  • Helps with the creation of new UI5 projects when working with agentic AI tools
  • Supports the developer to detect and fix UI5-specific errors in the code
  • Provides additional UI5-specific information for agentic AI tools

[!TIP] Make sure to also check out our announcement blog post in the SAP Community!

Available Tools

  • 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.

Requirements

  • Node.js Version v20.17.0, v22.9.0 or higher
  • npm Version v8.0.0 or higher
  • An MCP client, such as VS Code (GitHub Copilot), Cline, Claude Code, Codex, or any other MCP-compatible client

Setup

Standard Configuration for Most Clients

This configuration works for most MCP clients:

json
{    "mcpServers": {        "@ui5/mcp-server": {            "type": "stdio",            "command": "npx",            "args": [                "-y",                "@ui5/mcp-server"            ]        }    }}
Special configuration for native Windows On native Windows (not WSL), you might need to prefix npx with `cmd /c`:
json
{    "mcpServers": {        "@ui5/mcp-server": {            "type": "stdio",            "command": "cmd",            "args": [                "/c",                "npx -y @ui5/mcp-server"            ]        }    }}

Specific MCP Clients

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.

VS Code

Preferred: Install from the GitHub MCP server registry

Alternatively you can use the VS Code CLI:

bash
# Using VS Code CLIcode --add-mcp '{"name":"@ui5/mcp-server","type": "stdio","command":"npx","args":["-y", "@ui5/mcp-server"]}'
Cline
  1. Open the Cline panel in VSCode.
  2. Click on the "MCP Servers" icon at the top, next to the "plus" symbol
  3. Change to the "Configure" tab, then click "Configure MCP servers"
  4. In the editor that opens, insert the above Standard Configuration for Most Clients

See docs.cline.bot/mcp/adding-and-configuring-servers for details.

Claude Code
bash
claude mcp add --transport stdio --scope user ui5-mcp-server -- npx -y @ui5/mcp-server
Codex
codex mcp add --transport stdio ui5-mcp-server -- npx -y @ui5/mcp-server

Adding Rules to your Project

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.

markdown
## 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.

Configuration

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:
    • Default Value: localhost, services.odata.org
    • Description: A 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.com but not example.com.
  • UI5_MCP_SERVER_RESPONSE_NO_STRUCTURED_CONTENT:
    • Description: Set to any value to disable structured content in the MCP server responses.
  • UI5_MCP_SERVER_RESPONSE_NO_RESOURCES:
  • UI5_MCP_SERVER_CDN_URL:
    • Default Value: https://sdk.openui5.org for OpenUI5 and https://ui5.sap.com for SAPUI5
    • Description: Override the base URL used for fetching UI5 resources from the CDN. For example: https://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:
    • Default Value: info
    • Description: Internal log level: silent, error, warn, info, perf, verbose, silly
  • UI5_DATA_DIR:
    • Default Value: The .ui5 directory in the user's home directory
    • Description: Directory where the MCP server stores its data, such as cached API references.

Support, Feedback, Contributing

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.

Security / Disclosure

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.

Code of Conduct

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.

Licensing

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.

来源:README.md,提交 a81fae1

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

4
  1. v0.3.2最新Oct 6, 2026
  2. v0.3.1Sep 25, 2026
  3. v0.3.0Sep 22, 2026
  4. v0.2.20Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分