使用说明
🚀 MCP业务工具
完成模型上下文协议(MCP)服务器设置,用于铁路上具有容器隔离的业务自动化。
🎯 这有什么作用
通过以下方式转变您的业务自动化 所有与AI连接的工具:
- 📝 概念 -页面、数据库、内容管理
- 🐙 GitHub -存储库管理、问题、PR
- 📊 甲硫醇 -社交媒体分析、日程安排、竞争对手分析
- 🎨 可画 -设计创建、模板、导出
- 🌐 维克斯 -网站管理和API访问
- 📁 Google 云端硬盘 -文件管理、共享、搜索
- 💾 文件系统 -文件操作和存储
🏗️ 建筑
Railway Service: "mcp-business-servers"
├── notion-mcp (Container 1) - Port 3001
├── github-mcp (Container 2) - Port 3002
├── filesystem-mcp (Container 3) - Port 3003
├── metricool-mcp (Container 4) - Port 3004
├── canva-mcp (Container 5) - Port 3005
├── wix-mcp (Container 6) - Port 3006
├── gdrive-mcp (Container 7) - Port 3007
└── mcp-gateway (Container 8) - Port 8080 (Public)
✅ 主要优势:
- 集装箱隔离 -如果Canva崩溃,Notion将继续工作!
- 成本效益高 -单程铁路服务(约20-30美元/月)
- 自动恢复 -失败的容器会自动重新启动
- 通用访问 -通过N8N从Claude网络/移动设备使用
- 业务连续性 -关键工具保持在线
🚀 快速部署到铁路
步骤1:获取API密钥(15分钟)
每个服务都需要API凭据:
|服务|从|获取API密钥|必需的计划| |---------|------------------|---------------| | 概念 | notion.so/my集成 |免费| | GitHub | github/设置/令牌 |免费| | 甲硫醇 | metricool.com/api |高级级别| | 可画 | canva.com/开发者 |按次付费| | 维克斯 | dev.wix.com |现场平面图| | Google 云端硬盘 | console.developers.google.com |免费|
步骤2:部署到铁路(5分钟)
-
转到铁路仪表板
- 访问 railway应用程序
- 选择你的项目(例如,“勇敢的更新”)
-
从GitHub部署
- 点击“从GitHub仓库部署”
- 选择
chillz-id/mcp-business-tools - 铁路将自动检测Docker Compose
-
设置环境变量
- 转到铁路中的变量选项卡
- 从以下位置复制值
.env.example - 添加您的实际API密钥
关键变量:
N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true
NOTION_API_KEY=secret_your_integration_token
GITHUB_PERSONAL_ACCESS_TOKEN=ghp_your_token
METRICOOL_USER_TOKEN=your_metricool_token
METRICOOL_USER_ID=your_metricool_id
CANVA_CLIENT_ID=your_canva_client_id
CANVA_CLIENT_SECRET=your_canva_client_secret
WIX_API_KEY=your_wix_api_key
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
GOOGLE_REFRESH_TOKEN=your_google_refresh_token
步骤3:验证部署(2分钟)
- 检查服务状态 -铁路仪表板显示“活动”
- 测试网关 -访问:
https://your-service.railway.app/health - 查看服务 -访问:
https://your-service.railway.app/services
🔌 连接到N8N
配置MCP客户端凭据
在N8N中为每个服务创建单独的MCP客户端凭据:
示例:概念MCP
- 凭证类型:
MCP Client (SSE) API - SSE网址:
https://your-service.railway.app/notion/sse
对所有服务重复以下步骤:
- github:
/github/sse - 甲硫醇:
/metricool/sse - Canva:
/canva/sse - WIX:
/wix/sse - 谷歌云端硬盘:
/gdrive/sse - 文件系统:
/filesystem/sse
构建业务工作流
社交媒体管理:
1. Metricool → Get best posting times
2. Canva → Create visual content
3. Metricool → Schedule posts
4. Metricool → Analyze competitors
客户端项目设置:
1. Notion → Create project database
2. GitHub → Set up repository
3. WIX → Deploy client site
4. Drive → Create shared folder
5. Metricool → Set up social tracking
AI代理集成
- 添加AI代理节点 N8N
- 启用MCP工具 在AI代理设置中
- 配置Claude API 作为你的模特
- 业务提示测试:
"I need to start a new client project. Create a Notion page for project tracking,
set up a GitHub repository for the code, create a shared Google Drive folder
for assets, and schedule a social media announcement about the project launch."
💰 成本细分
铁路托管
- 8个集装箱 全天候运行
- 预计成本: 20-35美元/月
- 资源使用情况: ~2GB RAM,共享CPU
API成本(每月)
- 概念: 免费(个人/小团队)
- github: 免费(公共仓库)
- 甲硫醇: 49-99美元(需要高级级别)
- Canva: 每个API-呼叫付费(每次呼叫约0.01-0.10美元)
- WIX: 根据现场平面图(14-39美元/月)
- 谷歌云端硬盘: 免费套餐(15GB)
每月总计: 85-175美元(主要是API订阅)
📞 后续步骤
- 部署到铁路 使用此存储库
- 获取API密钥 对于您要使用的服务
- 配置N8N MCP凭据 对于每项服务
- 构建您的第一个自动化工作流程
- 扩展并添加更多服务 根据需要
准备好实现业务自动化了吗? 🚀
📋 快速参考
服务URL(部署后)
Gateway: https://your-service.railway.app
Health: https://your-service.railway.app/health
Services: https://your-service.railway.app/services
存储库结构
├── docker-compose.yml # Main orchestration
├── railway.json # Railway configuration
├── .env.example # Environment variables template
├── gateway/ # MCP Gateway service
│ ├── Dockerfile
│ ├── server.js # Express proxy server
│ └── package.json
└── README.md # This file
自动化快乐! 🎯