Self-host n8n MCP on a VPS
A Model Context Protocol server that gives AI assistants searchable n8n node documentation. MIT licensed. The bearer token is generated for you.
levelrail-cli templates deploy n8n-mcp --name my-n8n-mcpSpecification
- Status
- Listed
- Category
- AI
- Services
- n8n-mcp
- Ports
- 3000
- Volumes
- 0
- Memory
- about 256 MiB
- arm64
- unknown
- amd64
- unknown
- Settings to fill in
- none
- License
- Permissive license, MIT
- Listing
- Community template
About n8n MCP
A Model Context Protocol server that gives AI assistants searchable n8n node documentation. MIT licensed. The bearer token is generated for you.
What it deploys
n8n MCP runs as one service in a single Compose app, listening on port 3000.
| Service | Image | Tag | Ports | Volumes |
|---|---|---|---|---|
| n8n-mcp | ghcr.io/czlonkowski/n8n-mcp | 2.102.0 | 3000 | none |
Before you install
- CPU architecture. arm64 unknown. The scan could not read a manifest or the tag is chosen at install time. This is not a claim either way.
- Listed. It is in the catalog. Back up the data volume before changing an image tag.
Settings and environment
You do not have to fill in anything. 1 secret is generated at deploy and stored encrypted. Values are never shown here.
| Service | Variable | Value |
|---|---|---|
| n8n-mcp | AUTH_TOKEN | Generated at deploy |
| n8n-mcp | MCP_MODE | Preset by the template |
| n8n-mcp | PORT | Preset by the template |
First run
- Point your MCP client at the public address with the generated token as the bearer token.
Install n8n MCP on a VPS
-
Install Levelrail on a fresh VPS
Run this as root on a Linux server (amd64 or arm64) with ports 80 and 443 reachable. The installer prints a setup link.
curl -fsSL https://levelrail.com/install.sh | sudo sh -
Sign in
Open the setup link, choose a password, then log the CLI in. The CLI install command is
curl -fsSL https://levelrail.com/install-cli.sh | shif the machine does not have it. See Getting started.levelrail-cli login --device -
Read the template
Shows the entry, including its full compose.yaml.
levelrail-cli templates get n8n-mcp -
Deploy it
This deploys the template compose file as an app. The app name defaults to the template id; --name sets another.
levelrail-cli templates deploy n8n-mcp --name my-n8n-mcp
Without a domain the app gets an sslip.io address. You can also deploy it from the dashboard: Apps, New app, Browse templates, then n8n MCP.
Docs and upstream
More in AI
- n8n AI Starter Kitn8n wired to a local Ollama model and a Qdrant vector store, ready for private AI workflows.
- New APIAn LLM gateway and AI asset management system that unifies many model providers.
- MLflowTrack experiments, compare runs, and manage models with a self-hosted MLflow tracking server.
- MindsDBA query layer that connects data sources and AI models so you can ask questions in SQL. MIT licensed. Includes the web editor and the HTTP API.
- MetaMCPAn MCP aggregator and gateway that groups many MCP servers behind one endpoint with auth, namespaces and middleware.
- OllamaA local LLM runtime with an HTTP API. Pull any model yourself once it's running.