# Reddit API Configuration
# Get these from https://www.reddit.com/prefs/apps
REDDIT_CLIENT_ID=your_client_id_here
REDDIT_CLIENT_SECRET=your_client_secret_here
# User Agent - Must be unique and descriptive
REDDIT_USER_AGENT=reddit-mcp-server/1.0.0 by your_username
# Authentication Methods (choose one):
# Method 1: Username/Password (for personal use)
REDDIT_USERNAME=your_username
REDDIT_PASSWORD=your_password
# Method 2: Refresh Token (recommended for production)
# REDDIT_REFRESH_TOKEN=your_refresh_token
# Method 3: Access Token (short-lived, for testing)
# REDDIT_ACCESS_TOKEN=your_access_token
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/liuyang1520/reddit-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server