Railway's official MCP server lets coding agents create and manage projects, deploy templates and apps, configure environments and variables, and analyze logs. It connects via the Railway CLI (railway mcp) or directly with OAuth, and a local mode is available for restricted networks. Destructive actions are flagged at the protocol level.
Also available as
Connect
- 1Connect it in ChatGPT
Turn on Developer mode in ChatGPT (Settings → Security and login), open Plugins, select + and paste https://mcp.railway.com as the MCP server URL, then sign in with OAuth. Add it to a chat from the composer's tools menu.
- 2Or add it to Codex or the API
codex mcp add railway --url https://mcp.railway.com codex mcp login railwayThe login command opens a browser to finish OAuth.
Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.
Tools 11
whoamilist-projectscreate-projectlist-servicesredeployaccept-deploylist-feature-flagsget-feature-flagset-feature-flagdelete-feature-flagrailway-agentThings to ask
- “Create a new Railway project with a Postgres database”
- “List the services in my project”
- “Redeploy the api service”
- “Turn on the new-checkout feature flag”