n8n-nodes-merge
v0.2.5
Published
n8n community node for Merge Agent Handler - connect AI agents to Merge Tool Packs
Downloads
1,103
Maintainers
Keywords
Readme
n8n-nodes-merge
Community nodes for n8n that integrate with Merge Agent Handler.
This package provides two nodes:
- Merge Agent Handler — Manage Merge resources (registered users, tool packs, connectors, and more) directly from n8n workflows
- Merge Agent Handler MCP — Connect to Merge Tool Packs via MCP to call integration tools, either standalone or as an AI agent tool
n8n is a fair-code licensed workflow automation platform.
Installation | Nodes | Key Concepts | Credentials | Compatibility | Resources
Installation
Self-hosted n8n
Follow the installation guide in the n8n community nodes documentation. Use the following package name:
n8n-nodes-mergen8n Cloud
- Go to Settings > Community Nodes
- Select Install a community node
- Enter
n8n-nodes-merge - Agree to the risks and click Install
Nodes
Merge Agent Handler
A standard n8n node for managing Merge Agent Handler resources through the REST API. Use this node to set up and configure your Merge environment directly from n8n workflows — create registered users, manage tool packs, generate link tokens, and more.
Resources & Operations
| Resource | Operations | |----------|-----------| | Registered User | Create, Get, List, Update, Delete | | Tool Pack | Create, Get, List, Update, Delete | | Connector | List, Get | | Link Token | Create | | Credential | Delete | | Audit Log | List | | Tool Search | Search |
Setup
- Add the Merge Agent Handler node to your workflow
- Create or select your Merge Agent Handler API credential (see Credentials)
- Select a Resource (e.g., Registered User, Tool Pack)
- Select an Operation (e.g., Create, List, Get)
- Fill in the required fields for that operation
Example: Create a Registered User
- Set Resource to
Registered User - Set Operation to
Create - Enter an Origin User ID (your system's user identifier)
- Enter an Origin User Name (display name)
- Select a User Type (Human or System)
- Execute the node — the output contains the created user's ID and details

You can wire this node's output into subsequent nodes. For example, pipe the registered user ID into a Merge Agent Handler MCP node using an expression like {{ $json.id }}.
Merge Agent Handler MCP
Connects to a Merge Agent Handler Tool Pack via MCP (Model Context Protocol) and calls integration tools. This node supports two usage modes: with an AI agent and standalone.
Mode 1: With an AI Agent
Connect the MCP node to an AI Agent node's Tool input. The agent automatically discovers all available tools in the Tool Pack and calls them as needed during a conversation.
- Add an AI Agent node to your workflow
- Click Add Tool on the agent and select Merge Agent Handler MCP
- Configure the credential, Tool Pack, Environment, and Registered User
- The agent now has access to all tools in the selected Tool Pack

The agent uses the Merge Search Tools API to discover relevant tools based on natural-language intent. On the first call, it receives a list of up to 20 matching tools and selects the best one. On the second call, it executes the selected tool directly.
When a connector requires authentication, the authenticate_* tools appear in the search results. The agent calls the authenticate tool and returns a magic link URL. The user clicks the link to complete OAuth, and subsequent tool calls work with the authenticated connection.
Mode 2: Standalone
Use the MCP node directly in a workflow to call a specific tool without an AI agent.
- Add the Merge Agent Handler MCP node to your workflow
- Configure the credential, Tool Pack, Environment, and Registered User
- Select a Tool Name from the dropdown (tools are loaded from the Tool Pack)
- Enter Arguments (JSON) if the tool requires input parameters
- Execute the node — the output contains the tool's response

Authenticating connectors in standalone mode
If a connector hasn't been authenticated yet for the selected registered user:
- Select the
authenticate_*tool for that connector (e.g.,authenticate_linear) - Execute the node
- Copy the magic link URL from the output and open it in a browser
- Complete the OAuth flow
- Refresh the Tool Name dropdown to see the full list of available tools

Key Concepts
Tool Packs are bundles of connectors that define which third-party integrations your AI agent can access. Each Tool Pack contains one or more connectors (e.g., Greenhouse, Salesforce, Jira) and exposes their capabilities as tools that can be called. You can create and manage Tool Packs using the Merge Agent Handler node in n8n or in the Merge Agent Handler dashboard.

Registered Users represent the identities whose third-party accounts have been authenticated with Merge. A Registered User can be an end user in your system or a system-level service account. When a tool is called, it acts on behalf of a specific Registered User — using their authenticated connections to read or write data in the connected services. You manage Registered Users in the Merge Agent Handler dashboard.

Prerequisites
- A Merge Agent Handler account
- An API key (Production or Test Access Key) from the Merge Agent Handler dashboard
- At least one Tool Pack created with connectors configured (can be created via the Merge Agent Handler node or the dashboard)
- At least one Registered User (can be created via the Merge Agent Handler node or the dashboard)
Credentials
Merge Agent Handler API
To authenticate with Merge Agent Handler:
- Log in to the Merge Agent Handler dashboard
- Navigate to Settings > API Keys
- Copy your Production or Test Access Key
- In n8n, create a new Merge Agent Handler API credential and paste the key
Both nodes share the same credential.
Compatibility
- Requires n8n version 1.50.0 or later
- Tested with n8n v2.9.4
Resources
- Merge
- Merge Agent Handler Documentation
- Merge Agent Handler API Reference
- Merge Agent Handler Dashboard
- n8n Community Nodes Documentation
