mdk-mcp-server — Claude Code MCP server: MDK knowledge and CLI
Wires Mobile Development Kit knowledge, project templates and the MDK CLI into your agent. Useful when you are building an MDK app without a map.
claude mcp add mdk-mcp-server -- npx -y @sap/mdk-mcp-serverWhat mdk-mcp-server does
The server hands an AI agent MDK context: practice guidelines, details about the project it is sitting in, starting templates, and calls into the MDK CLI tools. The agent then writes metadata and files the MDK way instead of guessing.
Install it globally from npm and point any MCP client at mdk-mcp. It needs Node.js 24.11.1. On Intel Macs release 0.4.0 and later will not run, because onnxruntime-node from 1.24 stopped shipping darwin/x64 binaries; Rosetta 2 or an older release are the remaining options. Pick the MDK schema through --schema-version — 26.9 is the default, and 26.6, 26.3, 25.9, 25.6, 24.11 and 24.7 also work.
Set up an AGENTS.md rule file as well, with entries such as no .service.metadata generation and no .xml generation. Without those limits the agent slips extra files into the project. Cline may ask you to approve tool calls the first time.
What it helps with
- write MDK app code with best-practice guidance in reach
- scaffold a new MDK project from a template
- call MDK CLI tools from inside the agent chat
- keep the agent from emitting unwanted files via
AGENTS.md - confirm the server loaded with the
/mcpcommand
Example prompts for the agent
- Check that the
mdk-mcpserver is connected and list its tools. - Scaffold a new MDK project and show me which files it creates.
- Add a list screen to the app and explain which metadata it needs.
How to install mdk-mcp-server
Platform CLI
claude mcp add mdk-mcp-server -- npx -y @sap/mdk-mcp-serverPlatform CLI
codex mcp add mdk-mcp-server -- npx -y @sap/mdk-mcp-serverConfig file
{
"mcpServers": {
"mdk-mcp-server": {
"command": "npx",
"args": [
"-y",
"@sap/mdk-mcp-server"
]
}
}
}Config file
{
"servers": {
"mdk-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sap/mdk-mcp-server"
]
}
}
}Platform CLI
gemini mcp add mdk-mcp-server npx -y @sap/mdk-mcp-serverStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about mdk-mcp-server
How do I install mdk-mcp-server in Claude Code?
Run claude mcp add mdk-mcp-server -- npx -y @sap/mdk-mcp-server, then reload the VS Code window. The server shows up after you type /mcp.
What does mdk-mcp-server do?
It supplies the agent with MDK knowledge plus MDK CLI access: guidelines, project context, templates and tools. That lets the agent handle MDK metadata with intent.
Which MDK schema versions are supported?
26.9 by default, along with 26.6, 26.3, 25.9, 25.6, 24.11 and 24.7. Set the version with the --schema-version flag in the server config.