Skip to main content
Glama

Fantasy Premier League MCP Server

""" Mock MCP module for testing. This allows tests to run without requiring the actual MCP package. """ # Mock classes and functions for the MCP package class FastMCP: def __init__(self, name, **kwargs): self.name = name self.kwargs = kwargs self.resources = {} self.tools = {} def resource(self, path): def decorator(func): self.resources[path] = func return func return decorator def tool(self): def decorator(func): self.tools[func.__name__] = func return func return decorator # Mock other classes and functions as needed class Context: def __init__(self): self.request_context = RequestContext() class RequestContext: def __init__(self): self.lifespan_context = {}

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/rishijatia/fantasy-pl-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server