Skip to main content
Glama

Reddit MCP Server

by liuyang1520

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
REDDIT_PASSWORDNoYour Reddit password (for username/password authentication)
REDDIT_USERNAMENoYour Reddit username (for username/password authentication)
REDDIT_CLIENT_IDNoYour Reddit API client ID (found under the app name in Reddit app preferences)
REDDIT_USER_AGENTNoUser agent string for Reddit API requests (must be unique and descriptive)
REDDIT_ACCESS_TOKENNoYour Reddit access token (for testing only - expires in 1 hour)
REDDIT_CLIENT_SECRETNoYour Reddit API client secret
REDDIT_REFRESH_TOKENNoYour Reddit refresh token (for refresh token authentication)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get_subreddit_posts

Get posts from a specific subreddit

get_post

Get details of a specific Reddit post

get_post_comments

Get comments from a Reddit post

get_subreddit_info

Get information about a subreddit

get_user_info

Get information about a Reddit user

get_user_posts

Get posts submitted by a user

get_user_comments

Get comments made by a user

search_posts

Search for Reddit posts

search_subreddits

Search for subreddits

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