mcpscraper-cli 0.57.2 → 0.57.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/README.md CHANGED
@@ -198,4 +198,4 @@ This release targets MCP Scraper 0.103.0 with 352 tools. Calls use protocol `202
198
198
 
199
199
  Publication management: list owned subdomains with `commons_list_publications`, select a name with `commons_get_publication`, and edit one article with `commons_update_editorial_article`. Publishing merges omitted articles by default; use `mode:replace` for a full replacement. Use the dedicated article or publication delete tool with its current revision and a stable retry key. See the [release notes](https://github.com/VilovietaSEO/mcpscraper-sdk/releases/tag/v0.59.0).
200
200
 
201
- Omit the Reddit trending window for an all-time search. Dated searches verify post or comment activity, including when comment text is omitted. See the [0.59.3 release notes](https://github.com/VilovietaSEO/mcpscraper-sdk/releases/tag/v0.59.3) for the compatible package versions.
201
+ Use Reddit Trends review mode to preview links, approve mode to fetch selected threads, or auto mode to search and fetch in one call. See the [0.59.4 release notes](https://github.com/VilovietaSEO/mcpscraper-sdk/releases/tag/v0.59.4) for the compatible package versions.
package/dist/bin/cli.js CHANGED
@@ -10,7 +10,7 @@ import { randomUUID } from "crypto";
10
10
  import { ScraperClient, ScraperApiError } from "mcpscraper-sdk";
11
11
 
12
12
  // src/version.ts
13
- var CLI_VERSION = "0.57.2";
13
+ var CLI_VERSION = "0.57.3";
14
14
 
15
15
  // src/generated-tools.ts
16
16
  var MCP_TOOL_CATALOG = [
@@ -25416,7 +25416,7 @@ var MCP_TOOL_CATALOG = [
25416
25416
  "name": "reddit_trending",
25417
25417
  "category": "reddit",
25418
25418
  "title": "Reddit Trending",
25419
- "description": "Find Reddit discussions through Google with DuckDuckGo fallback, then rank verified threads by observed engagement. Use reddit_thread for a known URL. Omit the window for a topic search across all time. For a dated search, a recent post or a recent captured comment can qualify a thread. Returns captured comments, observed dates and coverage. Discovery, scraped threads and returned comments are billed separately. Undated link-only results leave post dates unverified; inspect partial, resultQuality and comment coverage before treating a shortfall as complete.",
25419
+ "description": "Find Reddit discussions or fetch them in a batch. Review mode lists URLs without opening threads. Show those URLs and wait for the user to choose, then call approve mode with the review ID and selected URLs. Reviews can be approved for one hour. If the user says auto-approve, use auto mode to search and fetch immediately. Discovery, fetched threads and returned comments are billed separately. Use reddit_thread for one known URL.",
25420
25420
  "inputSchema": {
25421
25421
  "type": "object",
25422
25422
  "properties": {
@@ -25427,9 +25427,35 @@ var MCP_TOOL_CATALOG = [
25427
25427
  "maxLength": 512
25428
25428
  },
25429
25429
  "topic": {
25430
+ "description": "Topic to search. Required for discovery. Approve mode uses the original review topic and options.",
25430
25431
  "type": "string",
25431
- "minLength": 1,
25432
- "description": 'Topic to scan (e.g. "crm for small business"). Include quotation marks inside the value for an exact-phrase site search. Not a URL \u2014 pass a known thread URL to reddit_thread instead.'
25432
+ "minLength": 1
25433
+ },
25434
+ "approvalMode": {
25435
+ "description": "Use review to preview links, approve after the user selects links, or auto when the user wants immediate fetching.",
25436
+ "type": "string",
25437
+ "enum": [
25438
+ "review",
25439
+ "approve",
25440
+ "auto"
25441
+ ]
25442
+ },
25443
+ "reviewId": {
25444
+ "description": "ID returned by review mode. Required in approve mode.",
25445
+ "type": "string",
25446
+ "format": "uuid",
25447
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
25448
+ },
25449
+ "approvedUrls": {
25450
+ "description": "Only the URLs the user approved from this review. Required in approve mode.",
25451
+ "minItems": 1,
25452
+ "maxItems": 40,
25453
+ "type": "array",
25454
+ "items": {
25455
+ "type": "string",
25456
+ "minLength": 1,
25457
+ "maxLength": 2048
25458
+ }
25433
25459
  },
25434
25460
  "subreddit": {
25435
25461
  "description": 'Bare subreddit name to scope the scan to one community, e.g. "SEO" (no r/ prefix, no URL). Omit to scan all of Reddit.',
@@ -25438,7 +25464,7 @@ var MCP_TOOL_CATALOG = [
25438
25464
  },
25439
25465
  "window": {
25440
25466
  "default": "all",
25441
- "description": "Activity window. A post or captured comment must fall within the selected period. Omit for an undated topic search.",
25467
+ "description": "Activity window. Review uses it as a search hint. Fetching verifies that a post or captured comment falls in the window.",
25442
25468
  "type": "string",
25443
25469
  "enum": [
25444
25470
  "week",
@@ -25450,14 +25476,14 @@ var MCP_TOOL_CATALOG = [
25450
25476
  },
25451
25477
  "maxThreads": {
25452
25478
  "default": 20,
25453
- "description": "Maximum number of threads returned. If a candidate cannot be delivered, other relevant candidates can take its place. Each delivered thread and its comments are billed separately.",
25479
+ "description": "Maximum links shown in review mode, or threads returned when fetching.",
25454
25480
  "type": "integer",
25455
25481
  "minimum": 1,
25456
25482
  "maximum": 40
25457
25483
  },
25458
25484
  "includeComments": {
25459
25485
  "default": true,
25460
- "description": "Return captured comments. Dated searches open and bill for verified threads even when comments are omitted. Undated searches with comments omitted return search links without per-thread charges.",
25486
+ "description": "Return captured comments when fetching. Review only lists links. In the default mode, undated searches with comments omitted return links without opening threads.",
25461
25487
  "type": "boolean"
25462
25488
  },
25463
25489
  "maxCommentsPerThread": {
@@ -25468,9 +25494,6 @@ var MCP_TOOL_CATALOG = [
25468
25494
  "maximum": 200
25469
25495
  }
25470
25496
  },
25471
- "required": [
25472
- "topic"
25473
- ],
25474
25497
  "$schema": "https://json-schema.org/draft/2020-12/schema"
25475
25498
  },
25476
25499
  "annotations": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcpscraper-cli",
3
- "version": "0.57.2",
3
+ "version": "0.57.3",
4
4
  "description": "Command-line interface for the unified mcpscraper.dev MCP and REST APIs",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "commander": "^12.0.0",
22
- "mcpscraper-sdk": "^0.59.3"
22
+ "mcpscraper-sdk": "^0.59.4"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/node": "^22.0.0"