MCP Server
Overview
Mendix MCP Server Module
Make your Mendix business logic available to any agent in your enterprise landscape with the Mendix MCP Server module.
The Mendix MCP Server Module provides easy low-code capability to set up MCP Server within a Mendix app using the Model Context Protocol (MCP). Using the MCP Server resources can easily be made available to other applications that support MCP. The Mendix MCP Server module bridges the Mendix model and the Java MCP SDK. With the current implementation it is possible to:
- Expose reusable prompts including the ability to use prompt parameters
- List and run actions implemented in the application as tools
Check out the GenAI Showcase App for an example implementation with Claude Desktop and the blog post: How to use MCP to bring Mendix Business Logic into Claude for Desktop for more details.
Contact Us
For support and questions, feel free to reach out via email: genai-components-feedback@mendix.com or Community Slack.
Documentation
Mendix MCP Server Module
Support
This module is based on Mendix 10.24.13 and uses MCP Java SDK 0.16.0 that supports MCP Protocol version 2025-03-26.
How to use
For an example implementation with Claude Desktop, check out the GenAI Showcase App. Also see the blog post for more information: How to use MCP to bring Mendix Business Logic into Claude for Desktop.
Known Limitations
- Tools can only return String values, either directly as String type or using the TextContent entity.
- Prompts can only return a single message.
- Running an MCP Server is currently only supported on single-instance environments.
Releases
* We added support for Streamable HTTP transport which can be enabled when passing a newer protocol version to the server config. Note that the old version v2024-11-05 which used the legacy HTTP+SSE transport is no longer available.
* With the new transport, a bug got fixed that caused large payload tool results to fail.
* We fixed an issue where the Mendix / MCP session was not properly reused if authentication was enabled. Especially in locally running apps this resulted in errors when the maximum number of sessions was reached. * A bug was fixed that blocked multiple servers to run in the same Mendix app simultaneously. Previously, the last started server overwrote the tools from the ones started before.
* We improved value parsing for tool microflow calls for automatic schema creation, so that also non-string datatypes are converted correctly. We added more detailed descriptions for datetime parameters specifically, so the model better understands how to pass the values.
* Note that the path of MCP servers are now validated and cannot be "mcp".
The MCP SDK version was upgraded to 0.16.0. Also, a thread sleep setting was removed from the request handler, since this is handled by Studio Pro Runtime instead.
We enabled the user (and session) to be in scope of the tool and prompt microflows. If the user was authenticated (via the authentication microflow), they are now accessible as variable in the tool and prompt microflows. This makes it possible to apply role (and user) based access control to tools/prompts, for example by applying entity access in the microflow.