"""
Base router interface for the API.
"""
from abc import ABC, abstractmethod
from fastapi import APIRouter
class BaseRouter(ABC):
"""
Base router interface for the API.
Defines the methods that all routers must provide.
"""
@abstractmethod
def get_router(self) -> APIRouter:
"""
Get the FastAPI router.
Returns:
FastAPI router
"""
pass
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/cabrit0/mcp_server_reuneMacacada'
If you have feedback or need assistance with the MCP directory API, please join our Discord server