Hi Abhishek,
Mendix has two different MCP servers, and which one you need depends on what you want to do:
Studio Pro MCP Server
MCP Server module (Marketplace)
For a live project with real-time usage, you most likely need Option B, the MCP Server module.
Studio Pro MCP Server enables bring your own agent (BYO Agent) capabilities, allowing you to use Maia’s capabilities directly from external clients, including AI coding assistants, agents, and other MCP-based LLM tools. Any changes made through Maia via the MCP Server are reflected in real time within Studio Pro. mendixmendix
Setup:
claude mcp add mendix --transport http http://localhost:<port>/mcp
For other clients, such as VS Code Copilot or Cursor, add an HTTP MCP server pointing to http://localhost:<port>/mcp in that client’s MCP configuration.
3. Ask your agent to make changes, for example “create an entity Customer with Name and Email”. Then review the result in Studio Pro and in the Errors pane.
Good to know:
The MCP Server module provides easy low-code capability to set up an MCP (Model Context Protocol) server within a Mendix app. With it you can expose reusable prompts, including the ability to use prompt parameters and list and execute microflow implemented in the application as tools. MCP Server +2
Step 1 – Install the module
Download MCP Server from the Marketplace. It’s already included if you started from the Blank GenAI App template. This page documents MCP Server module versions compatible with Agents Kit 2, so make sure to use an app running on Studio Pro 11.12 or above, which matches your version. mendix
Step 2 – Create the server, for example in an After Startup microflow
Use the Create MCP Server action and set:
mcp-tickets. If Path is set to mcp-ticketsystem, the MCP Client will reach it via the URL https://mymendixapp.com/mcp-ticketsystem/mcp. The Path can’t be mcp, can’t end with /mcp, and can’t contain /. mendixStep 3 – Expose microflows as tools
After creating the server, use Add Tool for each microflow you want to expose, for example Tool_GetOpenTickets. Rules:
MCPServer.Tool object. If you don’t pass a schema, one is generated from the microflow parameters.TextContent if you want to set IsError = true for handled errors. mendixStep 4 – Optionally add prompts
Use Add Prompt, with Populate Prompt Argument List for prompt parameters, to publish reusable prompt templates.
Step 5 – Deploy and connect a client
Deploy the app, then point your MCP client to https://<your-app-url>/<Path>/mcp. For example, in Claude Code:
claude mcp add my-mendix-app --transport http https://myapp.mendixcloud.com/mcp-tickets/mcp --header "Authorization: Basic <base64-credentials>"
Step 6 – Use the examples
ACT_MCPServerConfiguration_InitializeMCPServer.Production tips
In short: use Option A if you want an AI coding assistant to help you build the app. Use Option B if you want AI agents to call your live app’s business logic.
Hope this helps! If this solution works for you, kindly mark it as the accepted answer so it can help others facing the same issue.
Sources:
Hi Abhishek,
The implementation depends on whether you want an AI assistant to help develop your Mendix application or interact with a running application.
1. For AI-assisted development in Studio Pro
If you are using Studio Pro 11.10 or later:
7782).http://localhost:7782/mcpclaude mcp add mendix --transport http http://localhost:7782/mcpThis server runs locally while Studio Pro is open; it is not a runtime endpoint for your deployed application.
2. For AI access to a running Mendix application
If your goal is to let an external AI assistant perform business operations, use the Mendix MCP Server module:
For example, you could expose a microflow that retrieves a support ticket by ID. Avoid exposing unrestricted create, update, or delete operations without appropriate authorization and validation.
My recommendation: For a real-time AI assistant that needs to access business data or trigger operations in your live application, start with the Mendix MCP Server module. Expose only the business operations the assistant actually needs.
Official documentation:
Hope this helps!
Hi Subhash, Guatham
Thanks for your informative answers, I was wondering if there is any way by which instead of tools MCP/Agent reads whole of our data and then answers questions based on our input.
If theres any sort of way with which it can be achieved please do let me know.