Skip to main content
Glama

Reddit MCP

by GridfireAI
date_utils.py434 B
from datetime import datetime def format_utc_timestamp(timestamp: float, format: str = "%Y-%m-%d") -> str: """ Convert a UTC timestamp to a formatted date string. Args: timestamp (float): UTC timestamp to convert format (str, optional): Date format string. Defaults to "%Y-%m-%d". Returns: str: Formatted date string """ return datetime.utcfromtimestamp(timestamp).strftime(format)

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