Skip to main content
Glama
VeryBigSad

Nginx Proxy Manager MCP

by VeryBigSad

enable_stream

Activate a stream proxy configuration in Nginx Proxy Manager to route network traffic through the specified stream ID.

Instructions

Enable a stream

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stream_idYesThe ID of the stream to enable

Implementation Reference

  • Implementation of the `enable_stream` method in the NPM client.
    async def enable_stream(self, stream_id: int) -> None:
        stream_id = _validate_int_id(stream_id, "stream_id")
        await self._request("POST", f"/api/nginx/streams/{stream_id}/enable")
  • Tool registration for `enable_stream`.
    Tool(name="enable_stream", description="Enable a stream", inputSchema=_id_schema("stream_id", "The ID of the stream to enable")),
  • Tool handler dispatch logic for `enable_stream`.
    elif name == "enable_stream":
        await npm_client.enable_stream(arguments["stream_id"])
        return _msg_response("Stream enabled successfully")

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