⚡ n8n Integration¶
Connect n8n directly to EasyPanel MCP using n8n's native MCP client nodes.
Overview¶
EasyPanel MCP can expose its tools remotely through Streamable HTTP, the recommended HTTP transport in MCP SDK v2.
Use:
- MCP Client when you want to call an EasyPanel MCP tool as a regular workflow step.
- MCP Client Tool when you want to expose EasyPanel MCP tools to an n8n AI Agent.
This avoids manually constructing MCP JSON-RPC requests in an HTTP Request node. The MCP client handles protocol negotiation, tool discovery, schemas, and tool calls for you.
📋 Prerequisites¶
- An n8n instance with MCP Client support.
- EasyPanel MCP installed and configured.
- A valid
EASYPANEL_URLandEASYPANEL_API_KEYon the EasyPanel MCP server. - Network access from n8n to the EasyPanel MCP endpoint.
🔧 Start EasyPanel MCP in HTTP mode¶
Using the installed entrypoint:
Or directly from the repository:
By default, the MCP endpoint is:
When n8n runs on another machine or container, replace 127.0.0.1 with a hostname or address that n8n can actually reach. In production, expose the endpoint through HTTPS and an appropriate reverse proxy.
🧩 Option 1: MCP Client node¶
Use the MCP Client node when an EasyPanel action should be a normal step in a workflow.
Configure:
| Setting | Value |
|---|---|
| Server Transport | Streamable HTTP |
| MCP Endpoint URL | https://your-mcp-host.example.com/mcp |
| Authentication | According to your reverse proxy / deployment |
| Tool | Select one of the tools discovered from EasyPanel MCP |
n8n automatically fetches the available tools from the MCP server. For nested tool arguments, use the node's JSON input mode when appropriate.
Typical workflow examples:
🤖 Option 2: MCP Client Tool for AI Agents¶
Use MCP Client Tool when an n8n AI Agent should decide which EasyPanel tool to call.
- Add an AI Agent node.
- Attach an MCP Client Tool to the agent's Tools input.
- Select Streamable HTTP as the server transport.
- Set the MCP endpoint to your EasyPanel MCP
/mcpURL. - Limit the exposed tools when the agent only needs a subset.
For infrastructure automation, prefer exposing only the tools required by that workflow. Keep destructive actions such as service or project deletion out of general-purpose agents unless the workflow includes suitable approval controls.
🔁 Legacy SSE compatibility¶
Current n8n MCP Client versions support selecting the server transport. Older MCP Client Tool versions may only expose an SSE Endpoint field.
For those integrations, EasyPanel MCP keeps an explicit SSE mode:
Prefer Streamable HTTP for new deployments.
🔐 Security recommendations¶
- Do not send
EASYPANEL_API_KEYfrom n8n to the MCP endpoint. The key belongs on the EasyPanel MCP server itself. - Put remote MCP deployments behind HTTPS.
- Use network restrictions and/or reverse-proxy authentication when the endpoint is reachable outside a trusted network.
- Expose the minimum set of MCP tools needed by an AI Agent.
- Add human approval around destructive infrastructure operations where appropriate.
🆘 Troubleshooting¶
Connection refused¶
- Confirm EasyPanel MCP is running with
easypanel-mcp http. - Confirm n8n can reach the configured host and port.
- Do not use
127.0.0.1if n8n and EasyPanel MCP are in different containers or machines. - Check firewall and reverse-proxy rules.
Tools do not appear¶
- Verify the endpoint ends in
/mcpfor Streamable HTTP. - Confirm the MCP Client node is using the correct server transport.
- Check the EasyPanel MCP logs for protocol or connection errors.
- Confirm the server starts successfully with valid EasyPanel credentials.
Authentication to EasyPanel fails¶
- Verify
EASYPANEL_URLon the MCP server. - Verify
EASYPANEL_API_KEYoremail:passwordcredentials. - Check whether the EasyPanel credential has expired or lost permissions.
📚 Related Documentation¶
- Claude Desktop - Local MCP client integration
- GitHub Actions - CI/CD pipelines
- Tools Reference - Available EasyPanel MCP tools
⚡ n8n + EasyPanel MCP: native MCP transport, no hand-written protocol requests.