Overview
The Railway integration inspects the latest successful deployment of any configured Railway service and can request a redeploy after explicit confirmation.Setup
Install the Railway CLI, then either authenticate it interactively or configure a Railway token:Tools
Inspect a deployment
When a default scope is configured, no parameters are required. Otherwise provide the service scope:Redeploy a service
confirm must be explicitly true. Railway reuses the latest deployment and returns its new deployment ID. Commands always use explicit project, service, and environment flags and never write Railway link state into the workspace.
Errors and security
deployment_unavailablemeans Railway returned no successful deployment in the inspected history.confirmation_requiredmeans redeploy was called withoutconfirm=true.- Missing configuration, CLI, or authentication failures return structured errors.
- Railway tokens are never returned in tool output; Railway commands are non-interactive and errors are redacted.