- Explore MCP Servers
- 4Runr-N8N-MCP-Node
4runr N8n Mcp Node
What is 4runr N8n Mcp Node
4Runr-N8N-MCP-Node is a custom node for n8n that connects to a self-hosted MCP Server using Server-Sent Events (SSE). It facilitates real-time streaming of tool definitions to n8n AI Agents, enabling scalable and dynamic automation.
Use cases
Use cases for 4Runr-N8N-MCP-Node include automating tasks in software development pipelines, integrating AI tools for data analysis, and creating dynamic workflows that respond to real-time events in business operations.
How to use
To use 4Runr-N8N-MCP-Node, first configure your credentials by setting up a ‘4Runr MCP Access’ credential with the required SSE URL and message endpoint. Then, add the node to your workflow, allowing it to dynamically display available tools from the SSE stream. Execute tools by sending a POST request with the necessary parameters, and handle errors through the node’s built-in error management features.
Key features
Key features include listening to an SSE endpoint for tool events, emitting tool definitions for n8n AI Agents, dynamic tool selection, executing tools via POST requests, automatic error handling, and optimization for 4Runr’s AI automation infrastructure.
Where to use
4Runr-N8N-MCP-Node can be used in various fields that require automation and integration of AI tools, such as software development, data processing, and business automation, particularly in environments utilizing n8n for workflow automation.
Overview
What is 4runr N8n Mcp Node
4Runr-N8N-MCP-Node is a custom node for n8n that connects to a self-hosted MCP Server using Server-Sent Events (SSE). It facilitates real-time streaming of tool definitions to n8n AI Agents, enabling scalable and dynamic automation.
Use cases
Use cases for 4Runr-N8N-MCP-Node include automating tasks in software development pipelines, integrating AI tools for data analysis, and creating dynamic workflows that respond to real-time events in business operations.
How to use
To use 4Runr-N8N-MCP-Node, first configure your credentials by setting up a ‘4Runr MCP Access’ credential with the required SSE URL and message endpoint. Then, add the node to your workflow, allowing it to dynamically display available tools from the SSE stream. Execute tools by sending a POST request with the necessary parameters, and handle errors through the node’s built-in error management features.
Key features
Key features include listening to an SSE endpoint for tool events, emitting tool definitions for n8n AI Agents, dynamic tool selection, executing tools via POST requests, automatic error handling, and optimization for 4Runr’s AI automation infrastructure.
Where to use
4Runr-N8N-MCP-Node can be used in various fields that require automation and integration of AI tools, such as software development, data processing, and business automation, particularly in environments utilizing n8n for workflow automation.
Content
n8n-nodes-mcp-client
Built by 4Runr, this is a custom n8n node that connects to a self-hosted MCP Server via Server-Sent Events (SSE). It streams tool definitions to n8n AI Agents in real time, enabling flexible, dynamic automation at scale.
Features
- Listens to an
sseUrl
endpoint for incomingtools
events. - Emits tool definitions for use in the n8n AI Agent ecosystem.
- Allows dynamic tool selection and parameter input.
- Executes tools by POSTing to
/mcp/message
with the correct payload and headers. - Logs events, handles errors, and filters events automatically.
- Optimized for 4Runr’s AI automation infrastructure and MCP server systems.
Usage
-
Configure Credentials
- Set up a credential of type
4Runr MCP Access
with:SSE URL
(required): Your MCP server’s SSE endpoint (e.g.,https://mcp-server/mcp-events
)SSE Connection Timeout
(optional): Timeout in ms (default: 60000)Messages POST Endpoint
(required): Your MCP server’s message endpoint (e.g.,https://mcp-server/mcp/message
)Additional Headers
(optional): JSON for API keys, etc. (e.g.,{ "X-API-Key": "Test12345" }
)
- Set up a credential of type
-
Add the Node to Your Workflow
- Use the “4Runr MCP Client” node as a tool source in your AI Agent configuration.
- The node will dynamically display available tools as they arrive from the SSE stream.
- You can select a tool and input parameters (as JSON) to execute it.
-
Tool Execution
- When a tool is executed, the node will POST to the configured message endpoint with the payload:
- The
X-API-Key
header (if provided) will be included in all POST requests.
- When a tool is executed, the node will POST to the configured message endpoint with the payload:
-
Error Handling
- The node provides robust error handling for SSE, JSON parsing, and HTTP errors.
- Errors are logged and displayed in the n8n UI.
Assumptions
- Tool names are accepted as sent by the server (namespacing/aliasing is optional).
- All tool parameters and required/optional flags are respected as sent by the server.
- The node expects the MCP server to emit a
tools
event with atools
array in the data payload.
Advanced/Optional
- Tool name mapping/aliasing is supported via the
Tool Name Mapping (Optional)
property. - Future enhancements may include caching, custom parameter UI, and more.
Maintainer
Developed and maintained by 4Runr — Montreal’s AI infrastructure company transforming how businesses run with intelligent systems.