Enables deployment of applications from GitHub repositories to Railway through the deploy_from_github tool.
Provides comprehensive tools for managing Railway projects, services, and deployments, including creating projects and services, deploying from GitHub repositories, managing environment variables, configuring domains, viewing deployment logs, and controlling service lifecycle operations.
Railway MCP Server v2
Railway MCP Server using the official @modelcontextprotocol/sdk with full support for:
Streamable HTTP transport (modern, recommended)
SSE transport (legacy compatibility)
Endpoints
Endpoint | Method | Description |
| POST | Streamable HTTP transport |
| DELETE | Session cleanup |
| GET | SSE transport (legacy) |
| POST | SSE messages endpoint |
| GET | Health check |
Tools (17 total)
list_projects- List all Railway projectsget_project- Get project detailslist_services- List services in a projectlist_deployments- List deployments for a serviceget_deployment_logs- Get deployment logslist_variables- List environment variableslist_environments- List environments in a projectcreate_project- Create a new Railway projectcreate_service- Create a new servicedeploy_from_github- Deploy from GitHub repocreate_domain- Generate a domain for a serviceset_variable- Set an environment variableset_variables_bulk- Set multiple variables at oncerestart_service- Restart a servicedelete_project- Delete a projectdelete_service- Delete a servicedelete_variable- Delete an environment variable
Environment Variables
RAILWAY_API_TOKEN- Your Railway API token (required)PORT- Server port (default: 3000)
Deploy to Railway
Create a new project in Railway
Connect this GitHub repo
Add environment variable:
RAILWAY_API_TOKENDeploy!
Connect to Claude.ai
Use one of these URLs in Claude.ai Connectors:
Streamable HTTP:
https://your-domain.railway.app/mcpSSE (legacy):
https://your-domain.railway.app/sse