Reddit MCP

MIT License
6
  • Apple

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
REDDIT_CLIENT_IDYesThe client ID from your Reddit developer app
REDDIT_CLIENT_SECRETYesThe client secret from your Reddit developer app

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_submission
Retrieve a specific submission by ID. Args: submission_id: ID of the submission to retrieve Returns: Detailed information about the submission
get_subreddit
Retrieve a subreddit by name. Args: subreddit_name: Name of the subreddit to retrieve Returns: Detailed information about the subreddit
get_comments_by_submission
Retrieve comments from a specific submission. Args: submission_id: ID of the submission to get comments from replace_more: Whether to replace MoreComments objects with actual comments Returns: List of comments with their replies
get_comment_by_id
Retrieve a specific comment by ID. Args: comment_id: ID of the comment to retrieve Returns: Comment details with any replies
search_posts
Search for posts within a subreddit. Args: params: Search parameters including subreddit name, query, and filters Returns: List of matching posts with their details
search_subreddits
Search for subreddits using either name-based or description-based search. Args: by: Search parameters, either SearchByName or SearchByDescription Returns: List of matching subreddits with their details
ID: braoypt6vc