Skip to main content
Glama

tcp_proxy_create

Create TCP proxies to expose database connections and external services, enabling secure access to TCP-based applications within Railway environments.

Instructions

[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

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/antonioevans/railway-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server