list_streams
Retrieve all TCP and UDP stream proxy configurations from Nginx Proxy Manager to view and manage network traffic routing.
Instructions
List all TCP/UDP stream proxies
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/npm_mcp/client.py:274-276 (handler)The implementation of list_streams in the client class, which fetches streams from the API.
async def list_streams(self) -> List[Stream]: response = await self._request("GET", "/api/nginx/streams") return [Stream(**s) for s in response.json()] - src/npm_mcp/server.py:126-126 (registration)Tool registration for 'list_streams' in the server.
Tool(name="list_streams", description="List all TCP/UDP stream proxies", inputSchema=_empty_schema()), - src/npm_mcp/server.py:410-411 (handler)The request handler block in the server that calls the client's list_streams method.
elif name == "list_streams": return _list_response(await npm_client.list_streams())