redditapis-mcp 0.1.4 → 0.1.5
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 +12 -0
- package/package.json +1 -1
- package/src/tools.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.5
|
|
4
|
+
- Description honesty pass, three tool descriptions promised fields the live
|
|
5
|
+
response does not return. All found by the new V-DESC gate
|
|
6
|
+
(reconcile-description-shape.mjs), which probes EVERY tool against the live API
|
|
7
|
+
and asserts no description claims a field the response lacks:
|
|
8
|
+
- `reddit_search_media` claimed a `permalink`; the response carries `url`. Corrected.
|
|
9
|
+
- `reddit_subreddit_posts` claimed `flair` and `media`; neither is in the
|
|
10
|
+
`/posts` response (fields are title, author, upvotes, comments, permalink, url,
|
|
11
|
+
text). Removed.
|
|
12
|
+
- `reddit_post` claimed `body/selftext` and `media`; `/post/{id}` returns `text`
|
|
13
|
+
(no `body`, no `selftext`, no `media`). Corrected to `text`.
|
|
14
|
+
|
|
3
15
|
## 0.1.4
|
|
4
16
|
- New tool `reddit_deep_comment_search`. Where `reddit_search_comments` returns
|
|
5
17
|
the parent posts (Reddit's comment search never hands back the comment), this
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redditapis-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
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",
|
package/src/tools.js
CHANGED
|
@@ -69,7 +69,7 @@ export const TOOLS = [
|
|
|
69
69
|
name: "reddit_subreddit_posts",
|
|
70
70
|
path: "/api/reddit/posts",
|
|
71
71
|
description:
|
|
72
|
-
"List posts from a subreddit by sort order. Use this to read a community's feed: newest, hot/trending, top-of-week, rising, etc. Returns post title, author, score, comment count,
|
|
72
|
+
"List posts from a subreddit by sort order. Use this to read a community's feed: newest, hot/trending, top-of-week, rising, etc. Returns post title, author, score, comment count, and permalink, plus an `after` cursor for paging. Example: subreddit='programming' sort='top' t='week'.",
|
|
73
73
|
shape: {
|
|
74
74
|
subreddit: z.string().min(1).describe(
|
|
75
75
|
"Subreddit name WITHOUT the r/ prefix (e.g. 'programming', 'AskReddit'). Required.",
|
|
@@ -141,7 +141,7 @@ export const TOOLS = [
|
|
|
141
141
|
name: "reddit_search_media",
|
|
142
142
|
path: "/api/reddit/search/media",
|
|
143
143
|
description:
|
|
144
|
-
"Search Reddit posts filtered to media (images, video, gifs). Returns media posts with the media URL/type, author, score, and
|
|
144
|
+
"Search Reddit posts filtered to media (images, video, gifs). Returns media posts with the media URL/type, author, score, and the post url. Use `kind` to narrow to a media type. Example: q='aurora borealis' kind='image'.",
|
|
145
145
|
shape: {
|
|
146
146
|
...QUERY,
|
|
147
147
|
kind: z.enum(["image", "video", "gif", "all"]).optional().describe(
|
|
@@ -179,7 +179,7 @@ export const TOOLS = [
|
|
|
179
179
|
name: "reddit_post",
|
|
180
180
|
path: "/api/reddit/post/{id}",
|
|
181
181
|
description:
|
|
182
|
-
"Fetch a single Reddit post by its id. Returns the full post object (title, author, score,
|
|
182
|
+
"Fetch a single Reddit post by its id. Returns the full post object (title, author, score, text, permalink, subreddit, url). Use when you already have a post id and want its details. Example: id='abc123' (the base-36 id, no t3_ prefix).",
|
|
183
183
|
shape: {
|
|
184
184
|
id: z.string().min(1).describe(
|
|
185
185
|
"The post's base-36 id (e.g. 'abc123'), without the 't3_' fullname prefix. Required (path parameter).",
|