get_receivers
Retrieve a complete list of notification integration receivers associated with the alertmanager-mcp-server to manage and configure alerting systems.
Instructions
Get list of all receivers (name of notification integrations)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The main handler function for the 'get_receivers' tool. It is decorated with @mcp.tool for registration and makes a GET request to the Alertmanager API endpoint /api/v2/receivers via the make_request helper.@mcp.tool(description="Get list of all receivers (name of notification integrations)") async def get_receivers(): """Get list of all receivers (name of notification integrations) Returns ------- list: Return a list of Receiver objects from Alertmanager instance. """ return make_request(method="GET", route="/api/v2/receivers")