Railway MCP Server
Enables management of Railway infrastructure, including project inspection, service configuration, environment management, environment variable manipulation, and deployment operations such as status monitoring and log retrieval.
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 Serverlist all services in my production environment"
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
A Model Context Protocol server that lets you manage Railway infrastructure from claude.ai (or any MCP client). Built with FastMCP and deployed on Railway itself.
What It Does
17 tools across 5 categories:
Projects - List and inspect your Railway projects
Services - View service configuration and status per environment
Environments - List, create, and duplicate environments
Variables - List, set, bulk set, and delete environment variables
Deployments - Check status, read logs, redeploy, and restart
Related MCP server: Railway MCP Server
Why
Railway has an official MCP server but it wraps the CLI and only works locally (stdio transport). This server hits the Railway GraphQL API directly over HTTP, so it can be deployed as a remote service and connected to claude.ai as a connector.
Setup
1. Get a Railway API Token
Go to railway.com/account/tokens and create an account-level token.
2. Deploy to Railway
Create a new Railway project
Connect this GitHub repo
Set environment variables:
RAILWAY_API_TOKEN= your tokenPORT=8000MCP_TRANSPORT=streamable-http
Generate a public domain
3. Connect to claude.ai
Add the MCP connector URL: https://{your-domain}/mcp
Local Development
# Clone and install
git clone https://github.com/Travis-Gilbert/railway-mcp.git
cd railway-mcp
pip install -e .
# Set up env
cp .env.example .env
# Edit .env with your Railway API token
# Run locally
python -m railway_mcp
# Or with stdio transport
MCP_TRANSPORT=stdio python -m railway_mcpTech Stack
Python 3.12
FastMCP (MCP protocol + transport)
httpx (async HTTP client)
Pydantic v2 (input validation)
Railway GraphQL API v2
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Build, validate, deploy — HTTP APIs, cron jobs, webhooks and MCP tools — from your AI client.
Deploy full-stack apps (Postgres, Redis, S3, workers, backups) from Claude or curl. 59 MCP tools.
Related MCP Servers
- 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, allowing users to deploy services, manage environment variables, monitor deployments, and configure projects directly from MCP clients like Claude.3850 npmMIT
- AlicenseNot gradedqualityDmaintenanceUnofficial MCP server for Railway that enables managing Railway infrastructure through natural language, including projects, services, deployments, environments, variables, templates, domains, volumes, observability, integrations, networking, and workflows.64 npm2MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that exposes the Railway API as tools for Claude. Manage Railway projects, services, deployments, variables, environments, and domains directly from Claude.16 npmMIT