@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 mcp
Migration
Install or upgrade the Railway CLI:
bash <(curl -fsSL https://railway.com/install.sh)
Then configure supported MCP clients:
railway mcp install
To configure the hosted MCP server instead of the local stdio server:
railway mcp install --remote
You 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-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