Mcp reddit

Mcp reddit

A comprehensive Model Context Protocol (MCP) server for Reddit integration. This server enables AI agents to interact with Reddit programmatically through a standardized interface.

2.0K

6 Tools

Packaged by
Requires Secrets
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

About

Mcp reddit MCP Server

A comprehensive Model Context Protocol (MCP) server for Reddit integration. This server enables AI agents to interact with Reddit programmatically through a standardized interface.

What is an MCP Server?

Characteristics

AttributeDetails
Docker Imagemcp/reddit-mcp
AuthorKrishnaRandad2023
Repositoryhttps://github.com/KrishnaRandad2023/mcp-reddit
Dockerfilehttps://github.com/KrishnaRandad2023/mcp-reddit/blob/main/Dockerfile
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/reddit-mcp --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceMIT License

Available Tools (6)

Tools provided by this ServerShort Description
fetchPostsFetch hot posts from a subreddit
getCommentsGet comments for a specific Reddit post
getSubredditInfoGet information about a subreddit
postCommentPost a comment on a Reddit post
postToSubredditCreate a new post in a subreddit
searchPostsSearch for posts within a subreddit

Tools Details

Tool: fetchPosts

Fetch hot posts from a subreddit

ParametersTypeDescription
subredditstringName of the subreddit
limitintegeroptionalNumber of posts to fetch (1-100)

Tool: getComments

Get comments for a specific Reddit post

ParametersTypeDescription
post_idstringReddit post ID (without 't3_' prefix)

Tool: getSubredditInfo

Get information about a subreddit

ParametersTypeDescription
subredditstringName of the subreddit

Tool: postComment

Post a comment on a Reddit post

ParametersTypeDescription
comment_textstringComment text to post
post_idstringReddit post ID (without 't3_' prefix)

Tool: postToSubreddit

Create a new post in a subreddit

ParametersTypeDescription
subredditstringName of the subreddit
titlestringPost title
contentstringoptionalPost content (for text posts)
urlstringoptionalURL (for link posts)

Tool: searchPosts

Search for posts within a subreddit

ParametersTypeDescription
querystringSearch query
subredditstringName of the subreddit
limitintegeroptionalNumber of results to return (1-100)

Use this MCP Server

{
  "mcpServers": {
    "mcp-reddit": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "USERNAME",
        "-e",
        "REDDIT_CLIENT_ID",
        "-e",
        "REDDIT_CLIENT_SECRET",
        "-e",
        "REDDIT_PASSWORD",
        "mcp/reddit-mcp"
      ],
      "env": {
        "USERNAME": "yourRedditUsername",
        "REDDIT_CLIENT_ID": "<REDDIT_CLIENT_ID>",
        "REDDIT_CLIENT_SECRET": "<REDDIT_CLIENT_SECRET>",
        "REDDIT_PASSWORD": "<REDDIT_PASSWORD>"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?

Manual installation

You can install the MCP server using:

Installation for

Related servers