The cleanest and least error-prone approach is to upgrade the MCP Client module, because newer versions already include the Request_AddMCPTool action.
However, if you have a strong reason to stay on your current MCP Client version, a practical workaround is to recreate the same Java action yourself:
In your current project, make sure you have GenAICommons installed (together with its required dependencies).
Create a new blank app, install the latest MCP Client + GenAICommons there, and locate the Request_AddMCPTool Java action.
Copy the same action signature (parameters/return type) into your project and reuse the same Java implementation (so, replicate the Java code and required supporting files).
This way you can keep your current module version but still use the missing functionality, essentially backporting the Java action into your app.
Hi,
Ahmet already provided a good solution above. What would be the reason to stay with version 1.0.0? I believe in the first version there were a few example microflows that you could investigate or review the showcase app version 9.1.0 MCP Client example where we showed a way to make it work if you need to use version 1.0.0.
Best regards
Liam