Railway MCP Server
OfficialThe Railway MCP Server is an experimental local server that provides opinionated workflows and tools for efficiently managing Railway resources. Key capabilities include:
CLI Integration: Verify Railway CLI installation and user login status
Project Management: Create, list, and link projects to your current directory
Service Management: List, link, and deploy services from your directory or Railway Template Library using fuzzy search
Environment Management: Create, link, and manage environments with options to duplicate existing environments and configure service variables
Configuration & Variables: List, set, and manage environment variables, plus generate
railway.appdomains for projects or servicesMonitoring & Logs: Retrieve build or deployment logs with options to specify deployment ID, service, and environment
IDE Integration: Supports setup and usage with Cursor and VSCode
Provides comprehensive tools for managing Railway infrastructure including project and service management, deployments from templates, environment configuration, domain generation, and monitoring through build/deployment logs.
Click on "Install 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 Serverdeploy a Postgres database for my new project"
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 is deprecated
Railway MCP is now bundled into the Railway CLI.
This npm package no longer contains the standalone TypeScript MCP server. It is a compatibility shim that launches:
railway mcpMigration
Install or upgrade the Railway CLI:
bash <(curl -fsSL https://railway.com/install.sh)Then configure supported MCP clients:
railway mcp installTo configure the hosted MCP server instead of the local stdio server:
railway mcp install --remoteYou can also configure a local MCP client directly with:
{
"mcpServers": {
"railway": {
"command": "railway",
"args": ["mcp"]
}
}
}Remove old client entries that run:
npx -y @railway/mcp-serverRelated MCP server: Caltrain MCP Server
Compatibility
For existing configs that still invoke @railway/mcp-server, this package delegates to railway mcp.
If the Railway CLI is missing, the package exits with migration instructions.
Docs
See the Railway CLI MCP docs: https://docs.railway.com/cli/mcp
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Appeared in Searches
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/railwayapp/railway-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server