Skip to main content
Glama

product-hunt-mcp

by jaipandya
token.py•480 B
""" Token management utilities """ import os def get_token() -> str: """Get token from environment variable""" return os.getenv("PRODUCT_HUNT_TOKEN") def check_token() -> dict: """Check if a token exists and return error if not""" token = get_token() if not token: return { "code": "MISSING_TOKEN", "message": "PRODUCT_HUNT_TOKEN not found in environment. Please set it as an environment variable.", } return None

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/jaipandya/producthunt-mcp-server'

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