Overview
The Railway integration inspects the latest successful deployment of any configured Railway service.Prerequisites
- Railway CLI installed (
@railway/cli) - Either an authenticated Railway CLI session (
railway login) or a Railway token - Optional defaults: project, service, and environment to inspect
Setup
Option 1: Interactive CLI
Option 2: Environment variables
Credentials
- Install the Railway CLI and run
railway login, or create a Railway token in the Railway dashboard. - Optionally set default project / service / environment so inspect calls need fewer parameters.
- Store the token in
.envasRAILWAY_TOKENor enter it duringopensre integrations setup railway.
Tools
Inspect a deployment
When a default scope is configured, no parameters are required. Otherwise provide the service scope:Verify
Troubleshooting
Security
- Railway tokens are never returned in tool output; Railway commands are non-interactive and errors are redacted.
- Prefer a dedicated token scoped to the projects OpenSRE should touch.
- Store tokens in
.envor your secret manager — not in source control.