mcp-server
v0.3.3MCP 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.
| Parameter | Type | Description |
|---|---|---|
projectDir * | string | Root 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. |
filePatterns | array | File paths or patterns to lint. If not provided, all files in the project will be linted. |
fix | boolean | Attempt to automatically correct certain findings in the files. Only the remaining findings will be returned. |
provideContextInformation | boolean | Whether 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
| Parameter | Type | Description |
|---|---|---|
projectDir * | string | The 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 * | string | Name 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.
| Parameter | Type | Description |
|---|---|---|
projectDir * | string | Root 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
| Parameter | Type | Description |
|---|---|---|
appNamespace * | string | The namespace for the application, e.g. com.myorg.myapp. Only lowercase alpha-numeric characters, underscores and dots are allowed. |
basePath * | string | Absolute 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… |
author | string | Author of the application (auto-detected if not provided) |
createAppDirectory | boolean | Whether 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… |
entityProperties | array | Properties 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… |
framework | string | Framework to use (OpenUI5 or SAPUI5), defaults to SAPUI5 |
frameworkVersion | string | Framework 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. |
initializeGitRepository | boolean | Initialize a local git repository for the application, default is 'true' |
oDataEntitySet | string | Entity 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… |
oDataV4Url | string | URL 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… |
runNpmInstall | boolean | Execute npm install after creating the application, default is 'true' |
typescript | boolean | Whether 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)
| Parameter | Type | Description |
|---|---|---|
frameworkName * | string | The 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
| Parameter | Type | Description |
|---|---|---|
basePath * | string | Absolute base path for the creation. |
cardFolderName | string | Name of the folder to create the card in, inside the base path. |
cardType | string | Type of the Integration Card to create. |
destinations | array | List 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.
| Parameter | Type | Description |
|---|---|---|
manifestPath * | string | Absolute 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.