Railway MCP Server v2
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.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Railway MCP Server v2list my recent deployments for the ecommerce-api service"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 |
Related MCP server: Railway MCP Server
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
This server cannot be deployed
Maintenance
Related MCP Connectors
16 AI-native tools with dual SSE + streamable-http transport. Free tier available.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
ADHD-friendly tasks, notes & projects for LucidNest - 18 tools, scoped tokens, Streamable HTTP.
Deploy full-stack apps (Postgres, Redis, S3, workers, backups) from Claude or curl. 59 MCP tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI clients to interact with Letta.ai's stateful agents via cloud deployment on Railway. Provides 20+ tools for agent management, conversations, memory operations, and tool configuration through a streamable HTTP transport optimized for production use.5MIT
- AlicenseAqualityDmaintenanceEnables management of Railway.app infrastructure through natural language, including deploying services, managing environment variables, monitoring deployments, and controlling project resources.3650 npmMIT
- AlicenseAqualityDmaintenanceEnables management of Railway.app infrastructure through natural language, including deploying services, managing environment variables, monitoring deployments, and handling databases and volumes.3650 npmMIT
- AlicenseAqualityDmaintenanceEnables management of Railway.app infrastructure through natural language, allowing users to deploy services, manage environment variables, monitor deployments, and configure projects directly from MCP clients like Claude.3850 npmMIT