Skip to main content
Glama
Red5d

Beszel MCP Server

by Red5d

list_systems

Retrieve paginated lists of monitored systems in Beszel with filtering and sorting options to manage infrastructure visibility.

Instructions

List all monitored systems in Beszel.

Args: page: Page number (default: 1) per_page: Number of results per page (default: 50) filter: PocketBase filter string (e.g., "name ~ 'server'" or "status = 'active'") sort: Sort order (e.g., "-created" for descending by created date)

Returns: Dictionary containing paginated list of systems with their status and metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
per_pageNo
filterNo
sortNo

Implementation Reference

  • The handler function decorated with @mcp.tool() that implements the list_systems tool. It authenticates with the PocketBase client and retrieves a paginated list of systems, supporting filters and sorting.
    @mcp.tool()
    async def list_systems(
        page: int = 1,
        per_page: int = 50,
        filter: Optional[str] = None,
        sort: Optional[str] = None,
    ) -> dict:
        """List all monitored systems in Beszel.
        
        Args:
            page: Page number (default: 1)
            per_page: Number of results per page (default: 50)
            filter: PocketBase filter string (e.g., "name ~ 'server'" or "status = 'active'")
            sort: Sort order (e.g., "-created" for descending by created date)
        
        Returns:
            Dictionary containing paginated list of systems with their status and metadata
        """
        client = get_client()
        await ensure_authenticated(client)
        
        return await client.get_list(
            collection="systems",
            page=page,
            per_page=per_page,
            filter=filter,
            sort=sort,
        )

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/Red5d/beszel-mcp'

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