@striderlabs/mcp-reddit 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +57 -0
  2. package/dist/index.js +21133 -0
  3. package/package.json +24 -0
package/README.md ADDED
@@ -0,0 +1,57 @@
1
+ # @striderlabs/mcp-reddit
2
+
3
+ MCP server connector for Reddit — search subreddits, browse posts, comments, and manage user interactions via Playwright browser automation.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @striderlabs/mcp-reddit
9
+ ```
10
+
11
+ ## Configuration
12
+
13
+ Set environment variables:
14
+
15
+ ```bash
16
+ export REDDIT_USERNAME="your-username"
17
+ export REDDIT_PASSWORD="your-password"
18
+ export REDDIT_HEADLESS="true" # Set to "false" to see browser
19
+ ```
20
+
21
+ ## Tools
22
+
23
+ | Tool | Description |
24
+ |------|-------------|
25
+ | `search_posts` | Search for posts across Reddit |
26
+ | `get_subreddit` | Get subreddit info and top posts |
27
+ | `get_post` | Get post details and comments |
28
+ | `get_user_profile` | Get user profile information |
29
+ | `upvote_post` | Upvote a post |
30
+ | `downvote_post` | Downvote a post |
31
+ | `save_post` | Save a post |
32
+ | `get_saved_posts` | Get saved posts |
33
+ | `join_subreddit` | Join a subreddit |
34
+ | `get_trending` | Get trending posts |
35
+
36
+ ## MCP Configuration
37
+
38
+ Add to your MCP config:
39
+
40
+ ```json
41
+ {
42
+ "mcpServers": {
43
+ "reddit": {
44
+ "command": "npx",
45
+ "args": ["@striderlabs/mcp-reddit"],
46
+ "env": {
47
+ "REDDIT_USERNAME": "your-username",
48
+ "REDDIT_PASSWORD": "your-password"
49
+ }
50
+ }
51
+ }
52
+ }
53
+ ```
54
+
55
+ ## License
56
+
57
+ MIT