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.

Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.

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 deploymentPOSTAgents: ask firstCancels a deployment that is building or queued.
  • deploy_github_repoDeploy github repoPOSTAgents: ask firstDeploys a GitHub repository to Railway.
  • get_deploymentGet deploymentPOSTAgents: ask firstRetrieves detailed information about a specific deployment.
  • list_deploymentsList deploymentsPOSTAgents: ask firstRetrieves a list of deployments with optional filtering.
  • redeployRedeployPOSTAgents: ask firstRedeploys an existing deployment with same or updated configuration.
  • remove_deploymentRemove deploymentPOSTAgents: ask firstPermanently removes a deployment.
  • restart_deploymentRestart deploymentPOSTAgents: ask firstRestarts a running deployment without rebuilding.
  • rollback_deploymentRollback deploymentPOSTAgents: ask firstRolls back to a previous deployment version.
  • stop_deploymentStop deploymentPOSTAgents: ask firstStops a running deployment without removing it.
  • trigger_deploymentTrigger deploymentPOSTAgents: ask firstTriggers a new deployment from current source.

Service, 6 operations

  • connect_service_repoConnect service repoPOSTAgents: ask firstLinks a service to a GitHub repository for automatic deployments.
  • create_serviceCreate servicePOSTAgents: ask firstCreates a new service in a Railway project.
  • delete_serviceDelete servicePOSTAgents: ask firstDeletes a service and all its deployments.
  • get_serviceGet servicePOSTAgents: ask firstRetrieves detailed information about a specific service.
  • list_servicesList servicesPOSTAgents: ask firstRetrieves all services within a Railway project.
  • update_service_instanceUpdate service instancePOSTAgents: ask firstUpdates service instance configuration for a specific environment.

Project, 5 operations

  • create_projectCreate projectPOSTAgents: ask firstCreates a new Railway project with specified configuration.
  • delete_projectDelete projectPOSTAgents: ask firstPermanently deletes a Railway project and all associated resources.
  • get_projectGet projectPOSTAgents: ask firstRetrieves detailed information about a specific Railway project.
  • list_projectsList projectsPOSTAgents: ask firstRetrieves a list of all projects for the authenticated user or team.
  • update_projectUpdate projectPOSTAgents: ask firstUpdates a project's configuration and settings.

Domain, 4 operations

  • create_custom_domainCreate custom domainPOSTAgents: ask firstAdds a custom domain to a Railway service.
  • create_service_domainCreate service domainPOSTAgents: ask firstCreates a Railway-managed .railway.app subdomain for a service.
  • delete_custom_domainDelete custom domainPOSTAgents: ask firstRemoves a custom domain from a service.
  • list_domainsList domainsPOSTAgents: ask firstRetrieves all domains configured for a service.

Environment, 4 operations

  • create_environmentCreate environmentPOSTAgents: ask firstCreates a new environment in a project.
  • delete_environmentDelete environmentPOSTAgents: ask firstDeletes an environment and all associated deployments.
  • get_environmentGet environmentPOSTAgents: ask firstRetrieves detailed information about a specific environment.
  • list_environmentsList environmentsPOSTAgents: ask firstRetrieves all environments for a project.

Variable, 3 operations

  • delete_variableDelete variablePOSTAgents: ask firstDeletes an environment variable.
  • list_variablesList variablesPOSTAgents: ask firstRetrieves all environment variables for a service.
  • upsert_variablesUpsert variablesPOSTAgents: ask firstCreates or updates environment variables for a service.

Volume, 3 operations

  • create_volumeCreate volumePOSTAgents: ask firstCreates a new persistent volume for a service.
  • delete_volumeDelete volumePOSTAgents: ask firstPermanently deletes a volume and all its data.
  • list_volumesList volumesPOSTAgents: ask firstLists all persistent volumes in a project.

Tcp proxy, 2 operations

  • create_tcp_proxyCreate tcp proxyPOSTAgents: ask firstCreates a TCP proxy to expose non-HTTP ports.
  • delete_tcp_proxyDelete tcp proxyPOSTAgents: ask firstDeletes a TCP proxy.

Team, 2 operations

  • get_teamGet teamPOSTAgents: ask firstRetrieves detailed information about a specific team.
  • list_teamsList teamsPOSTAgents: ask firstLists all teams the user belongs to.

Build log, 1 operation

  • get_build_logsGet build logsPOSTAgents: ask firstRetrieves build logs for a deployment.

Log, 1 operation

  • get_deployment_logsGet deployment logsPOSTAgents: ask firstRetrieves runtime logs for a deployment.

Usage, 1 operation

  • get_usageGet usagePOSTAgents: ask firstRetrieves usage and billing information.

User, 1 operation

  • get_meGet mePOSTAgents: ask firstRetrieves 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