Built by Metorial, the integration platform for agentic AI.

Learn More

Tools

List Environments

List all environments in a Railway project (e.g., production, staging). Each environment maintains its own variables, domains, and deployment configurations.

List Deployments

List deployments for a service in a specific environment. Returns deployment status, URLs, and timestamps. Use this to check deployment history and current status.

Create Environment

Create a new environment in a Railway project. Optionally clone from an existing environment to copy its configuration and variables.

Update Volume

Rename a persistent storage volume.

Delete Environment

Permanently delete an environment from a Railway project. This removes all environment-specific configurations, variables, and domains. This action cannot be undone.

Rollback Deployment

Roll back a service to a previous deployment. The target deployment must support rollback (check canRollback with Get Deployment). Railway creates a new deployment based on the specified one; use List Deployments to follow its progress.

Delete Domain

Remove a domain from a Railway service. Works for both Railway-provided domains and custom domains. Use **isCustom** to specify the domain type.

Get Service

Retrieve detailed information about a Railway service, including its environment-specific configuration (build settings, deploy settings, replicas, etc.) when an environment ID is provided.

Cancel Deployment

Cancel an in-progress deployment. Use this to stop a build or deploy that is currently running.

Create Project

Create a new Railway project. Optionally assign it to a workspace and set a description.

Update Service

Update a Railway service's metadata (name, icon) and environment-specific settings (build command, start command, replicas, region, health check, etc.). Provide an environment ID to update environment-specific settings.

Set Variables

Create or update one or more environment variables for a service, or shared variables for an environment when serviceId is omitted. Provide variables as key-value pairs. Existing variables with the same name will be overwritten. Use **replaceAll** to remove all existing variables and set only the provided ones.

Get Domains

List all domains (both Railway-provided and custom) for a service in a specific environment. Includes DNS record status for custom domains.

Delete Project

Permanently delete a Railway project and all its services, environments, and deployments. This action cannot be undone.

Trigger Deployment

Trigger a new deployment for a service in a specific environment. Optionally provide a commit SHA for a connected GitHub service.

List Volumes

List all persistent storage volumes in a Railway project. Provide an environment ID to also list the volume instances in that environment (with mount paths, sizes, and the volume instance IDs used by the volume instance and backup tools).

Create Volume

Create a new persistent storage volume and attach it to a service. Volumes retain data across deployments. Specify a mount path where the volume will be accessible inside the container.

Delete Variable

Delete a specific environment variable from a service in a given environment, or a shared environment variable when serviceId is omitted.

Get Project

Retrieve detailed information about a Railway project including its services and environments.

Create Domain

Add a domain to a Railway service. Creates either a Railway-provided domain (*.up.railway.app) or attaches a custom domain. For custom domains, DNS records will be provided that must be configured with your DNS provider.

Get Variables

Retrieve environment variables for a project and environment. Optionally filter by service to get service-specific variables. Returns the rendered (resolved) variable values.

List Projects

List all Railway projects accessible to the authenticated user. Optionally filter by workspace (discover workspace IDs with Get Current User). Returns project names, descriptions, and timestamps, with cursor pagination.

Get Deployment Logs

Retrieve build or runtime logs for a deployment. Use **logType** to specify whether to get build logs (compilation output) or deploy logs (runtime output).

Delete Service

Permanently delete a Railway service. This removes all deployments and configuration for the service. This action cannot be undone.

Update Project

Update an existing Railway project's name, description, or settings like public visibility and PR deploy previews.

Get Environment

Get detailed information about an environment including its service instances and their latest deployment status.

Create Service

Create a new service in a Railway project. Optionally connect it to a GitHub repo or Docker image.

Get Deployment

Get detailed information about a specific deployment, including its status, URLs, metadata, and whether it can be redeployed or rolled back.

Delete Volume

Permanently delete a persistent storage volume. All data stored on the volume will be lost. This action cannot be undone.

Remove Deployment

Remove a Railway deployment from deployment history.

Create Volume Backup

Create a backup for a Railway volume instance. Railway returns a workflow ID for the backup job.

List Volume Backups

List backups for a Railway volume instance.

List Regions

List Railway deployment regions. Optionally provide a project ID to include project-specific availability.

Check Domain Availability

Check whether a custom domain can be added to Railway.

Update Custom Domain

Update settings for a Railway custom domain, such as the target service port.

Restart Deployment

Restart a running Railway deployment without rebuilding it.

Get Environment Logs

Retrieve recent logs from all services in a Railway environment.

Create Tcp Proxy

Create a public TCP proxy for a Railway service instance.

Get Volume Instance

Get details for a Railway volume instance in a specific environment, including mount path, size, and state.

Get Project Members

List members of a Railway project and their project roles.

Get Tcp Proxies

List TCP proxies configured for a Railway service in an environment.

Get HTTP Logs

Retrieve HTTP request logs for a Railway deployment, including request path, status, timings, and edge metadata.

Stop Deployment

Stop a running Railway deployment.

Get Domain Status

Get DNS verification and certificate status for a Railway custom domain. Find custom domain IDs with Get Domains.

Delete Tcp Proxy

Delete a Railway TCP proxy.

Rename Environment

Rename a Railway environment.

Redeploy Deployment

Redeploy an existing deployment, rebuilding and redeploying the same source. Returns the new deployment Railway created. The deployment must support redeploys (check canRedeploy with Get Deployment).

Get Current User

Identify the connected Railway credentials. Returns the user profile for account and OAuth tokens, the workspaces the token can access (use these workspace IDs with List Projects and Create Project), and the project and environment for project tokens.