Skip to main content
Use Railway when you want the simplest hosted deployment for Redop’s built-in HTTP transport.

Before you start

This guide assumes:
  • your server uses listen({ transport: "http" }) or the default HTTP path
  • the app binds hostname: "0.0.0.0"
  • the app reads PORT from process.env.PORT
If you used create-redop-app --transport http --deploy railway, you already have the right starting shape.

Railway fit

Example src/index.ts

Optional Railway health endpoint

If you want Railway to probe a separate route, opt in explicitly:

Deploy steps

  1. Push your Redop project to GitHub.
  2. Create a new Railway project from that repository.
  3. Set the start command to:
  1. Leave PORT to Railway. Do not hardcode a different production port.
  2. Deploy the service.

Health checks

Redop does not mount /mcp/health by default. If you want a custom Railway health check endpoint, enable one with health: true or health: { path: "/health" }. Otherwise, verify the MCP endpoint directly.

Verify the deployment

Replace the hostname with your Railway service URL:
What success looks like:
  • HTTP 200
  • a JSON-RPC response body
  • result.serverInfo.name matches your Redop server

Next