4Runr MCP Client
Streams tool definitions from a 4Runr MCP Server via SSE. Built to power dynamic AI agents using the MCP protocol.
Overview
This node interacts with a 4Runr MCP Server to either discover available tools via Server-Sent Events (SSE) or execute a specified tool on the server. It is useful for dynamically listing tools provided by the MCP server or running specific tools with given parameters, enabling integration with AI agents or other automated workflows.
Use Case Examples
- Discovering tools available on the MCP server to dynamically populate a UI or decision logic.
- Executing a tool on the MCP server by specifying its name and parameters, such as triggering a calendar check or data processing task.
Properties
| Name | Meaning |
|---|---|
| Node Mode | Selects the mode of operation: 'Discover Tools' to stream and list tools from the MCP server, or 'Execute Tool' to run a specific tool on the server. |
| Tool Name | The name of the tool to execute, as received from the MCP server. Required only in 'Execute Tool' mode. |
| Tool Parameters | JSON object containing parameters for the selected tool. Required only in 'Execute Tool' mode. |
| Tool Name Mapping (Optional) | Optional JSON mapping of tool names to user-friendly aliases for display or reference purposes. |
Output
JSON
name- The name of the tool discovered or executed.description- Description of the tool (only for discovered tools).parameters- Parameters accepted by the tool (only for discovered tools).any- Response data from the executed tool call.
Dependencies
- Requires an API key credential for authenticating with the 4Runr MCP server.
Troubleshooting
- If the SSE connection times out, check the 'sseTimeout' setting and network connectivity to the MCP server.
- Parsing errors for headers indicate malformed JSON in the headers configuration; ensure headers are valid JSON.
- Execution errors may occur if the tool name is missing or parameters are not valid JSON objects; verify inputs before execution.
- Server errors during tool execution will return detailed messages; review these to correct tool parameters or server issues.
Links
- Server-Sent Events (SSE) - Documentation on SSE, the technology used to stream tool definitions from the MCP server.
- Axios HTTP Client - Library used for making HTTP POST requests to execute tools on the MCP server.