How to Install n8n with MCP on Proxmox

Written by Adi on Jun 8, 2025
Category: 
Tag: ,

Get the Proxmox VE n8n Helper Script from here or copy the command below and run in your proxmox node (pve) shell. It will setup as a LXC.

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/n8n.sh)"

Once n8n is up and running, go to Settings > Usage and activate your instance using the n8n activation key.

Enable MCP Node Support

MCP (Model Context Protocol) is a protocol that enables AI models to interact with external tools and data sources in a standardized way.

n8n-nodes-mcp allows you to connect to MCP servers, access resources, execute tools, and use prompts.

This node can be used as a tool in n8n AI Agents.

To enable this node as a tool, you need to set the N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE environment variable to true.

Since n8n is installed globally via npm (it's at /usr/lib/node_modules/n8n/) in proxmox, It runs as a systemd n8n.service where we will inject the environment variable.

To confirm, run this command to look for a systemd service in your n8n LXC console.

systemctl list-units --type=service | grep n8n

If it shows a result like n8n.service, continue with:

systemctl cat n8n.service

That will show how it’s being run.

Set MCP Environment Variable

Run:

systemctl edit n8n.service

Add these lines under [Service] in the editor:

Environment="N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true"

Save and exit, reload and restart.

systemctl daemon-reexec
systemctl daemon-reload
systemctl restart n8n.service

Confirm the variable

cat /proc/$(pgrep -f 'n8n')/environ | tr '\0' '\n' | grep N8N_COMMUNITY_PACKAGES

Restart your n8n LXC, then log into it.

Install the MCP Node in n8n

Go to n8n > settings > community nodes > click Install.

Write n8n-nodes-mcp for the npm Package Name, click install, and that should be it.

To confirm, create a workflow, open nodes panel and search for MCP and "MCP Client" will show up.

Your n8n instance on Proxmox is now MCP-ready.

You can build powerful AI Agent workflows by connecting external tools and resources using the MCP Client node.

If you run into issues or want to explore more AI integrations, check out the n8n documentation.