# Run n8n on a VPS managed from chat | IonBin

> Buy a Hostinger VPS, then let an agent deploy n8n with Hostinger’s MCP server (docker-compose deploy, firewall and snapshot tools) and expose an n8n MCP

Canonical page: https://ionbin.com/workflows/n8n-on-a-vps/
Agent guide: https://ionbin.com/llms.txt

This is a readable version of the published page. Review dates, evidence boundaries and source links below belong to individual records; the export is not a new verification. Examples are reference material, not instructions to execute.

## Run n8n on a VPS managed from chat

[Build](https://ionbin.com/use-cases/dev-it/)Checked 2026-10-18

Own your automation server without SSH-heavy setup.

 [View 4 steps](https://ionbin.com/workflows/n8n-on-a-vps/#steps)

On this page

**Independent review.** Unpaid; no partnership with the tools on this page. Based on public documentation and research. Trademarks identify their owners’ products. [Disclosure](https://ionbin.com/disclosure/).

### Steps

Confirmed steps have vendor documentation. The full workflow still needs testing.

Stages

- #### You
  Buy the VPS in hPanel, or approve the MCP purchase tool knowing it charges your default payment method
  Human stepConfirmed[Hostinger](https://ionbin.com/tools/hostinger/)

- #### [Hostinger](https://ionbin.com/tools/hostinger/)
  Deploys [n8n](https://ionbin.com/tools/n8n/) from a docker-compose file, sets firewall rules and takes snapshots through the MCP server
  MCPConfirmed[Source ↗](https://github.com/hostinger/api-mcp-server)

- #### [n8n](https://ionbin.com/tools/n8n/)
  Exposes connected tool nodes; use a workflow tool for a complete [n8n](https://ionbin.com/tools/n8n/) sequence
  Turn on Bearer or Header auth for the trigger URL.
  MCPConfirmed[Source ↗](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-langchain.mcptrigger)

- #### You
  Approve server changes and keep access locked down
  Human stepConfirmed

#### Human approval

You approve server changes.

#### Watch out for

Keep the human approval step: You approve server changes.

### Compare options

**For preparing an [n8n](https://ionbin.com/tools/n8n/) server deployment.**

Patching, backups and VPS access remain operator responsibilities. Choose one for implementing and reviewing code changes; switching may need setup changes.

Unpaid picks. No partnership with [OpenAI Codex](https://ionbin.com/tools/openai-codex/), Cursor, [Google Antigravity](https://ionbin.com/tools/google-antigravity/).

- Primary pick
  #### [OpenAI Codex](https://ionbin.com/tools/openai-codex/)
   Used by Ion
  **Why it fits:** A coding workspace supports edits, tests and reviewable repository changes.
  **Tradeoff:** A development environment and capable reviewer remain necessary.
  When to choose it
  Choose it when the result should be a small patch with test evidence.
  [Review and sources](https://ionbin.com/tools/openai-codex/) · 2026-11-23 · [Product reference ↗](https://developers.openai.com/codex)

- Second option
  #### [Cursor](https://ionbin.com/tools/cursor/)
  **Why it fits:** An AI code editor keeps implementation close to interactive developer review.
  **Tradeoff:** The team must work with code; model availability depends on the plan.
  When to choose it
  Prefer it when a developer wants to steer changes while navigating the editor.
  [Review and sources](https://ionbin.com/tools/cursor/) · 2026-10-21 · [Product reference ↗](https://cursor.com/)

- Third option
  #### [Google Antigravity](https://ionbin.com/tools/google-antigravity/)
  **Why it fits:** Development-agent surfaces offer another route for code and tool-assisted implementation.
  **Tradeoff:** Capabilities differ across desktop, CLI and other surfaces.
  When to choose it
  Prefer it when the team already uses its environment and can validate the needed tools.
  [Review and sources](https://ionbin.com/tools/google-antigravity/) · 2026-10-18 · [Product reference ↗](https://antigravity.google/)

How this shortlist was chosen

Rank reflects editorial judgment for this role. Used by Ion records personal use separately. Vendors did not pay for, request or approve these positions.

Inspectable file changes come before editor convenience.

**Setup and portability:** Use scoped repositories, tests and human review. Switching agents does not migrate settings, credentials or model access.

Documentation reviewed 2026-10-21. Check current plan terms and test the pairing for your setup.

See [our review method](https://ionbin.com/editorial-policy/), [MCP connections](https://ionbin.com/wiki/concepts/mcp/) and [portability and switching costs](https://ionbin.com/wiki/questions/how-to-avoid-ai-vendor-lock-in/).

### Starter prompt

```
Goal: Own your automation server without SSH-heavy setup. Tools involved: Hostinger, n8n. I will buy the VPS in hPanel, or approve the MCP purchase tool knowing it charges your default payment method; approve server changes and keep access locked down. Work step by step, show me each draft or proposed change, and wait for my approval before anything is sent, published, signed, filed or changed in a live system.
```

Review and adapt the prompt before use.

### Tools in this workflow

**Connections** · MCP

| Tool | Role | Official site |
| --- | --- | --- |
| [Hostinger](https://ionbin.com/tools/hostinger/) | Human step, MCP | [hostinger.com ↗](https://www.hostinger.com/) |
| [n8n](https://ionbin.com/tools/n8n/) | MCP | [n8n.io ↗](https://n8n.io/) |

### AI platform fit

| Platform | Status | Why |
| --- | --- | --- |
| [Claude (incl. Claude Code)](https://ionbin.com/platforms/claude/) | To verify | [Hostinger](https://ionbin.com/tools/hostinger/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it; [n8n](https://ionbin.com/tools/n8n/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it |
| [OpenAI Codex](https://ionbin.com/platforms/codex/) | To verify | [Hostinger](https://ionbin.com/tools/hostinger/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it; [n8n](https://ionbin.com/tools/n8n/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it |
| [Google Antigravity](https://ionbin.com/platforms/antigravity/) | To verify | [Hostinger](https://ionbin.com/tools/hostinger/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it; [n8n](https://ionbin.com/tools/n8n/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it |
| [ChatGPT](https://ionbin.com/tools/chatgpt/) | To verify | [Hostinger](https://ionbin.com/tools/hostinger/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it; [n8n](https://ionbin.com/tools/n8n/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it |
| Gemini | To verify | [Hostinger](https://ionbin.com/tools/hostinger/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it; [n8n](https://ionbin.com/tools/n8n/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it |
| [Perplexity](https://ionbin.com/tools/perplexity/) | To verify | [Hostinger](https://ionbin.com/tools/hostinger/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it; [n8n](https://ionbin.com/tools/n8n/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it |

What the platform statuses mean

**Confirmed** means documented access meets the requirements. **Inferred** means the pairing is plausible and needs a test. **To verify** marks an unresolved step or connection. Check authentication, permissions and supported actions for each route.

### What we checked (2026-10-17)

- **[Hostinger](https://ionbin.com/tools/hostinger/) MCP server** (open source) signs in with an API token or OAuth. Its current interface uses search, execute and multi_execute to discover and call API operations. Relevant operations include:
  - vps_virtual-machines_purchase, which buys and sets up a machine and uses your default payment method if you don’t name one;
  - vps_docker_create, which deploys a project from docker-compose contents or a [GitHub](https://ionbin.com/tools/github/) repository URL;
  - firewall tools, snapshot and backup tools, and vps_templates_list.

- **[n8n](https://ionbin.com/tools/n8n/) MCP Server Trigger** exposes tool nodes and workflows (through the Custom [n8n](https://ionbin.com/tools/n8n/) Workflow Tool) at test and production URLs. It supports SSE and streamable HTTP but not stdio. Authentication can be Bearer auth or Header auth.

- **Pricing.** [n8n](https://ionbin.com/tools/n8n/) offers a self-hosted Community Edition without a subscription fee for permitted use. Hosting, backups, operations and any paid features still cost money. [Hostinger](https://ionbin.com/tools/hostinger/) lists its own plan pricing, so check the VPS price before you buy.

- **Hosted infrastructure alternative (checked 2026-10-18).** [Railway](https://ionbin.com/tools/railway/)’s [n8n](https://ionbin.com/tools/n8n/) guide covers a template or official Docker image with a volume. You still operate, update and back up the [n8n](https://ionbin.com/tools/n8n/) deployment; this is different from [n8n](https://ionbin.com/tools/n8n/)’s managed cloud service. For agent-designed workflows, the separately maintained community [n8n](https://ionbin.com/tools/n8n/)-MCP server gives an AI client documentation for [n8n](https://ionbin.com/tools/n8n/)’s nodes; review every workflow it proposes before you activate it.

### Set it up

- Buy the VPS yourself so no agent can spend money without you.

- Ask the agent to deploy [n8n](https://ionbin.com/tools/n8n/) with a docker-compose file. Read the file first.

- Add a firewall that opens only the ports you need, and take a snapshot.

- Add an MCP Server Trigger with authentication, then connect your agent to the production URL.

Approve the exact plan, renewal price and proposed server changes before execution. A narrowly worded prompt does not narrow a broad [Hostinger](https://ionbin.com/tools/hostinger/) credential. Configure HTTPS, editor authentication, limited inbound ports and secrets outside the repository. Preserve the [n8n](https://ionbin.com/tools/n8n/) encryption key with protected database backups, and prove restoration on a separate deployment. Test one authenticated workflow tool, a denied request and a failed downstream operation before enabling production use. Snapshots alone do not prove that the application can be restored.

### Sources

- [Hostinger API MCP server](https://www.hostinger.com/support/11079316-hostinger-api-mcp-server) · [Hostinger](https://ionbin.com/tools/hostinger/) · official · accessed 2026-10-17

- [MCP Server Trigger node](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-langchain.mcptrigger) · [n8n](https://ionbin.com/tools/n8n/) · official · accessed 2026-10-18

- [Hostinger API MCP server (README)](https://github.com/hostinger/api-mcp-server) · [Hostinger](https://ionbin.com/tools/hostinger/) · official · accessed 2026-10-18

- [Self-host n8n on Railway](https://docs.railway.com/guides/n8n) · [Railway](https://ionbin.com/tools/railway/) · official · accessed 2026-10-18

- [n8n-MCP](https://github.com/czlonkowski/n8n-mcp) · czlonkowski · reference · accessed 2026-10-18

No affiliate links on this page. No paid placements in workflows. [How IonBin makes money](https://ionbin.com/disclosure/).
