railway-mcp

by jason-tan-swe
Verified

tcp_proxy_create

[API] Create a new TCP proxy for a service

⚡️ Best for: ✓ Setting up database access ✓ Configuring external connections ✓ Exposing TCP services

⚠️ Not for: × HTTP/HTTPS endpoints (use domain_create) × Internal service communication

→ Prerequisites: service_list

→ Alternatives: domain_create

→ Next steps: tcp_proxy_list

→ Related: service_info, service_update

Input Schema

NameRequiredDescriptionDefault
applicationPortYesPort of application/service to proxy, usually based off of the service's Dockerfile or designated running port.
environmentIdYesID of the environment (usually obtained from service_info)
serviceIdYesID of the service

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "applicationPort": { "description": "Port of application/service to proxy, usually based off of the service's Dockerfile or designated running port.", "type": "number" }, "environmentId": { "description": "ID of the environment (usually obtained from service_info)", "type": "string" }, "serviceId": { "description": "ID of the service", "type": "string" } }, "required": [ "environmentId", "serviceId", "applicationPort" ], "type": "object" }