MCP Client

Interact with Model Context Protocol (MCP) servers

Tools → Execute Tool

AI-generated

Summary

Send a JSON-RPC request to execute a specified MCP tool on an MCP server, passing optional arguments in JSON format.

Inputs

  • MCP Server URL (required) — Base URL of the MCP server to which the tool execution request is sent.
  • Tool Name (required) — The name of the MCP tool to execute, chosen from tools available on the server.
  • Tool Arguments — JSON-formatted string representing arguments to pass to the chosen MCP tool.

Output shape

a list of JSON objects, each representing the MCP server's response to the tool execution per input item

Each output item contains a 'json' field with the tool execution result. If multiple input items are processed, each one generates a corresponding output. If execution fails and 'Continue On Fail' is enabled, the error message is returned in the 'json.error' field instead.

Examples

Example 1: Execute the 'translate' tool with language and text arguments

Set MCP Server URL to your server endpoint, select 'translate' as Tool Name, and provide Tool Arguments as JSON (e.g., {"language":"fr","text":"Hello"}). The node returns translation results from the server.

Links

Discussion