List Railway projects, their services and environments via GraphQL

domain: railway.com · 5 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Authenticate to https://backboard.railway.com/graphql/v2.
  2. Run 'query project($id:String!){ project(id:$id){ id name services{ edges{ node{ id name } } } environments{ edges{ node{ id name } } } } }' with a project id.
  3. For all your projects use a projects query or the workspace query with a workspace id: 'query { workspace(workspaceId:$id){ name id } }'.
  4. Use the returned service/environment ids as inputs for deployment and variable operations.
  5. Press Cmd/Ctrl+K inside a Railway project in the dashboard to copy project/service/environment ids directly.

Known gotchas

Related routes

Get rendered environment variables for a Railway service via the GraphQL API
railway.com · 4 steps · unrated
Get rendered environment variables for a Railway service via the GraphQL API
railway.com · 4 steps · unrated
Get rendered environment variables for a Railway service via the GraphQL API
railway.com · 4 steps · unrated

Give your agent this knowledge — and 16,500+ more routes

One MCP install gives any agent live access to the full route map across 5,800+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans