Skip to main content
Glama
VeryBigSad

Nginx Proxy Manager MCP

by VeryBigSad

disable_stream

Deactivate a specific stream in Nginx Proxy Manager to stop its traffic routing and processing functions.

Instructions

Disable a stream

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stream_idYesThe ID of the stream to disable

Implementation Reference

  • The handler method in NPMClient that performs the actual API call to disable a stream.
    async def disable_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}/disable")
  • Tool registration in list_tools().
    Tool(name="disable_stream", description="Disable a stream", inputSchema=_id_schema("stream_id", "The ID of the stream to disable")),
  • The tool call dispatcher branch for disable_stream.
    elif name == "disable_stream":
        await npm_client.disable_stream(arguments["stream_id"])
        return _msg_response("Stream disabled 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