reddit-mcp
Reddit MCP Server
A full-featured Reddit MCP (Model Context Protocol) server built with FastMCP and PRAW. Runs in Docker and integrates with Cursor AI.
Prerequisites
Docker
A Reddit account with API credentials
Reddit API Setup
Click "create another app..."
Choose script type
Set redirect URI to
http://localhost:8080Note the client_id (shown under the app name) and client_secret
Build the Docker Image
docker build -t reddit-mcp /home/anton/reddit-mcpCursor Configuration
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"reddit": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "REDDIT_CLIENT_ID",
"-e", "REDDIT_CLIENT_SECRET",
"-e", "REDDIT_USERNAME",
"-e", "REDDIT_PASSWORD",
"-e", "REDDIT_USER_AGENT",
"reddit-mcp"
],
"env": {
"REDDIT_CLIENT_ID": "your_client_id",
"REDDIT_CLIENT_SECRET": "your_client_secret",
"REDDIT_USERNAME": "your_username",
"REDDIT_PASSWORD": "your_password",
"REDDIT_USER_AGENT": "cursor:reddit-mcp:v1.0 (by /u/your_username)"
}
}
}
}Available Tools
Reading
Tool | Description |
| Fetch hot/new/top/rising posts from a subreddit |
| Get a post with its top comments |
| View a Reddit user's profile and recent activity |
| Search posts across Reddit or within a subreddit |
| Find subreddits by keyword |
| Get subreddit metadata (rules, description, subscriber count) |
Writing
Tool | Description |
| Create a new text or link post |
| Reply to a post or comment |
| Upvote/downvote/unvote on a post or comment |
| Save or unsave a post or comment |
Monitoring
Tool | Description |
| Get trending posts across Reddit |
| View your authenticated profile and karma |
| List your saved posts and comments |
Rate Limits
Reddit allows 60 authenticated requests per minute. PRAW handles this automatically.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/tonyzorin/reddit-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server