SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Evolve Your MDK App with Agentic AI using MCP Tools

This tutorial demonstrates how to enhance an existing MDK project created with agentic AI by using MCP tools to modify pages, add features, and generate supporting artifacts. You will also learn how to access MDK documentation and client APIs directly through the MCP-enabled IDE for faster, context-aware development.

Overview

🎓 beginner 25 min. Mobile Development Kit ClientBeginnerIosAndroidMobileSAP Business Technology PlatformSAP Mobile ServicesSAP Build CodeSAP Build

You will learn

  • How to enhance an existing MDK application using agentic AI
  • How to access MDK documentation and Client APIs using MCP tools
Jitendra Kansal J Jitendra Kansal May 8, 2026
Created by January 16, 2026
Contributors

Prerequisites

Steps

Step 1 Ask the Agent - Explore MDK Capabilities and Best Practices via MCP

In this step, you will use the agent to ask project-aware questions about MDK. The agent responds in the context of your existing project, helping you understand Client APIs, implementation choices, and related documentation. You are free to ask the agent any questions related to MDK. To demonstrate this capability, the following steps use a concrete example from the generated project to explore a Client API and its documentation.

  1. In the Cline window, copy and paste the following prompt into the input field and execute it.

    Shell
    Explain this line.
    let result = clientAPI.actionResults.AppUpdate.data;

    MDK
    MDK

  2. The MCP client analyzes the code and provides a detailed breakdown of the statement.

    MDK
    MDK

    Generated responses may differ from the examples shown in this tutorial. Minor variations in code or output are expected.

  3. In the Cline window, execute the following prompt:

    Shell
    I want to allow business users to upload media files to the backend. However, I want to limit the file size to a maximum of 2 MB. Refer documentation and suggest how can I achieve this?
  4. The MCP client (Cline) recognizes that the MDK MCP server should be used and executes the request using the mdk-docs tool.

    MDK
    MDK

    The generated response includes examples showing how to restrict file size using a Form Cell Attachment control. It also generates a README file containing reference examples for different use cases.

    MDK
    MDK

    Generated responses may differ from the examples shown in this tutorial. Minor variations in code or output are expected.

  5. You can also ask general conceptual questions, for example:

    Shell
    How does an offline app work on a mobile device?

    The MCP client provides a detailed explanation in the context of MDK offline applications.

Step 2 Enhance Existing UI Screens with Agentic Assistance
+
Step 3 Run the App
+
Step 4 Implement Business Logic using MDK Client APIs
+
Step 5 Test Your App
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Ask the Agent - Explore MDK Capabilities and Best Practices via MCP 2. Enhance Existing UI Screens with Agentic Assistance 3. Run the App 4. Implement Business Logic using MDK Client APIs 5. Test Your App

Learn more →