Skip to main content
Glama
VeryBigSad

Nginx Proxy Manager MCP

by VeryBigSad

delete_stream

Remove a specific stream configuration from Nginx Proxy Manager by providing its unique ID to manage your web proxy infrastructure.

Instructions

Delete a stream by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stream_idYesThe ID of the stream to delete

Implementation Reference

  • The actual client implementation of the delete_stream logic, which performs a DELETE request to the Nginx stream API.
    async def delete_stream(self, stream_id: int) -> None:
        stream_id = _validate_int_id(stream_id, "stream_id")
        await self._request("DELETE", f"/api/nginx/streams/{stream_id}")
  • Tool registration for delete_stream in the MCP server.
    Tool(name="delete_stream", description="Delete a stream by ID", inputSchema=_id_schema("stream_id", "The ID of the stream to delete")),
  • The server handler code that processes the delete_stream tool call and invokes the client method.
    elif name == "delete_stream":
        await npm_client.delete_stream(arguments["stream_id"])
        return _msg_response("Stream deleted 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