Mdk MCP Server

Model Context Protocol (MCP) server for AI-assisted development of MDK applications.

Local serverstdioGo

What is the Mdk MCP Server?

Model Context Protocol (MCP) server for AI-assisted development of MDK applications.

The short version

a. Use npm to install it from the public npmjs registry at @sap/mdk-mcp-server.

This open-source server provides AI agents with comprehensive MDK knowledge and tools. By combining best practice guidelines, project-aware context information, templates for creating new projects, and access to the MDK CLI tools, the MDK MCP server transforms AI agents into MDK development experts.

What it needs from you

  1. MDK SDK 2. ilodata Tool: Extract from SAPOfflineOData-xx.xx.xx-Tools.zip in the MDK SDK 3. Offline Store Files: A pair of .udb and .rq.udb files from your offline application

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
scopeThe scope of creation:
templateTypeThe type of template to use (crud, list detail, base). Note: base template is only valid for project scope.
oDataEntitySetsThe OData entity sets relevant to the user prompt, separated by commas.
offlineWhether to generate the project in offline mode (only applicable for project scope). Set to false unless offline is explicitly specified. |
folderRootPathThe path of the current project root folder (not required for rule artifact type).
pageTypeType of page page):
controlTypeThe control type for databinding pages (required when pageType is databinding). Available types: ObjectTable, FormCell, KeyValue, ObjectHeader, ContactTable, SimplePropertyCollection, ObjectCard, DataTable, KPIHeader, Pr
layoutTypeThe layout type for layout pages (required when pageType is layout). Available types: Section, BottomNavigation, FlexibleColumnLayout, SideDrawerNavigation, Tabs, Extension.
actionTypeThe type of action (required when artifactType is action). Available types: CreateODataEntity, UpdateODataEntity, DeleteODataEntity, CreateODataMedia, InitializeOfflineOData, DownloadOfflineOData, UploadOfflineOData, Can
querySearch query for rule reference (required when artifactType is rule). Examples: get app name, handle form validation, navigate to page, etc. |
operationThe operation to perform on the MDK project. Available operations:
externalsOptional: Array of external package names to include in the deployment (e.g., [@nativescript/geolocation]). If not specified, will automatically read from mdk.bundlerExternals in .vscode/settings.json of the project. Def
component_nameName of the component (required for component, property, and example operations).
property_nameName of the property (required for property operation).

How to install the Mdk MCP Server

{
  "mcpServers": {
    "mdk": {
      "command": "npx",
      "args": ["-y", "@sap/mdk-mcp-server"],
      "env": {
        "GITHUB_TOKEN": "your-value",
        "SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  1. MDK SDK 2. ilodata Tool: Extract from SAPOfflineOData-xx.xx.xx-Tools.zip in the MDK SDK 3. Offline Store Files: A pair of .udb and .rq.udb files from your offline application
VariableDescriptionRequired
GITHUB_TOKENCredential the server authenticates with.Yes
SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRYConfiguration value read at startup.Optional

Example prompts to try

  • “Use Mdk to scope.”
  • “Use Mdk to templateType.”
  • “Use Mdk to oDataEntitySets.”

Frequently asked questions

Model Context Protocol (MCP) server for AI-assisted development of MDK applications. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.