Reddit MCP Server
This server provides AI agents with tools to fetch, post and search on Reddit.
What is an MCP Server?
MCP Info
Image Building Info
Available Tools (6)
| Tools provided by this Server |
Short Description |
fetchPosts |
Fetch hot posts from a subreddit |
getComments |
Get comments for a specific Reddit post |
getSubredditInfo |
Get information about a subreddit |
postComment |
Post a comment on a Reddit post |
postToSubreddit |
Create a new post in a subreddit |
searchPosts |
Search for posts within a subreddit |
Tools Details
Tool: fetchPosts
Fetch hot posts from a subreddit
| Parameters |
Type |
Description |
subreddit |
string |
Name of the subreddit |
limit |
integer optional |
Number of posts to fetch (1-100) |
Get comments for a specific Reddit post
| Parameters |
Type |
Description |
post_id |
string |
Reddit post ID (without 't3_' prefix) |
Get information about a subreddit
| Parameters |
Type |
Description |
subreddit |
string |
Name of the subreddit |
Post a comment on a Reddit post
| Parameters |
Type |
Description |
comment_text |
string |
Comment text to post |
post_id |
string |
Reddit post ID (without 't3_' prefix) |
Tool: postToSubreddit
Create a new post in a subreddit
| Parameters |
Type |
Description |
subreddit |
string |
Name of the subreddit |
title |
string |
Post title |
content |
string optional |
Post content (for text posts) |
url |
string optional |
URL (for link posts) |
Tool: searchPosts
Search for posts within a subreddit
| Parameters |
Type |
Description |
query |
string |
Search query |
subreddit |
string |
Name of the subreddit |
limit |
integer optional |
Number 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?