Integration

Railway integration

Modern cloud platform for deploying and hosting applications with automatic scaling, databases, and continuous deployments. Railway provides infrastructure as code, instant deployments from Git, environment management, and a GraphQL API for programmatic control of projects, services, deployments, environments, and variables.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Railway.Built from the 43 Railway tools below, on the connection you add once.

Common Railway use cases

  • Deploy from GitHub
  • Set up CI/CD
  • Force rebuild
  • Set API keys
  • List user's teams
  • View team details
  • Clear memory leaks
  • Remove old domains
  • Remove old secrets
  • Add database storage

What you can do with Railway

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Deployment, 10 operations

  • cancel_deploymentCancel deploymentPOSTCancels a deployment that is building or queued.
  • deploy_github_repoDeploy github repoPOSTDeploys a GitHub repository to Railway.
  • get_deploymentGet deploymentPOSTRetrieves detailed information about a specific deployment.
  • list_deploymentsList deploymentsPOSTRetrieves a list of deployments with optional filtering.
  • redeployRedeployPOSTRedeploys an existing deployment with same or updated configuration.
  • remove_deploymentRemove deploymentPOSTPermanently removes a deployment.
  • restart_deploymentRestart deploymentPOSTRestarts a running deployment without rebuilding.
  • rollback_deploymentRollback deploymentPOSTRolls back to a previous deployment version.
  • stop_deploymentStop deploymentPOSTStops a running deployment without removing it.
  • trigger_deploymentTrigger deploymentPOSTTriggers a new deployment from current source.

Service, 6 operations

  • connect_service_repoConnect service repoPOSTLinks a service to a GitHub repository for automatic deployments.
  • create_serviceCreate servicePOSTCreates a new service in a Railway project.
  • delete_serviceDelete servicePOSTDeletes a service and all its deployments.
  • get_serviceGet servicePOSTRetrieves detailed information about a specific service.
  • list_servicesList servicesPOSTRetrieves all services within a Railway project.
  • update_service_instanceUpdate service instancePOSTUpdates service instance configuration for a specific environment.

Project, 5 operations

  • create_projectCreate projectPOSTCreates a new Railway project with specified configuration.
  • delete_projectDelete projectPOSTPermanently deletes a Railway project and all associated resources.
  • get_projectGet projectPOSTRetrieves detailed information about a specific Railway project.
  • list_projectsList projectsPOSTRetrieves a list of all projects for the authenticated user or team.
  • update_projectUpdate projectPOSTUpdates a project's configuration and settings.

Domain, 4 operations

  • create_custom_domainCreate custom domainPOSTAdds a custom domain to a Railway service.
  • create_service_domainCreate service domainPOSTCreates a Railway-managed .railway.app subdomain for a service.
  • delete_custom_domainDelete custom domainPOSTRemoves a custom domain from a service.
  • list_domainsList domainsPOSTRetrieves all domains configured for a service.

Environment, 4 operations

  • create_environmentCreate environmentPOSTCreates a new environment in a project.
  • delete_environmentDelete environmentPOSTDeletes an environment and all associated deployments.
  • get_environmentGet environmentPOSTRetrieves detailed information about a specific environment.
  • list_environmentsList environmentsPOSTRetrieves all environments for a project.

Variable, 3 operations

  • delete_variableDelete variablePOSTDeletes an environment variable.
  • list_variablesList variablesPOSTRetrieves all environment variables for a service.
  • upsert_variablesUpsert variablesPOSTCreates or updates environment variables for a service.

Volume, 3 operations

  • create_volumeCreate volumePOSTCreates a new persistent volume for a service.
  • delete_volumeDelete volumePOSTPermanently deletes a volume and all its data.
  • list_volumesList volumesPOSTLists all persistent volumes in a project.

Tcp proxy, 2 operations

  • create_tcp_proxyCreate tcp proxyPOSTCreates a TCP proxy to expose non-HTTP ports.
  • delete_tcp_proxyDelete tcp proxyPOSTDeletes a TCP proxy.

Team, 2 operations

  • get_teamGet teamPOSTRetrieves detailed information about a specific team.
  • list_teamsList teamsPOSTLists all teams the user belongs to.

Build log, 1 operation

  • get_build_logsGet build logsPOSTRetrieves build logs for a deployment.

Log, 1 operation

  • get_deployment_logsGet deployment logsPOSTRetrieves runtime logs for a deployment.

Usage, 1 operation

  • get_usageGet usagePOSTRetrieves usage and billing information.

User, 1 operation

  • get_meGet mePOSTRetrieves information about the authenticated user.

Railway API rate limits

  • 17 requests per minute
  • Bursts of up to 10 requests

Hobby plan: 1000 RPH (~17 RPM), 10 RPS. Pro plan: 10000 RPH, 50 RPS. Free plan: 100 RPH.

These are the limits Railway documents, not ones LiveContext measured. They can change and often depend on your plan, so check the Railway documentation for current values.

Use Railway from Claude Code, Cursor or Codex

Connect Railway in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Railway operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Railway

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Railway once

    Add your Railway connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Railway integration FAQ

What can you do with the Railway integration?

LiveContext exposes 43 operations on Railway, covering deployment, service, project and domain. Common uses include Deploy from GitHub, Set up CI/CD and Force rebuild.

What are the Railway API rate limits?

Railway documents 17 requests per minute and bursts of up to 10 requests. Hobby plan: 1000 RPH (~17 RPM), 10 RPS. Pro plan: 10000 RPH, 50 RPS. Free plan: 100 RPH. Limits are set by Railway and can depend on your plan.

Popular integrations

Browse the whole catalog