π
Railway
App Deployment Cloud & DevOpsInstall Command
npx clawhub@latest install railway
Installation Guide
1
Check Environment
Make sure Node.js 22+ and OpenClaw are installed. Run openclaw --version in your terminal to verify.
2
Run Installation
Run the install command above in your terminal. ClawHub will automatically download and install Railway to the ~/.openclaw/skills/ directory.
3
Verify Installation
Run openclaw skills list to check your installed skills and confirm Railway appears in the list.
4
Configure (Optional)
Follow the configuration instructions in the description below to add skill settings to ~/.config/openclaw/openclaw.json5.
Manual Installation: Copy the Skill folder to
~/.openclaw/skills/ or the skills/ directory in your project root. Make sure the folder contains a SKILL.md file.
Project and service management
One-click deployment and rollback
Real-time logs and environment variables
Detailed Description
Railway MCP server integrates the Railway application deployment platform, enabling AI to help you create projects, deploy services, view logs, and manage environment variables, simplifying full-stack application deployment and operations.
Core Features
- Project Management (list_projects/create_project): Create and manage Railway projects, view services and environments under a project
- Service Deployment: Deploy services from GitHub repositories or Docker images, with support for automatic and manual trigger deployment
- Log Viewing (get_deployment_logs): Get service build logs and runtime logs, track application status in real-time
- Environment Variables: Manage service environment variables, with support for environment-specific differentiation (production/staging)
- Deployment Management: View deployment history, rollback to previous versions, restart services
- Domain Configuration: Configure custom domains and automatic HTTPS for services
Configuration
{
"mcpServers": {
"railway": {
"command": "npx",
"args": ["-y", "@railway/mcp-server"],
"env": {
"RAILWAY_API_TOKEN": "your-api-token" // Get from Railway Dashboard
}
}
}
}
Use Cases
- Quick deployment: One-click deploy backend services and databases from GitHub repositories
- Incident troubleshooting: View runtime logs to identify application crash causes
- Environment management: Sync configuration between staging and production environments
- Service scaling: Adjust service resource configurations and replica counts