We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Maxbleu/MCP-F1data'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
base_tools.py•465 B
from fastmcp import FastMCP
from abc import abstractmethod
class BaseTools:
def __init__(self, mcp: FastMCP):
self.mcp = mcp
@classmethod
@abstractmethod
def __register_mcp_tools__(cls, mcp: FastMCP) -> None:
"""
Register all tools with the MCP server.
Must be implemented by all subclasses.
Args:
mcp: FastMCP instance to register tools with
"""
pass