Skip to main content
Glama
omniwaifu

arr-assistant-mcp

by omniwaifu

get_server_status

Verify the operational status and connectivity of Radarr and Sonarr servers to ensure smooth content management and automation workflows.

Instructions

Check the status and connectivity of Radarr and Sonarr servers.

Returns: Status information for both servers

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'get_server_status' tool, registered via the @mcp.tool decorator. It verifies the configuration, initializes the MediaServerAPI, checks Radarr and Sonarr statuses asynchronously, and returns a dictionary with the results including a timestamp.
    @mcp.tool async def get_server_status() -> Dict[str, Any]: """ Check the status and connectivity of Radarr and Sonarr servers. Returns: Status information for both servers """ if not config: return {"error": "Server not configured"} api = MediaServerAPI(config) radarr_status = await api.check_radarr_status() sonarr_status = await api.check_sonarr_status() return { "radarr": radarr_status, "sonarr": sonarr_status, "timestamp": datetime.now().isoformat() }

Other Tools

Related Tools

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/omniwaifu/arr-assistant-mcp'

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