redditapis-mcp 0.1.2 → 0.1.3
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.
- package/CHANGELOG.md +11 -0
- package/README.md +1 -1
- package/package.json +2 -3
- package/src/tools.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.3
|
|
4
|
+
- `reddit_search_comments` description no longer overpromises. It previously
|
|
5
|
+
claimed to "Return matching comments with author, body, score" and to find
|
|
6
|
+
"opinions/answers buried in threads", but the endpoint returns PARENT POSTS,
|
|
7
|
+
not comment objects: Reddit's comment search is a MODE that matches comment
|
|
8
|
+
text and hands back the t3 posts, and does not expose which comment matched or
|
|
9
|
+
its body. The openapi spec already said this; the MCP tool description and the
|
|
10
|
+
README table had drifted and still promised comment bodies/scores the response
|
|
11
|
+
never contained. A customer relied on the old text and reported it as a bug.
|
|
12
|
+
The description now states the real behaviour. No API surface change.
|
|
13
|
+
|
|
3
14
|
## 0.1.2
|
|
4
15
|
- `reddit_search` and `reddit_search_comments` now describe the `t` time window
|
|
5
16
|
accurately. Unlike a subreddit listing, search applies `t` to the `relevance`
|
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ authenticated surface and are intentionally not exposed here.
|
|
|
47
47
|
| `reddit_search` | `GET /api/reddit/search` | Search posts across Reddit or one subreddit |
|
|
48
48
|
| `reddit_post_comments` | `GET /api/reddit/comments` | A post + its comment tree, by permalink |
|
|
49
49
|
| `reddit_search_communities` | `GET /api/reddit/search/communities` | Find subreddits by name/topic |
|
|
50
|
-
| `reddit_search_comments` | `GET /api/reddit/search/comments` | Search
|
|
50
|
+
| `reddit_search_comments` | `GET /api/reddit/search/comments` | Search by comment text; returns the parent posts (Reddit limitation) |
|
|
51
51
|
| `reddit_search_media` | `GET /api/reddit/search/media` | Search image/video/gif posts |
|
|
52
52
|
| `reddit_search_users` | `GET /api/reddit/search/users` | Find redditors by name |
|
|
53
53
|
| `reddit_subreddit_top` | `GET /api/reddit/sub/{name}/top` | Top posts of a subreddit for a time window |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redditapis-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Official MCP server for redditapis.com, the Reddit API (subreddit listings, post + comment + community + user + media search, comment trees, top posts, user profiles) as native tools for Claude, Cursor, and any MCP client.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,8 +24,7 @@
|
|
|
24
24
|
"scripts": {
|
|
25
25
|
"start": "node src/index.js",
|
|
26
26
|
"check": "node --check src/index.js && node --check src/tools.js",
|
|
27
|
-
"test": "node test/tools.test.mjs"
|
|
28
|
-
"prepublishOnly": "python3 $HOME/.claude/scripts/tenant-isolation-scan.py --tenant redditapis --npm-publish-surface ."
|
|
27
|
+
"test": "node test/tools.test.mjs"
|
|
29
28
|
},
|
|
30
29
|
"dependencies": {
|
|
31
30
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
package/src/tools.js
CHANGED
|
@@ -119,7 +119,7 @@ export const TOOLS = [
|
|
|
119
119
|
name: "reddit_search_comments",
|
|
120
120
|
path: "/api/reddit/search/comments",
|
|
121
121
|
description:
|
|
122
|
-
"Search Reddit
|
|
122
|
+
"Search Reddit by COMMENT text. Reddit's comment search matches your keyword against comment bodies but returns the PARENT POSTS, not the individual comments, so each result is a post whose discussion mentions your query, carrying that post's title, selftext, score, and comment count. Use it to surface threads where a topic comes up in the replies that plain post-title search would miss. Reddit does not expose which specific comment matched or its text, so this returns posts, not comment bodies. Example: q='best mechanical keyboard' sort='top'.",
|
|
123
123
|
shape: { ...QUERY, ...SORT_SEARCH, ...TIME_SEARCH, ...AFTER, ...NSFW, ...LIMIT },
|
|
124
124
|
},
|
|
125
125
|
{
|