redditapis-mcp 0.19.0 → 0.20.1
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 +16 -0
- package/README.md +3 -2
- package/package.json +1 -1
- package/src/annotations.js +1 -0
- package/src/tools.js +14 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.20.1 (2026-11-09)
|
|
4
|
+
|
|
5
|
+
No new tools; one description corrected.
|
|
6
|
+
|
|
7
|
+
- `reddit_monitor_webhook_redrive`: deliveries dropped while the target was paused are now re-sent once it is resumed (the server marks them `webhook_paused`); deliveries that cannot succeed on a replay (a deleted target, a refused URL, an HTTP 410, an email that could not be sent because of a bad or suppressed address or a send failure) are skipped and counted by reason in `skipped_by_reason`. Redrive has its own 10/min limit.
|
|
8
|
+
|
|
9
|
+
## 0.20.0 (2026-11-07)
|
|
10
|
+
|
|
11
|
+
### Re-send dead-lettered webhook deliveries
|
|
12
|
+
|
|
13
|
+
One new tool.
|
|
14
|
+
|
|
15
|
+
- `reddit_monitor_webhook_redrive` (`POST /api/reddit/monitor/webhook/redrive`): re-sends a webhook's dead-lettered deliveries once the receiver is fixed. `dry_run: true` lists what would be re-sent without changing anything. Only endpoint failures are re-sent; deliveries dead because the target was removed, paused or refused are left alone. Bounded by `since_hours` (up to 720) and `limit` (up to 1000), oldest first. Free.
|
|
16
|
+
|
|
17
|
+
test/tools.test.mjs and test/smoke.mjs register it as a write tool.
|
|
18
|
+
|
|
3
19
|
## 0.19.0 (2026-11-07)
|
|
4
20
|
|
|
5
21
|
### Gallery posts on media search
|
package/README.md
CHANGED
|
@@ -104,7 +104,7 @@ Authentication is a Bearer token: the server sends `Authorization: Bearer <REDDI
|
|
|
104
104
|
|
|
105
105
|
## Tools
|
|
106
106
|
|
|
107
|
-
|
|
107
|
+
61 tools and 3 playbook resources: 33 Reddit reads, 10 Reddit account tools (connect, status, disconnect, comment, submit, vote, DM, and schedule, list or cancel a post or comment for later), 11 monitor/webhook management tools, `reddit_set_watch` (one call that stands up a whole watch), `reddit_explain` (where the rows you are holding came from), 3 feedback tools, and 2 account tools (`reddit_account_me`, which is also where the credit balance lives, and `reddit_account_payments`, the top-up history). Reddit writes (commenting, posting, voting, DMs) act as YOUR Reddit account and only after you connect it with `reddit_connect`; each is marked as a write so your client asks before it runs. Monitor/webhook tools configure your OWN redditapis.com account (an alerting subscription), never Reddit itself, and the feedback tools send a report to the redditapis.com team, never to Reddit. Every read works with just your API key; the 6 monitor/webhook writes additionally need an active monitoring plan (see Monitoring below). The feedback tools are free and need only your key.
|
|
108
108
|
|
|
109
109
|
A few conventions across the catalog:
|
|
110
110
|
|
|
@@ -186,6 +186,7 @@ Monitors watch **named subreddits or all of Reddit**, for **posts or comments**
|
|
|
186
186
|
| `reddit_monitor_webhook_create` | `POST /api/reddit/monitor/webhook/create` | Register a delivery target (`webhook`/`slack`/`discord`). Returns a signing secret shown ONCE. |
|
|
187
187
|
| `reddit_monitor_webhook_list` | `GET /api/reddit/monitor/webhook/list` | List your webhooks. Never returns the secret; a Slack or Discord URL comes back masked (`url_masked: true`). |
|
|
188
188
|
| `reddit_monitor_webhook_test` | `POST /api/reddit/monitor/webhook/test` | Send a one-off test delivery to confirm a webhook is wired up correctly. |
|
|
189
|
+
| `reddit_monitor_webhook_redrive` | `POST /api/reddit/monitor/webhook/redrive` | Re-send a webhook's dead-lettered deliveries once the endpoint is fixed (`dry_run` lists them first). Free. |
|
|
189
190
|
| `reddit_monitor_webhook_delete` | `POST /api/reddit/monitor/webhook/delete` | Permanently delete a webhook. Does not cascade-pause monitors still pointing at it. |
|
|
190
191
|
|
|
191
192
|
#### `reddit_set_watch` refuses rather than guesses
|
|
@@ -368,7 +369,7 @@ npm start # run the stdio server (needs REDDITAPIS_KEY)
|
|
|
368
369
|
|
|
369
370
|
**What does it cost?** $0.0015 per read pay as you go, or a monthly read plan from $19 for 30,000 reads; every account gets 1,000 free reads a month, plus $0.50 of free credit at signup and no card. Monitors need a monitoring plan, which has no free tier.
|
|
370
371
|
|
|
371
|
-
**Can it post, comment or vote?** Yes, after you connect your Reddit account once with `reddit_connect` (your session is stored encrypted on our side and never travels in later calls). `reddit_comment`, `reddit_submit`, `reddit_vote` and `reddit_dm` then act as that account, and each is marked as a write so your client asks before it runs. `reddit_disconnect` deletes the stored session. Of the other tools, the
|
|
372
|
+
**Can it post, comment or vote?** Yes, after you connect your Reddit account once with `reddit_connect` (your session is stored encrypted on our side and never travels in later calls). `reddit_comment`, `reddit_submit`, `reddit_vote` and `reddit_dm` then act as that account, and each is marked as a write so your client asks before it runs. `reddit_disconnect` deletes the stored session. Of the other tools, the 11 monitor/webhook tools manage your OWN redditapis.com monitors and webhooks (a write, but never a write to Reddit itself), `reddit_set_watch` sets up a whole watch in one call, `reddit_explain` says where the rows you hold came from, the 3 feedback tools send or read a report to the redditapis.com team, and `reddit_account_me` and `reddit_account_payments` read your own balance, plan and top-up history.
|
|
372
373
|
|
|
373
374
|
**Which clients are supported?** Claude Desktop, Claude Code, Cursor, Windsurf, and VS Code (Copilot agent mode), or any Model Context Protocol client.
|
|
374
375
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redditapis-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"mcpName": "io.github.redditapis/redditapis-mcp",
|
|
5
5
|
"description": "Official MCP server for redditapis.com. Search Reddit posts, comments, communities, users and media; read subreddits, comment trees and profiles; search the Reddit ads library; manage monitors and webhooks. Works with Claude, Cursor and any MCP client.",
|
|
6
6
|
"repository": {
|
package/src/annotations.js
CHANGED
|
@@ -81,6 +81,7 @@ export const TOOL_ANNOTATIONS = {
|
|
|
81
81
|
reddit_monitor_remove: { title: "Delete Monitor", readOnly: false, destructive: true, idempotent: true, openWorld: false },
|
|
82
82
|
reddit_monitor_webhook_create: { title: "Create Webhook", readOnly: false, destructive: false, idempotent: false, openWorld: false },
|
|
83
83
|
reddit_monitor_webhook_test: { title: "Send Webhook Test", readOnly: false, destructive: false, idempotent: false, openWorld: true },
|
|
84
|
+
reddit_monitor_webhook_redrive: { title: "Redrive Dead Webhook Deliveries", readOnly: false, destructive: false, idempotent: false, openWorld: true },
|
|
84
85
|
reddit_monitor_webhook_delete: { title: "Delete Webhook", readOnly: false, destructive: true, idempotent: true, openWorld: false },
|
|
85
86
|
reddit_feedback_send: { title: "Send Feedback Report", readOnly: false, destructive: true, idempotent: false, openWorld: false },
|
|
86
87
|
reddit_set_watch: { title: "Create Watch", readOnly: false, destructive: false, idempotent: false, openWorld: true },
|
package/src/tools.js
CHANGED
|
@@ -791,6 +791,20 @@ export const TOOLS = [
|
|
|
791
791
|
"Sends a one-off test delivery to a registered webhook (rate-limited to 10/min), confirming it is wired up correctly before a real match arrives. The test payload is formatted by the webhook's `kind`, the same way a real delivery would be. On failure the response carries `reason` and `status`, plus `hint`, a sentence naming the fix (most often that the target's `kind` does not match its host, which no test can succeed through), and `detail`, a bounded, sanitised copy of what the destination itself replied. `hint` carries the remedy; a bare `reason` such as `http_error` with a 400 names no field, no value and no remedy. Returns 404 `webhook_not_found` if the id does not exist or is not on this account, or `webhook_url_rejected` if the URL fails re-validation (e.g. now resolves to a private address).",
|
|
792
792
|
shape: { ...WEBHOOK_ID },
|
|
793
793
|
},
|
|
794
|
+
{
|
|
795
|
+
name: "reddit_monitor_webhook_redrive",
|
|
796
|
+
path: "/api/reddit/monitor/webhook/redrive",
|
|
797
|
+
method: "POST",
|
|
798
|
+
write: true,
|
|
799
|
+
description:
|
|
800
|
+
"Re-sends a webhook's dead-lettered deliveries, once the receiving endpoint can take them (for example after a schema fix on the receiver). With `dry_run: true` it answers `selected`, `delivery_ids`, `oldest_at` and `newest_at` and changes nothing. Endpoint failures are re-sent (an HTTP error other than 410, a network error, a timeout, retries exhausted), and so are deliveries dropped while the target was paused, once it is resumed; deliveries dead because the target was deleted or its URL was refused are counted in `skipped_permanent` (by reason in `skipped_by_reason`) and left alone. Oldest first, within `since_hours` (default 24, up to 720; dead deliveries are kept about 14 days) and `limit` (default 100, up to 1000); a further call takes the rest. Post fields that were null when matched (`text`, `is_self`, `locked`, `archived`, `upvote_ratio`) may be filled from Reddit on the way out, up to 25 posts per delivery pass; any still unknown stay null. Re-sent deliveries go out within about a minute and show in the monitor's delivery list. Rate-limited to 10/min. Returns 404 `webhook_not_found` if the id is not on this account, and 409 `webhook_paused` when re-sending to a paused target (a dry run still answers). Free.",
|
|
801
|
+
shape: {
|
|
802
|
+
...WEBHOOK_ID,
|
|
803
|
+
since_hours: z.number().int().min(1).max(720).optional().describe("How far back to look, in hours (1 to 720). Default 24."),
|
|
804
|
+
limit: z.number().int().min(1).max(1000).optional().describe("Most deliveries to re-send in this call (1 to 1000). Default 100, oldest first."),
|
|
805
|
+
dry_run: z.boolean().optional().describe("true lists what would be re-sent and changes nothing."),
|
|
806
|
+
},
|
|
807
|
+
},
|
|
794
808
|
{
|
|
795
809
|
name: "reddit_monitor_webhook_delete",
|
|
796
810
|
path: "/api/reddit/monitor/webhook/delete",
|