reddit-mcp-server
Reddit MCP-Server ⚙️
Ein Model Context Protocol (MCP), das Tools zum Abrufen und Erstellen von Reddit-Inhalten bereitstellt.
🧑💻 Über
https://www.linkedin.com/feed/update/urn:li:activity:7328864060534419457/
Related MCP server: mcp-server-docker
🔧 Verfügbare Tools (Funktionen)
Schreibgeschützte Tools (Client-Anmeldeinformationen):
get_user_info(username)– Erhalten Sie eine detaillierte Benutzeranalyse mit Engagement-Einblickenget_top_posts(subreddit, time_filter, limit)– Top-Beiträge abrufen und analysierenget_subreddit_stats(subreddit)- Erhalten Sie eine umfassende Subreddit-Analyseget_trending_subreddits()– Liste der trendigen Subreddits abrufen
Lese-/Schreibtools (Benutzeranmeldeinformationen):
create_post(subreddit, title, content, flair, is_self)– Erstelle einen optimierten Beitragreply_to_post(post_id, content, subreddit)– Fügen Sie eine Antwort mit Engagement-Insights hinzureply_to_comment(comment_id, content, subreddit)– Fügen Sie eine strategische Antwort hinzu
🔌 Installation
git clone https://github.com/alexandros-lekkas/reddit-mcp-serverErstellen Sie hier eine Reddit-App
Achten Sie darauf, „Skript“ auszuwählen!
Kopieren Sie die Client-ID und das Client-Geheimnis
Erstellen Sie eine
.envDatei basierend auf.env.example
Tun Sie dies mit Ihrer REDDIT_CLIENT_ID und REDDIT_CLIENT_SECRET
Wenn Sie Beiträge schreiben möchten, müssen Sie Ihren REDDIT_USERNAME und REDDIT_PASSWORD angeben (keine Sorge, ich werde sie nicht stehlen 😜)
Führen Sie es mit
npm run devaus und öffnen Sie den Inspektionsserver ( http://127.0.0.1:6274/ )
Wenn die Verbindung funktioniert, fügen Sie dies Ihrer MCP-Konfiguration hinzu (für Cursor oder Claude, je nachdem, welchen Agenten Sie verwenden).
"mcpServers": {
"reddit": {
"command": "node",
"args": [
"C:\\path\\to\\reddit-mcp-server\\build\\index.js" // Replace this with your local path to build/index.js
],
"env": {
"REDDIT_CLIENT_ID": "😜",
"REDDIT_CLIENT_SECRET": "😜",
"REDDIT_USERNAME": "😜",
"REDDIT_PASSWORD": "😜"
},
"autoApprove": [
"get_reddit_post",
"get_top_posts",
"get_user_info",
"get_subreddit_info",
"get_trending_subreddits",
"create_post",
"reply_to_post"
] // You don't need to add this, but it makes it so that you don't have to keep clicking approve
}
}(Stellen Sie sicher, dass Sie die Umgebungsvariablen durch Ihre tatsächlichen Schlüssel ersetzen, nicht durch das 😜-Emoji.)
📚 Credits
Der Dank geht an den Python Reddit MCP Server von Arindam200 für die Inspiration und Implementierung dieser Tools. Dieses Repository ist derzeit lediglich eine Node.js-Portierung der Python-Implementierung.
Der Dank geht an Eugene Sh für das Tutorial zum Erstellen eines MCP-Servers (das als Referenz für diese Implementierung verwendet wurde).
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- MIT
- MIT
- AlicenseNot gradedqualityDmaintenanceFacebook MCP server for automating posts, comment moderation, insights, and sentiment filtering.207PythonMIT
Related MCP Connectors
Reddit MCP — public Reddit data via JSON endpoints (no auth required)
BGG MCP provides access to the BoardGameGeek API through the Model Context Protocol, enabling retr…
Browse and manage Reddit posts, comments, and threads. Fetch user activity, explore hot/new/rising…
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/aflekkas/reddit-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server