railway-mcp
by jason-tan-swe·★ 72·Score 43
A TypeScript MCP server for Railway.app that enables infrastructure management through natural language commands.
Overview
The railway-mcp server provides comprehensive integration with the Railway.app deployment platform, allowing users to manage projects, services, deployments, and variables through Model Context Protocol. It features authentication via Railway API tokens, supports multiple MCP clients like Claude Desktop and Cursor, and offers both quick installation through Smithery and manual configuration options. The server includes detailed documentation with security considerations, troubleshooting guidance, and example workflows for common use cases.
Try asking AI
After installing, here are 6 things you can ask your AI assistant:
When to choose this
Choose railway-mcp if you use Railway.app for deployments and want to manage it through AI assistants like Claude, especially when combined with terminal-capable clients like Cursor for full deployment automation.
When NOT to choose this
Avoid this if you need full database template support, automatic GitHub repository linking, or are looking for a mature project with all features implemented (many are still marked as under development).
Tools this server exposes
12 tools extracted from the READMEconfigureSet your Railway API token
project-listList all projects in your account
project-infoGet detailed information about a specific project
service-listList all services in a specific project
service-create-from-repoCreate a new service from a GitHub repository
deployment-listList recent deployments for a service
deployment-triggerTrigger a new deployment for a service
variable-listList variables for a service or environment
variable-setCreate or update a variable
variable-deleteDelete a variable
service-restartRestart a service in a specific environment
database-deployDeploy a new database service
Comparable tools
Installation
Installation
Prerequisites
- Node.js 18+
- Railway account
- Railway API token (create at https://railway.app/account/tokens)
Quick Start
**Using Smithery (recommended):**
npx -y @smithery/cli install @jason-tan-swe/railway-mcp --client claude**Manual Installation for Claude Desktop:** Add to your config file (claude_desktop_config.json):
{
"mcpServers": {
"railway": {
"command": "npx",
"args": ["-y", "@jasontanswe/railway-mcp"],
"env": {
"RAILWAY_API_TOKEN": "your-railway-api-token-here"
}
}
}
}**Manual Installation for Cursor:**
- Go to Cursor settings > MCP section
- Click 'Add new MCP server'
- Name it 'railway-mcp'
- Command:
npx -y @jasontanswe/railway-mcp <RAILWAY_API_TOKEN>
FAQ
- Is this server officially supported by Railway.app?
- No, this is an unofficial community-built MCP server for Railway.app.
- Which MCP clients are supported?
- Claude Desktop is battle-tested, Cursor needs testing, while Cline and Windsurf are still being evaluated.
- How secure is my Railway API token?
- Your token is stored in configuration files or environment variables. Sensitive data is masked when displayed, and all API calls use HTTPS.
Compare railway-mcp with
Last updated · Auto-generated from public README + GitHub signals.