Mendix_n8n_integration

0
QuestionI'm trying to integrate an n8n MCP server into a Mendix application using the AI starter app template with MCP Client functionality, but I'm getting a 404 error when creating the MCP client.ContextI'm working with the Mendix AI starter app template that includes MCP Client functionality. I've set up an n8n MCP server for integration.Error MessageError 1: CreateMCPClient: Root cause: io.modelcontextprotocol.spec.McpTransportException: Server Not Found. Status code: 404, response-event: DummyEvent[responseInfo=jdk.internal.net.http.ResponseInfoImpl@451e6b3b]Error 2: CreateMCPClient: Root cause: java.lang.RuntimeException: Failed to send message: DummyEvent[responseInfo=jdk.internal.net.http.ResponseInfoImpl@2b58057f]QuestionHas anyone encountered this 404 error before? I'd like guidance on what might be causing it and how to troubleshoot the connection.
asked
2 answers
0

Hi Himanshu,


this error usually occurs if your MCP server's endpoint is not correct (and thus cannot be found on the server side). It might be that the server expects a different path than the one you provided. Were you able to connect to the server from another client, such as Claude or VS Code?


I've seen people connect to n8n servers from Mendix already, so it is definitely possible.



Best,

Liam

answered
0

You might also want to double-check the exact MCP endpoint URL. A 404 usually means the path is not correct or the MCP route is not exposed on the n8n side.


Also try calling the same endpoint with Postman to see if the server responds. If it also returns 404 there, the issue is most likely on the n8n MCP server configuration rather than Mendix.

answered