Skip to main content
Glama

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
NameRequiredDescriptionDefault
environmentIdYesID of the environment containing the service
serviceIdYesID of the service to list TCP proxies for

Implementation Reference

  • 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); }
  • 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") },
  • 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 ); });
  • tcpProxyTools (containing the tcp_proxy_list tool) is included in the allTools array for registration.
    ...tcpProxyTools,

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/jason-tan-swe/railway-mcp'

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