Railway for AI agents
Railway is a deployment platform for building and shipping applications with instant deployments and managed infrastructure. Developers use it to deploy services without managing servers directly. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.
What agents do in Railway.
Deploy a service
Trigger a deployment of a service so the latest code goes live.
Check deployment logs read-only
Pull build and deployment logs to debug why a release failed.
Delete an environment with approval
Remove an environment and its resources only after a team member confirms it is unused.
59 Railway actions, graded by risk.
Every Railway action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.
read
25Look things up. Allowed by default.
- railway.get_templateGet Template
- railway.list_domainsList Domains
- railway.list_volumesList Volumes
- railway.get_http_logsGet HTTP Logs
- railway.list_projectsList Projects
- railway.list_servicesList Services
- railway.get_build_logsGet Build Logs
- railway.get_deploymentGet Deployment
- railway.list_variablesList Variables
- railway.get_environmentGet Environment
- railway.list_api_tokensList API Tokens
- railway.get_http_metricsGet HTTP Metrics
- railway.list_deploymentsList Deployments
- railway.search_templatesSearch Templates
- railway.list_environmentsList Environments
- railway.list_git_hub_reposList GitHub Repos
write
27Create and change things. Allow, or ask the user first.
- railway.create_domainCreate Domain
- railway.create_pluginCreate Plugin
- railway.create_volumeCreate Volume
- railway.update_domainUpdate Domain
- railway.update_volumeUpdate Volume
- railway.create_projectCreate Project
- railway.create_serviceCreate Service
- railway.update_projectUpdate Project
- railway.update_serviceUpdate Service
- railway.create_environmentCreate Environment
- railway.update_volume_instanceUpdate Volume Instance
- railway.update_service_instanceUpdate Service Instance
- railway.deploy_serviceDeploy Service
- railway.stage_templateStage Template
- railway.deploy_templateDeploy Template
- railway.stop_deploymentStop Deployment
destructive
7Delete, cancel or archive. Ask first, or deny outright.
- railway.delete_domainDelete Domain
- railway.delete_volumeDelete Volume
- railway.delete_variableDelete Variable
- railway.delete_workspaceDelete workspace
- railway.cancel_deploymentCancel Deployment
- railway.delete_deploymentDelete Deployment
- railway.delete_environmentDelete Environment
Railway in three steps.
- 01Your users connect RailwayThey sign in to Railway on Arc0 Connect, under your brand, and approve the access you ask for.
- 02You set the rulesReads run, writes like “create Domain” can wait for the user, and “delete Domain” can be denied outright.
- 03Any agent can actYour agent calls Railway through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
await arc0.policies.set('railway', { read: 'allow', write: 'ask', // create_domain destructive: 'deny', // delete_domain }) # Claude Code: the same connection, one URL $ claude mcp add --transport http arc0 \ https://mcp.arc0.ai/u/u_8f2
How Railway connects.
Users sign in to Railway on Arc0 Connect and approve the scopes you request. Build with Arc0’s Railway OAuth app, or bring your own so the Railway consent screen names you. Tokens refresh automatically, and you can export them whenever you want.
The same Railway connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →
- AUTH
- API key · OAuth 2.0
- CREDENTIALS
- Per-tenant encrypted vault
- MODEL SEES
- Results only, never credentials
- AUDIT LOG
- Every call, on every plan
Use Railway from any agent.
Railway and Arc0, answered.
Can I use Railway with Claude, ChatGPT or Cursor?
Yes. Connect Railway to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Railway actions you allow.
How do users connect Railway?
Users sign in to Railway on Arc0 Connect and approve the scopes you request. Build with Arc0’s Railway OAuth app, or bring your own so the Railway consent screen names you. Tokens refresh automatically, and you can export them whenever you want.
Which Railway actions can my agent take?
59 in total: 25 read, 27 write and 7 destructive, such as “create Domain”. Your policies decide which of them each agent may call.
Can I stop my agent from deleting things in Railway?
Yes. Actions like “delete Domain” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.
Can my own backend call Railway too?
Yes. The same Railway connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.
Plug Railway into your agent.
Your users connect Railway once, under your brand. Your agent gets 59 actions behind your policies, with every call on the record.
Free to build · MCP + REST · Audit log on every plan