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 分