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

Create Your First MDK Application Using MCP Server

Use the MCP server with agentic AI to create a cross-platform SAP MDK application using a natural language prompt.

Overview

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

You will learn

  • โœ”How to use the MCP server with an AI agent to generate an MDK offline project from a natural language prompt
  • โœ”How to deploy the generated MDK project to SAP Mobile Services using agentic tools
Jitendra Kansal J Jitendra Kansal May 8, 2026
Created by January 23, 2026
Contributors

Prerequisites

Steps

Step 1 Log On to the Cloud Foundry Environment
โ€”

In this step, you will connect to your SAP BTP Cloud Foundry organization and space.

  1. Create an empty folder on your machine and open it in Visual Studio Code. This folder will be used to generate your Mobile Services project.

  2. In Visual Studio Code, open the terminal by choosing View โ†’ Terminal.

  3. Run the following command using single sign-on (SSO). The Cloud Foundry CLI displays a login URL and prompts you to enter a temporary authentication code.

    Shell
    cf login -a <API Endpoint URL> --sso

    You can find your specific API endpoint of your Cloud Foundry organization on your SAP BTP subaccount overview page.

    MDK
    MDK

  4. Open the URL displayed in the terminal to access the logon screen. If this is your first time logging in, or if your browser cookies have been cleared, you will be prompted to provide the origin key of your custom identity provider or choose the default identity provider. Otherwise, the sign-in page lists previously used identity providers.

  5. Choose your identity provider account. If you do not have an active session, you will be prompted to log in. After successful authentication, you will receive a temporary authentication code.

  6. Enter the passcode in the terminal window. Once logged in successfully, you can select your organization and space.

    MDK
    MDK

Step 2 Integration with SAP Mobile Services
+
Step 3 Create Your First MDK Project with Agentic AI
+
Step 4 Deploy Your Project
+
Step 5 Run the 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. Log On to the Cloud Foundry Environment 2. Integration with SAP Mobile Services 3. Create Your First MDK Project with Agentic AI 4. Deploy Your Project 5. Run the App

Learn more →