{
  "slug": "railway-tcp-proxy-manages-public-tcp-proxies-bbdc3c93af76",
  "title": "railway tcp-proxy manages public TCP proxies",
  "tools": [
    "railway"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-16T14:11:21.000Z",
  "announced_at": "2026-06-16T14:11:21.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When managing a service’s public TCP proxies, use `railway tcp-proxy` with `list`, `create`, `status`, or `delete`; only one proxy is allowed per service instance. For create, specify the application port; if the proxy does not become active, redeploy the service and check its status.",
    "examples": [
      "railway tcp-proxy list --service <service> --project <project> --environment <environment> --json",
      "railway tcp-proxy create --port <application-port> --service <service>",
      "railway tcp-proxy delete <proxy-id-or-domain-or-endpoint-or-port> --service <service> --yes"
    ],
    "gotchas": [
      "Version: v5.15.0",
      "--service <SERVICE>: Service name or ID.",
      "--environment <ENVIRONMENT>: Environment to use.",
      "--project <PROJECT_ID>: Project ID to use.",
      "--json: Output in JSON format.",
      "--port <PORT> (required): Application port to expose through the TCP proxy.",
      "<PROXY> (required): For status/delete: proxy ID, domain, endpoint, proxy port, or application port.",
      "--yes: For delete, skip confirmation.",
      "Prerequisite: Only one TCP proxy is allowed per service instance.",
      "Prerequisite: The CLI must be installed; docs list Homebrew, npm, Scoop, and pre-built binaries. npm installation requires Node.js 16 or higher.",
      "Railway enforces a one-TCP-proxy-per-service-instance constraint before mutation.",
      "Committed creates are verified through the TCP proxy query with a short retry loop to tolerate read-after-write lag.",
      "Docs conflict: The current official CLI docs list `status` and `delete` subcommands, not the card’s `get` and `remove` names; these docs are on main and may describe a newer version than v5.15.0.",
      "Docs conflict: Current official CLI docs do not document local MCP tools `list_tcp_proxies`, `create_tcp_proxy`, `get_tcp_proxy`, or `remove_tcp_proxy`."
    ]
  },
  "why_it_matters": "Manage public TCP proxies for a Railway service from the CLI or local CLI MCP server.",
  "sources": [
    "https://github.com/railwayapp/cli/releases/tag/v5.15.0",
    "https://github.com/railwayapp/cli/pull/969",
    "https://github.com/railwayapp/docs/blob/main/content/docs/cli/tcp-proxy.md",
    "https://github.com/railwayapp/docs/blob/main/content/docs/cli.md"
  ],
  "rank": 0.98033,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1b-20261016",
    "verdict_id": "wave1b-20261016:wave1b-20261016-ff0a7737d760d92f-0:gate",
    "evidence_hash": "1e147b55c8d91b0b442621606d05c9ee0414d1f36bbae6f311016d2c39423fab"
  },
  "review": {
    "draft_hash": "bc63972c40fd64800d64cf2c2788605593251ebfc186f83e442ba0ba166d6c43",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1b-20261016:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.98 >= 0.9; 2 needed) and Jev gave 0.83 (>= 0.6 needed)."
  }
}
