Deploy to Railway
1
Build the artifact
2
Create a Dockerfile
Use the Docker deployment patterns to create your Dockerfile, or use a minimal example:
Adjust the Dockerfile to match your project structure. The key requirement is that the
dist/ directory containing the build artifact is available at runtime.3
Install the Railway CLI
4
Initialize and deploy
5
Set environment variables
6
Expose the service
In the Railway dashboard, go to your service’s Settings and generate a public domain. Your Hyperterse MCP endpoint will be available at
https://<your-domain>/mcp.Railway-managed databases
Railway provides one-click managed databases. Add a PostgreSQL or MySQL plugin from the dashboard, and Railway automatically injects the connection string as an environment variable..terse configuration:
Custom domains
In the Railway dashboard, navigate to Settings → Domains and add your custom domain. Railway provisions TLS certificates automatically.Scaling
Railway supports horizontal scaling through the dashboard. Increase the number of replicas under your service’s Settings → Scaling section. Each replica runs an independent instance ofhyperterse serve.