"""Auto-import all tools for registration with FastMCP."""
import os
import importlib
from pathlib import Path
# Get the directory containing this file
tools_dir = Path(__file__).parent
# Import all Python files in this directory (except __init__.py)
for file in tools_dir.glob("*.py"):
if file.name != "__init__.py" and not file.name.startswith("_"):
module_name = file.stem
importlib.import_module(f".{module_name}", package=__name__)
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/mbailey/voicemode'
If you have feedback or need assistance with the MCP directory API, please join our Discord server