We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xhiroga/blender-mcp-senpai'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
fast_mcp.py•571 B
from logging import getLogger
from mcp.server.fastmcp import FastMCP
from .tools import tool_functions
logger = getLogger(__name__)
# The function may access global state internally (e.g., logger config, though FastMCP only modifies its internal logger)
# Therefore, we use a factory method pattern for the singleton to control execution order
def get_sse_app():
fast_mcp = FastMCP("Blender Senpai")
for tool in tool_functions.values():
fast_mcp.add_tool(tool)
logger.info(f"Registered tool: {tool.__name__}")
return fast_mcp.sse_app()