AI meets API: Integrate Duda in minutes

December 9, 2025
0 minute read

Have you ever hit a roadblock with limited development resources, or struggled to quickly evaluate a platform without writing a single line of code? In today’s competitive market, waiting weeks for developer resources isn’t an option.


We've bridged the gap between AI and the Duda platform. By configuring Duda's Model Context Protocol (MCP), you give your AI assistant direct access to the Duda API and our developer documentation. This turns your AI assistant into a powerful developer on your team, instantly making the Duda API more accessible and helping you unlock value faster to break into new markets. Today, you'll see how a tool like Cursor AI can turn a simple prompt into a fully functional Duda application.




Choosing your AI Assistant


Selecting the right AI tool is the first step in this process. For this guide, we'll be using Cursor AI, which offers a generous 14-day free trial, more than enough time to complete this demo. However, you are free to use any AI assistant you prefer or already have access to. Just keep in mind that the output and file generation may vary depending on the model you choose, which means your subsequent setup and troubleshooting steps might look slightly different than what we cover here.


Create a directory


The first step is to create a new folder on your computer. This will be your project directory, where all the files generated by the AI assistant will be stored. Once created, open this new folder as your current project in your code editor.


Configure the MCPs


Next, we need to set up your AI assistant to communicate with the Duda API and access our documentation. In this walkthrough, we will show you how to do direct settings input. This is done by configuring the Duda MCP and Duda Dev Docs as integrations.


Direct settings input involves updating your tool's configuration file to connect to our services. The final configuration will look similar to this:


{

  "mcpServers": {

    "duda-mcp-server-remote": {

      "command": "npx",

      "args": [

        "mcp-remote",

        "--header",

        "Authorization:${DUDA_API_TOKEN}",

        "https://mcp.duda.co/mcp"

      ],

      "env": {

        "DUDA_API_TOKEN": "TOKEN GOES HERE"

      }

    },

    "duda-dev-docs": {

      "url": "https://developer.duda.co/mcp"

    }

  }

}



Note
Replace "TOKEN GOES HERE" with your MCP token from your Duda Account Settings.
Important
Ensure that all required dependencies are installed on your machine. In order to set up Duda MCP, your machine must have Node installed.



Confirm your configuration


To ensure your MCP is set up correctly, run the 'List Tools' prompt in the chatbox. If the AI returns a list of Duda-related calls and functions, your configuration is successful!


Run the prompt


Think of the AI prompt as your project's blueprint. Be sure to include clear technical requirements (like Node.js/React) and detailed feature specifications (like a responsive template gallery and SSO integration) to get the most accurate and runnable application.


The following prompt has been tested and is highly optimized to produce a clean, runnable full-stack application using the Duda API. Consider this your starting point! We encourage you to look through our developer documentation and add any extra features you need for your specific application.


Download AI Prompt


Run the app



After the code is generated, follow the setup instructions provided in either the README.md file or the AI's response area to get your application running.


Important
Expect to Troubleshoot: It's common for initial AI-generated code to need minor adjustments. If you encounter errors, simply paste the error message back into the chatbox and ask the AI to resolve the issue. Continue conversing with the model until all issues are fixed and the application runs successfully.


Duda + AI: The future of high-velocity development


This journey from a simple prompt to a live, functional application demonstrates a fundamental shift: Duda's powerful API is now instantly accessible to everyone.


For agencies and technology partners, the bottleneck is no longer writing complex code; it's defining the desired outcome. By using an AI assistant and the Duda platform via the MCP, you reclaim weeks of development time. This integration doesn't just make evaluating the API easier, it unlocks new business opportunities. You can now rapidly prototype complex solutions, set up working MVPs, and enter new market segments faster than ever before.


The future of high-velocity development is here, and it’s driven by the speed and accessibility of the Duda API, with AI.


Did you find this article interesting?


Thanks for the feedback!
Website mockups with error message
By Ilana Brudo November 13, 2025
Don't let AI-generated websites cause day-two headaches. Learn why agencies need governance and control, and how Duda's AI stack offers speed without the risks.
By Shawn Davis November 11, 2025
For small and medium-sized businesses (SMBs), conversion isn’t just about generating leads. It’s about helping potential customers act in the exact moment they’re ready. Traditional “contact us” forms and phone calls create unnecessary friction: the customer must wait, the business must respond, and momentum often disappears. A booking tool changes that dynamic. It lets customers confirm a time, get a confirmation, and move forward immediately. That single step, pivoting from inquiry to commitment, has a measurable effect. Research across multiple industries shows that websites offering real-time scheduling convert more visitors into paying customers. As AI search and zero-click search eat away at the amount of organic traffic being sent to SMB websites, developing high-quality conversion experiences has never been more important. From salons to consultants to local trades, every lost call or delayed email represents missed revenue. A booking tool captures intent before it fades.
A website with a 503 error
By Shawn Davis November 6, 2025
Learn how Jared Broussard's agency scaled client websites by switching from WordPress to Duda, saving time and costs while boosting efficiency and growth.
Show More

Latest posts