mcp.catalog_mcp_servers
MCP Server Catalog.
Predefined MCP server configurations that can be used by agents. Credentials are configured via environment variables.
This file is AUTO-GENERATED from YAML specifications. DO NOT EDIT MANUALLY - run 'make specs' to regenerate.
check_env_vars_available
def check_env_vars_available(env_vars: list[str]) -> bool
Check if all required environment variables are set.
Arguments:
env_vars- List of environment variable names to check.
Returns:
True if all env vars are set (non-empty), False otherwise.
get_catalog_server
def get_catalog_server(server_id: str) -> MCPServer | None
Get a catalog MCP server by ID (accepts both bare and versioned refs).
Arguments:
server_id- The unique identifier of the MCP server.
Returns:
The MCPServer configuration, or None if not found.
list_catalog_servers
def list_catalog_servers() -> list[MCPServer]
List all catalog MCP servers with availability status.
For each server, checks if the required environment variables are set
and updates the is_available field accordingly.
Returns:
List of all catalog MCPServer configurations with updated availability.