UI5 MCP Server only considers ui5.yaml and ui5-local.yaml

オープン
#482 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
backend, devtools

調査の方向性

Start with src/tools/get_project_info/getProjectInfo.ts, especially the configuration lookup near the linked line, and check how UI5 CLI finds project configuration files. Reproduce the issue with a project containing ui5-deploy.yaml and no ui5.yaml or ui5-local.yaml. Done when the server resolves the effective framework version and loads its API reference for that setup.

索引モデルが issue の本文から書いたものです。

説明

What is the issue and how can we reproduce it?

The UI5 MCP Server currently reads only ui5.yaml and ui5-local.yaml when determining project information, including the UI5 framework version. As a result, projects that use alternative UI5 configuration files are not handled correctly.

This behavior became visible after the changes introduced in PR #66. The current implementation appears to assume that every project provides a ui5.yaml and optionally a ui5-local.yaml containing a usable framework version.

Affected Component

https://github.com/UI5/mcp-server/blob/9ace318de7d8f519a0e2cd13a4202f22483ea0ae/src/tools/get_project_info/getProjectInfo.ts#L75

Problem Description

The implementation explicitly checks only:

  • ui5.yaml
  • ui5-local.yaml

instead of performing the standard UI5 CLI configuration lookup (e.g. using the common UI5 YAML filename pattern/lookup mechanism).

This leads to incorrect behavior in scenarios where:

  • a project uses additional or custom UI5 YAML files,
  • the effective framework version is maintained in another configuration file,
    ui5.yaml contains a snapshot version while a different configuration contains the consumable runtime version.

Expected Behavior

The MCP Server should resolve UI5 configuration files using the same lookup mechanism as UI5 CLI, rather than hardcoding ui5.yaml and ui5-local.yaml.

The framework version should be determined from the effective project configuration that would actually be used by UI5 CLI.

Steps to reproduce

  1. Create a project where no ui5.yaml and ui5-local.yaml is present
  2. Create ui5-deploy.yaml which specifies a valid OpenUI5 framework release version.
  3. Start the UI5 MCP Server.
  4. Request framework information or API references.

Observed Result: The MCP Server fails to load the API reference for the version specified in the ui5-deploy.yaml.
Expected Result: The MCP Server should resolve the effective SAPUI5 / OpenUI5 version using the standard UI5 CLI configuration lookup and load the corresponding API reference documentation.

Which UI5 MCP server version is your project targeting?

v0.3.3

Confirmation
  • I have searched the existing issues and reviewed the relevant documentation as well as the API reference.
  • I am not disclosing any internal or sensitive information.
主要言語
TypeScript
スター
109
フォーク
22
平均マージ
7日 1時間
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

UI5/mcp-server のほかの issue

UI5/mcp-server の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。