From 3fb3e015ba262b57db3d0f2e421ba307e06a73f8 Mon Sep 17 00:00:00 2001 From: czlonkowski <56956555+czlonkowski@users.noreply.github.com> Date: Wed, 16 Jul 2025 10:30:20 +0200 Subject: [PATCH] docs: add Railway deployment documentation (implements PR #53 review feedback) - Add Railway as Option 4 in Quick Start section per review request - Include brief explanation of Railway platform - Add deploy button with proper placement - Document setup instructions and environment variables - Add AUTH_TOKEN configuration note - Include database availability requirements note - Configure Claude Desktop integration via mcp-remote This commit implements the documentation requirements from PR #53 review, completing the Railway deployment feature. --- README.md | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cd6d594..1ef13a8 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,6 @@ A Model Context Protocol (MCP) server that provides AI assistants with comprehen [](https://railway.app/new/template?sourceUrl=https://github.com/czlonkowski/n8n-mcp) - ## Overview n8n-MCP serves as a bridge between n8n's workflow automation platform and AI models, enabling them to understand and work with n8n nodes effectively. It provides structured access to: @@ -210,6 +209,49 @@ Add to Claude Desktop config: **Restart Claude Desktop after updating configuration** - That's it! 🎉 +### Option 4: Railway (Cloud Deployment) ☁️ + +[Railway](https://railway.app) is a cloud platform that makes deploying applications simple and straightforward. Deploy n8n-MCP with one click: + +[](https://railway.app/new/template/github-czlonkowski-n8n-mcp) + +**After deployment:** + +1. **Set environment variables** in Railway dashboard: + ``` + AUTH_TOKEN=your-secure-token + N8N_API_URL=https://your-n8n-instance.com (optional) + N8N_API_KEY=your-api-key (optional) + ``` + +2. **Get your deployment URL** from Railway (e.g., `https://n8n-mcp.up.railway.app`) + +3. **Configure Claude Desktop** to use your Railway deployment: + ```json + { + "mcpServers": { + "n8n-mcp-remote": { + "command": "npx", + "args": [ + "-y", + "@modelcontextprotocol/mcp-remote@latest", + "connect", + "https://your-app.up.railway.app/mcp" + ], + "env": { + "MCP_AUTH_TOKEN": "your-auth-token" + } + } + } + } + ``` + +**Notes:** +- Railway provides automatic HTTPS and scaling +- The pre-built database (`nodes.db`) is included in the deployment +- Set AUTH_TOKEN to secure your deployment +- Railway offers a free tier suitable for personal use + ## 💖 Support This Project