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.
Documentation
Mendix MCP Server Module
Support
This module is based on Mendix 10.21.1 and uses MCP Java SDK 0.8.1 that supports MCP Protocol version 2024-11-05.
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.
- The client connection remains active for only 15 minutes, as the Mendix runtime currently does not support async requests.
- Running an MCP Server is currently only supported on single-instance environments.
- User authorization can currently only be applied on request but not at the tool/prompt level. As a result, the current user is not available within tool/prompt microflows, and entity access or XPath constraints can not be enabled out of the box. This is due to the capabilities offered by the official MCP Java SDK which does not support reusing a Mendix user session in the executed tools/prompts.