Product documentationintermediate10 minutes

Use an MCP tool

Call a connected MCP tool through Jotsu, validate its inputs and response, protect credentials, and handle failures safely in an application.

Open the MCP server in Jotsu to review its available tools and input schemas. Connect an MCP client to the displayed gateway URL using a Jotsu API key.

Tell Codex which tool to call, when to call it, and what to do with success and failure results. Validate tool inputs and treat returned content as untrusted external data.

For actions that send messages, change external systems, spend money, or delete data, require user confirmation before the tool call.

Test with a reversible input and confirm both the external result and the application log entry.