Skip to main content
Glama

Reddit MCP Server

by tandat8503
env.example1.11 kB
# Reddit API Configuration # Get these from https://www.reddit.com/prefs/apps # Client ID (the part before underscore in app name) REDDIT_CLIENT_ID=your_client_id_here # Client Secret (the "secret" field, not "public") REDDIT_CLIENT_SECRET=your_client_secret_here # User Agent (should be unique and descriptive) # Use a browser-like User-Agent to avoid 403 errors REDDIT_USER_AGENT=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 # Redirect URI for OAuth2 Authorization Code flow # This must match exactly what you set in Reddit app settings REDDIT_REDIRECT_URI=http://localhost:8080 # OAuth Scopes (space-separated) # Required scopes for full functionality: # - read: Read posts, comments, subreddits # - submit: Submit posts and comments # - vote: Upvote/downvote posts and comments # - history: Save/unsave posts # - privatemessages: Send private messages # - subscribe: Subscribe/unsubscribe to subreddits REDDIT_OAUTH_SCOPES=read submit vote history privatemessages subscribe # Request timeout in seconds TIMEOUT_SECONDS=30

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

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