reddit-mcp
Allows interaction with Reddit using a logged-in browser session, providing tools to get the current username, refresh session cookies, reply to posts or comments, and create harmless test comments on r/test.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@reddit-mcpreply to https://old.reddit.com/r/test/comments/abc123/test/ with 'hello'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
reddit-mcp
Headless Reddit MCP server for Cursor. Posts replies using your logged-in Chrome session cookies (via Chrome DevTools Protocol), driving old.reddit.com's comment form.
Reddit's official script OAuth apps are gated behind approval. This uses your own browser session instead.
Tools
Tool | Purpose |
| Current session username |
| Pull fresh cookies from CDP Chrome ( |
| Reply to a post/comment URL |
| Harmless test comment on r/test |
Related MCP server: mcp-reddit
Requirements
Python 3.11+
Playwright Chromium
Chrome running with remote debugging, logged into Reddit:
google-chrome --remote-debugging-port=9222 --user-data-dir="$HOME/.config/google-chrome-cdp"
Install
git clone https://github.com/aasper03/reddit-mcp.git ~/.reddit-mcp
cd ~/.reddit-mcp
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
.venv/bin/playwright install chromium
chmod +x run-reddit-mcp.shAdd to ~/.cursor/mcp.json:
{
"mcpServers": {
"reddit": {
"command": "/home/YOU/.reddit-mcp/run-reddit-mcp.sh",
"args": []
}
}
}Optional: REDDIT_CDP_URL (default http://127.0.0.1:9222).
CLI
# after install, symlink optional:
ln -sf ~/.reddit-mcp/run-reddit-mcp.sh /dev/null # MCP only
# or use the client via:
.venv/bin/python -c 'from client import get_username; print(get_username())'License
MIT — personal automation; follow Reddit's rules. Not affiliated with Reddit.
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent social posting via your logged-in Chrome. Remote MCP + OAuth. Not clawpost.dev.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Read, crawl and act on websites, signed in as the user, and turn any site into an API.
Web search, data extraction and controlled browser automation for AI assistants via OAuth.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to prepare, preview, and get human approval before publishing Reddit posts and comments via a local authenticated browser session, without Reddit API credentials.MIT
- AlicenseAqualityAmaintenanceEnables browsing Reddit, searching posts, reading comment threads and user history, with opt-in posting and voting through the Reddit API.146 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to publish social posts and Reddit comments to connected platforms by executing jobs in the user's own logged-in desktop Chrome session, with OAuth and without platform API keys.MIT
- AlicenseNot gradedqualityCmaintenanceLets local AI agents drive the Chrome browser a user already has open, including signed-in sessions, by listing tabs, reading page text and actionable elements, then clicking, filling, selecting, scrolling, navigating, and capturing viewport screenshots without exporting cookies. Runs as a dependency-free local stdio process over Native Messaging, with per-tab leases, automatic reconnection, and pause/write-action controls.MIT