Self-host n8n or your own MCP server

Build · OpsChecked 2026-10-18

Own your automation and agent tools without managing servers by hand.

View 3 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.

Steps

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

  1. Railway

    Deploys the service and volume

    The CLI’s local MCP server adds deploy_template, create_volume and get_logs tools; with OAuth you choose which workspaces and projects the client can reach.

    MCPConfirmedSource ↗
  2. n8n

    Runs workflows; can expose them as MCP tools

    MCPConfirmedSource ↗
  3. You

    Set authentication, secrets and backups before connecting agents

    Human stepConfirmed

Human approval

You own access controls and backups.

Watch out for

Keep the human approval step: You own access controls and backups.

Compare options

For preparing automation-service deployment configuration.

Coding tools are not hosts; test runtime, secrets and recovery separately. Choose one for implementing and reviewing code changes; switching may need setup changes.

Unpaid picks. No partnership with OpenAI Codex, Cursor, Google Antigravity.

  1. Primary pick

    OpenAI Codex

    Used by Ion — Used by Ion for its own work. This is separate from recommendation rank and is not a claim that every feature was tested.

    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 · 2026-11-23 · Product reference ↗

  2. Second option

    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 · 2026-10-21 · Product reference ↗

  3. Third option

    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 · 2026-10-18 · Product reference ↗

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, MCP connections and portability and switching costs.

Starter prompt

Goal: Own your automation and agent tools without managing servers by hand. Tools involved: Railway, n8n. I will set authentication, secrets and backups before connecting agents. 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

ToolRoleOfficial site
RailwayMCP railway.com ↗
n8nMCP n8n.io ↗

AI platform fit

PlatformStatusWhy
Claude (incl. Claude Code) To verify Railway: MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it; n8n: MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it
OpenAI Codex To verify Railway: MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it; n8n: MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it
Google Antigravity To verify Railway: MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it; n8n: MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it
ChatGPT To verify Railway: MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it; n8n: MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it
Gemini To verify Railway: MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it; n8n: MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it
Perplexity To verify Railway: MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it; 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

  • Railway MCP. Railway runs a remote MCP server and a local one through its CLI. The local server’s tools include search_templates, deploy_template, create_volume and get_logs. With OAuth, you choose which workspaces and projects the client can access, tokens are short-lived, and you can revoke them in your Railway account settings.
  • n8n on Railway. Railway’s n8n template page is community-published and pairs n8n with a Postgres database and volumes. Railway also lists an n8n template with queue workers.
  • n8n MCP Server Trigger exposes connected tool nodes over HTTP/SSE; it does not execute arbitrary downstream nodes. Use a Call n8n Workflow Tool to expose a complete workflow. Configure Bearer or header authentication before remote use; stdio is not supported.
  • Costs. Railway bills by usage. Its Hobby plan has a $5 monthly minimum that includes $5 of usage (Railway pricing page, checked 2026-10-17).
  • Railway’s own n8n guide (checked 2026-10-18). Railway’s docs describe a one-click n8n template, plus a manual path from the n8nio/n8n Docker image with a volume and a webhook URL. For agent-designed workflows, the community n8n-MCP server gives an AI client node documentation; review each workflow before you activate it.

Set it up

  1. Inspect the template, image version, services and costs before deployment. Create the owner account, configure TLS and webhook URLs, and keep database connections private.
  2. Turn on authentication for every MCP Server Trigger.
  3. Back up the database and required encryption-key configuration securely; test a restore before relying on it. A deployed volume alone is not a tested backup.
  4. Test one narrow tool with a permitted client, then review execution logs and failure behavior. Configure updates, spending alerts and an owner for ongoing maintenance.

Sources

Related workflows

No affiliate links on this page. No paid placements in workflows. How IonBin makes money.