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: reddit-mcp-server
🔧 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 deployed
Maintenance
Related MCP Connectors
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…
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
Reddit API as MCP tools: search, subreddits, posts, comments, users, monitors, webhooks, feedback.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.783 npm3MIT
- AlicenseBqualityAmaintenanceA Model Context Protocol (MCP) that provides tools for fetching and creating Reddit content.12618 npm287MIT
- AlicenseNot gradedqualityDmaintenanceProvides access to public Reddit data through tools for searching subreddits, viewing posts, and reading comments without requiring authentication. It enables Model Context Protocol clients to interact with Reddit's public JSON API via stdio or HTTP transports.21 npmMIT
- AlicenseAqualityDmaintenanceProvides AI assistants with access to Reddit data for searching, browsing subreddits, and retrieving post details or user activity without requiring API keys. It enables tools to fetch content, nested comment trees, and public user feeds directly through the Model Context Protocol.26303 PyPI158MIT