tcp_proxy_list
Retrieve and manage TCP proxy configurations for a service in a specific environment. Use this tool to audit endpoints, ensure external access control, and prepare for proxy setup.
Instructions
[API] List all TCP proxies for a service in a specific environment
⚡️ Best for: ✓ Viewing TCP proxy configurations ✓ Managing external access ✓ Auditing service endpoints
→ Prerequisites: service_list
→ Next steps: tcp_proxy_create
→ Related: domain_list, service_info
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environmentId | Yes | ID of the environment containing the service | |
| serviceId | Yes | ID of the service to list TCP proxies for |
Implementation Reference
- src/tools/tcpProxy.tool.ts:26-28 (handler)The handler function for the tcp_proxy_list tool, which calls tcpProxyService.listTcpProxies(environmentId, serviceId) to retrieve the list of TCP proxies.async ({ environmentId, serviceId }) => { return tcpProxyService.listTcpProxies(environmentId, serviceId); }
- src/tools/tcpProxy.tool.ts:22-25 (schema)Zod input schema defining the required parameters: environmentId and serviceId.{ environmentId: z.string().describe("ID of the environment containing the service"), serviceId: z.string().describe("ID of the service to list TCP proxies for") },
- src/tools/index.ts:31-36 (registration)Registration loop that registers all tools, including tcp_proxy_list from tcpProxyTools, with the MCP server.// Register each tool with the server allTools.forEach((tool) => { server.tool( ...tool ); });
- src/tools/index.ts:24-24 (registration)tcpProxyTools (containing the tcp_proxy_list tool) is included in the allTools array for registration....tcpProxyTools,