Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get-feature-flag
RAILWAY_MCP_GET_FEATURE_FLAGGet a Railway feature flag (Signal) by name for a project or its parent workspace scope.
Get-logs
RAILWAY_MCP_GET_LOGSGet logs from Railway for a deployment — covers deploy (runtime), build, and http (proxy request) contexts. Pass a specific deploymentId, or pass serviceId + environmentId to resolve the latest deployment. Use `types` to choose which streams to return (default: ['deploy']).
Get-service-config
RAILWAY_MCP_GET_SERVICE_CONFIGPrefer describe-service: it applies the staged diff onto the live config for you and adds mounted volumes, domains, TCP proxies and the latest deployment. Get a service's configuration in an environment: source (repo/image), build settings, deploy settings (start command, healthcheck, replicas, cron, restart policy), networking, and volume mounts. `config` is what is live; `staged` holds the not-yet-deployed changes as a diff against it, or null when nothing is staged. A service created with `staged: true` has an empty `config` until accept-deploy commits it. Variable names are listed but values are not included — use list-variables for values. If environmentId is omitted, the production environment is used.
Get-service-metrics
RAILWAY_MCP_GET_SERVICE_METRICSGet resource usage metrics (CPU, memory, disk, network) for a service, summarized as current/average/min/max over a time window. Defaults to CPU_USAGE and MEMORY_USAGE_GB over the last hour. If environmentId is omitted, the production environment is used.
Get-staged-changes
RAILWAY_MCP_GET_STAGED_CHANGESShow the changes staged in a Railway environment that accept-deploy would commit: per resource (service, volume, bucket, group) the action — create, delete, update — and each changed field with its live and staged value. Variable values and registry credentials are redacted to names. Also reports whether the patch is destructive and whether a commit is already applying. Review this before calling accept-deploy. If environmentId is omitted, the production environment is used.
Get-status
RAILWAY_MCP_GET_STATUSPrefer describe-environment: it also lists services that exist only in the staged patch, unattached volumes, and each resource's staged state. Get the deployment status of a Railway project environment. Returns project + environment metadata, whether the environment has undeployed staged changes, the environment's buckets, and for each live service its latest deployment status, replica count, cron schedule, and attached volumes. If environmentId is omitted, the project's `production` environment is used when present, otherwise the oldest environment.
Http-error-rate
RAILWAY_MCP_HTTP_ERROR_RATEGet the HTTP error rate for a service over time — the share of requests answered with a 5xx. Use this for reliability and to locate error spikes. 4xx responses are reported separately and are not counted in the rate, since a 404 or a rejected payload is usually the caller's doing. Defaults to the last hour. If environmentId is omitted, the production environment is used.
Http-requests
RAILWAY_MCP_HTTP_REQUESTSGet HTTP request counts for a service, bucketed over time and split by response status class (2xx/3xx/4xx/5xx). Use this for traffic volume and the mix of successful versus failing responses. Defaults to the last hour. If environmentId is omitted, the production environment is used.
Http-response-time
RAILWAY_MCP_HTTP_RESPONSE_TIMEGet HTTP latency percentiles (p50, p90, p95, p99) for a service, bucketed over time, in milliseconds. Use this for performance and to find slow requests. Defaults to the last hour. If environmentId is omitted, the production environment is used.
List-deployments
RAILWAY_MCP_LIST_DEPLOYMENTSList recent deployments for a Railway project, optionally filtered by environment, service, or status. Returns the most recent first.
List-domains
RAILWAY_MCP_LIST_DOMAINSList all domains (Railway-generated service domains and custom domains) for a service in an environment. If environmentId is omitted, the production environment is used.
List-feature-flags
RAILWAY_MCP_LIST_FEATURE_FLAGSList Railway feature flags (Signals) for a project and optionally the parent workspace. Project flags are editable with admin access; workspace flags are read-only from project context.
List-projects
RAILWAY_MCP_LIST_PROJECTSList all Railway projects accessible to the authenticated user
List-services
RAILWAY_MCP_LIST_SERVICESList the ids and names of all services and environments in a Railway project. Prefer describe-environment for what is actually in an environment: it includes volumes, buckets, deployments and staged changes.
List-tcp-proxies
RAILWAY_MCP_LIST_TCP_PROXIESList the TCP proxies exposing a service over the public internet on a raw TCP port (e.g. a database's public endpoint). Returns the public endpoint (host:port) and the application port each proxy forwards to.
List-variables
RAILWAY_MCP_LIST_VARIABLESList all environment variables for a service, fully rendered (reference variables like ${{Postgres.DATABASE_URL}} are resolved). With a Railway session or API token, values are returned in plaintext and may contain secrets. Connected OAuth apps receive variable names only. Sealed variables are always listed by name with no value — they are set, but nobody can read them back, so never recreate one. If environmentId is omitted, the production environment is used.
List-workspaces
RAILWAY_MCP_LIST_WORKSPACESList the Railway workspaces the current user belongs to. Use a workspace ID with create-project to choose where a project is created.
Railway-agent
RAILWAY_MCP_RAILWAY_AGENTSend a message to Railway's AI agent for complex infrastructure operations. The agent can inspect services, diagnose issues, and take actions on your behalf.
Redeploy
RAILWAY_MCP_REDEPLOYRe-run the most recent deployment of a service in a given environment, reusing that deployment's existing build. Only works on a service that has already deployed in that environment — check with list-deployments if you are unsure. This does NOT give a service its first deployment: if it has never deployed, nothing here can deploy it — use the Railway CLI (`railway up --project <id> --environment <id> --service <id>`), or attach a GitHub repo to the service in the dashboard. create-deployment would build a separate new service from a GitHub repo rather than deploying this one.
Restart-service
RAILWAY_MCP_RESTART_SERVICERestart a service's running deployment in place — the containers restart without rebuilding the image, and no new deployment is created (use redeploy for a fresh build copy). Restarting causes brief downtime; do NOT restart database services (Postgres, MySQL, Redis, MongoDB) or services with attached volumes unless the user explicitly asked, as it can interrupt in-flight queries and transactions.