Skip to main content
Glama
VeryBigSad

Nginx Proxy Manager MCP

by VeryBigSad

get_stream

Retrieve a specific Nginx Proxy Manager stream configuration by its unique ID to view or manage proxy settings.

Instructions

Get a specific stream by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stream_idYesThe ID of the stream

Implementation Reference

  • The actual implementation of the get_stream method that performs the API request to the Nginx Proxy Manager instance.
    async def get_stream(self, stream_id: int) -> Stream:
        stream_id = _validate_int_id(stream_id, "stream_id")
        response = await self._request("GET", f"/api/nginx/streams/{stream_id}")
        return Stream(**response.json())
  • Registration of the get_stream tool in the MCP server.
    Tool(name="get_stream", description="Get a specific stream by ID", inputSchema=_id_schema("stream_id", "The ID of the stream")),
  • Handler in the MCP server that calls the NPMClient for the get_stream tool.
    elif name == "get_stream":
        return _model_response(await npm_client.get_stream(arguments["stream_id"]))

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/VeryBigSad/nginx-proxy-manager-mcp'

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