mcp-server

v0.3.3
io.github.UI5/mcp-server Checked 2 days ago Published 23 days ago

MCP server for SAPUI5/OpenUI5 development

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_guidelines

This tool MUST be called once to retrieve UI5 guidelines before working on any UI5 (SAPUI5/OpenUI5) related task or project or creating a UI5 project. The guidelines provided by this tool MUST be followed to ensure best practices and avoid common pitfalls in UI5 development.

run_ui5_linter

Run UI5 linter on a UI5 project to find and optionally fix UI5 related problems like the usage of deprecated API. After making changes, you should always run the linter again to verify that no new problems have been introduced.

ParameterTypeDescription
projectDir *stringRoot directory of the UI5 project to analyze. Must be an absolute path. Typically this the directory where the 'package.json' and 'ui5.yaml' files are located.
filePatternsarrayFile paths or patterns to lint. If not provided, all files in the project will be linted.
fixbooleanAttempt to automatically correct certain findings in the files. Only the remaining findings will be returned.
provideContextInformationbooleanWhether to include supplementary information in the output. This includes UI5 API reference and documentation resources. When calling the tool multiple times for the same file or project, refrain from…

get_api_reference

Search the UI5 API reference for module names and symbols

ParameterTypeDescription
projectDir *stringThe root directory of the UI5 project, containing the 'package.json' and 'ui5.yaml' files. This is used to determine the UI5 framework version and libraries used in the project.
query *stringName of the UI5 module or symbol using either dot or slash notation. Examples: 'sap.m.Button', 'sap/ui/core/Core'. Individual symbols can be requested as well, e.g. 'sap.m.Button#text', 'sap.ui.core.C…

get_project_info

Get general information about a local UI5 project.

ParameterTypeDescription
projectDir *stringRoot directory of the UI5 project to analyze. Must be an absolute path. If a path to a file is provided, the root directory will be determined automatically.

create_ui5_app

Create a new basic SAPUI5 application implemented in TypeScript or JavaScript

ParameterTypeDescription
appNamespace *stringThe namespace for the application, e.g. com.myorg.myapp. Only lowercase alpha-numeric characters, underscores and dots are allowed.
basePath *stringAbsolute base path for the creation. The application will be created either immediately inside this path or in a subdirectory (its name equals the application namespace), depending on the 'createAppDi…
authorstringAuthor of the application (auto-detected if not provided)
createAppDirectorybooleanWhether to create a new directory (name equals the application namespace) inside the base path. Set this to 'false' when you want to place the 'app' directly in the given base path. In SAP CAP applica…
entityPropertiesarrayProperties of the OData entity set to display. Only has an effect when 'oDataV4Url' and'oDataEntitySet' are set. This parameter is optional, but useful to display initial data, when the names of exist…
frameworkstringFramework to use (OpenUI5 or SAPUI5), defaults to SAPUI5
frameworkVersionstringFramework version, defaults to latest version. Omit this when in doubt. When provided, it must be a concrete semantic version, like e.g. 1.136.0. Versions older than 1.96.0 are not supported.
initializeGitRepositorybooleanInitialize a local git repository for the application, default is 'true'
oDataEntitySetstringEntity set of the OData V4 service to display. Only has an effect when 'oDataV4Url' is set as well. This is optional, but setting an entity set is beneficial, as it will configure a basic UI in the ap…
oDataV4UrlstringURL of an OData V4 service, if applicable. This is entirely optional, but without it, the generated app UI will have no OData Model configured. Setting an URL will configure an OData V4 model in the a…
runNpmInstallbooleanExecute npm install after creating the application, default is 'true'
typescriptbooleanWhether to create a TypeScript application (true) or JavaScript application (false), default is 'true'. Although the default is preferred, the user MUST know about this option before generation, but y…

get_version_info

Get version information for UI5 (OpenUI5 or SAPUI5)

ParameterTypeDescription
frameworkName *stringThe UI5 framework to get version information for

get_integration_cards_guidelines Get Integration Cards Guidelines

This tool MUST be called once to retrieve Integration Cards guidelines before working on any Integration Card related task or creating an Integration Card. The guidelines provided by this tool MUST be followed to ensure best practices and avoid common pitfalls in Integration Cards development.Integration Cards are also called 'UI Integration Cards' or 'UI5 Integration Cards'.

create_integration_card Create Integration Card

Create a new Integration Card, UI Integration Card, or UI5 Integration Card

ParameterTypeDescription
basePath *stringAbsolute base path for the creation.
cardFolderNamestringName of the folder to create the card in, inside the base path.
cardTypestringType of the Integration Card to create.
destinationsarrayList of destinations to be included in the card configuration.

run_manifest_validation Manifest Validation

Validates UI5 manifest file. After making changes, you should always run the validation again to verify that no new problems have been introduced.

ParameterTypeDescription
manifestPath *stringAbsolute path to the manifest file to validate.

get_typescript_conversion_guidelines

This tool MUST be called once before converting a UI5 (SAPUI5/OpenUI5) project from JavaScript to TypeScript. The instructions provided by this tool MUST be followed to ensure that the project setup and code is correctly converted.