SAP MDK MCP Server
Official MCP server from SAP for AI-assisted development of Mobile Development Kit (MDK) applications, exposing MDK CLI, templates, and documentation to agents.
The SAP MDK MCP Server is an official open-source Model Context Protocol server maintained by SAP for AI-assisted ("vibe coding") development of SAP Mobile Development Kit applications. The Mobile Development Kit is a metadata-driven framework on SAP Business Technology Platform that lets developers build cross-platform mobile apps that integrate with SAP Mobile Services and OData backends. The MCP server gives MCP-compatible coding agents (Claude Code, Cursor, Cline, OpenCode, GitHub Copilot, and others) the context, best practices, templates, and CLI tooling they need to create, modify, validate, build, and deploy MDK projects conversationally.
The server bundles four tools that map to the main phases of MDK development. mdk-create scaffolds new projects or adds entity-driven CRUD, List/Detail, and Base templates. mdk-gen generates pages, actions, i18n files, and JavaScript rule examples. mdk-manage runs project lifecycle operations including build, deploy, validate, migrate, QR code display, and Mobile App Editor integration. mdk-docs exposes searchable documentation, component schemas, property details, and usage examples so the agent answers MDK questions from authoritative sources rather than guessing.
It is notable because it is one of SAP's officially maintained MCP servers (Apache 2.0, under the SAP GitHub org), is pinned to specific MDK schema versions (26.3, 25.9, 25.6, 24.11, 24.7) for deterministic output, and integrates with the existing SAP Mobile Services and Cloud Foundry tooling rather than reimplementing them.
Tools
| Tool | Description |
|---|---|
mdk-create |
Initializes new MDK projects or adds entity metadata using CRUD, List Detail, or Base templates. |
mdk-gen |
Generates MDK artifacts including pages, actions, and i18n files, and locates JavaScript rule examples. |
mdk-manage |
Handles project lifecycle: build, deploy, validate, migrate, QR code display, and Mobile App Editor operations. |
mdk-docs |
Provides documentation search, component schemas, property details, and usage examples for the configured MDK schema version. |
Prerequisites
- Node.js 22.14.0
- An MCP-compatible client (Claude Code, Cursor, Cline, GitHub Copilot, OpenCode, etc.)
- Recommended: VS Code with the Mobile Development Kit extension v1.32.0+
- For deployment: Cloud Foundry CLI and access to SAP Mobile Services on SAP BTP
Install
Install globally from npm:
npm install -g @sap/mdk-mcp-server
Or build from source:
git clone https://github.com/SAP/mdk-mcp-server.git
cd mdk-mcp-server
npm i --include=optional
npm run build
npm i -g .
MCP client configuration
Add the following to your MCP client config (e.g. cline_mcp_settings.json, claude_desktop_config.json, or .cursor/mcp.json):
{
"mcpServers": {
"mdk-mcp": {
"type": "stdio",
"command": "mdk-mcp",
"args": ["--schema-version", "26.3"]
}
}
}
Supported --schema-version values: 26.3 (default), 25.9, 25.6, 24.11, 24.7.
Optional steps
- Create an
AGENTS.mdrule file in your project to guide agent behavior for MDK conventions. - For deployments, sign in to Cloud Foundry:
cf login -a <endpoint> --sso. - To disable telemetry, edit
~/.fioritools/telemetrysettings.jsonor setSAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY=true.
- Scaffold a new MDK project from an OData service with a List/Detail or CRUD template, without leaving the editor.
- Generate new MDK pages, actions, and i18n keys for an existing project from a natural language description.
- Validate, build, and deploy an MDK app to SAP Mobile Services and produce an install QR code in a single agent run.
- Migrate an older MDK project to the latest schema version, with the agent applying changes per official documentation.
- Answer MDK property and component questions in-editor by querying the bundled docs for the pinned schema version.
- "Create a new MDK project called FieldService with a List Detail page bound to the Equipment entity from my OData service."
- "Add a new action that calls the ApproveOrder OData function and wire it to the toolbar of the Orders page."
- "Validate this MDK project, build it, deploy to Mobile Services, and show me the install QR code."
- "Migrate this project from schema 24.11 to 26.3 and tell me what breaking changes you applied."
- "What properties does the SectionedTable control support in MDK 26.3? Show me an example."
- Officially maintained by SAP under the SAP GitHub org with an Apache 2.0 license.
- Covers the full MDK workflow (create, generate, manage, docs) rather than only one phase.
- Schema-version pinned, so generated code matches the MDK runtime you target.
- Works with any MCP-compatible agent (Claude Code, Cursor, Cline, Copilot, OpenCode).
- Useful only inside the SAP MDK / Mobile Services ecosystem, not a general mobile dev tool.
- Deployment workflows require Cloud Foundry CLI and SAP BTP Mobile Services entitlements.
- Requires a specific Node.js version (22.14.0) and the VS Code MDK extension for the full experience.
- SAP/abap-mcp-server and other servers listed in SAP's official MCP server lineup, for ABAP and Fiori development.
- marianfoo/sap-ai-mcp-servers: community-curated index of SAP-related MCP servers covering adjacent SAP tooling.
- Using the MDK CLI and VS Code Mobile Development Kit extension directly, without an MCP layer.