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

Abierto
#482 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
72/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript
Área
backend, devtools

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.
Lenguaje dominante
TypeScript
Estrellas
109
Forks
22
Merge medio
7 d 1 h
PR fusionados (30 d)
3

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de UI5/mcp-server

Todos los issues de UI5/mcp-server

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.