Skip to main content
Glama

Reddit MCP

by GridfireAI
server.py342 B
from mcp.server.fastmcp import FastMCP from .tools import tools import logging def serve(): logger = logging.getLogger("mcp") mcp = FastMCP("Reddit") for tool in tools: logger.info(f"Registering tool: {tool.__name__}") mcp.tool()(tool) logger.info("Starting MCP server...") mcp.run(transport="stdio")

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/GridfireAI/reddit-mcp'

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