mcpscraper-cli 0.57.2 → 0.57.4
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 +1 -1
- package/dist/bin/cli.js +53 -12
- package/package.json +2 -2
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
|
-
|
|
201
|
+
Pass `linkResolution: deferred` to Search or a People Also Ask harvest to receive results before wrapped Google links are resolved, then read the same job again for the destination URLs. See the [0.59.5 release notes](https://github.com/VilovietaSEO/mcpscraper-sdk/releases/tag/v0.59.5) 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.
|
|
13
|
+
var CLI_VERSION = "0.57.4";
|
|
14
14
|
|
|
15
15
|
// src/generated-tools.ts
|
|
16
16
|
var MCP_TOOL_CATALOG = [
|
|
@@ -21385,6 +21385,15 @@ var MCP_TOOL_CATALOG = [
|
|
|
21385
21385
|
"default": false,
|
|
21386
21386
|
"description": "Include the What People Are Saying social surface when present.",
|
|
21387
21387
|
"type": "boolean"
|
|
21388
|
+
},
|
|
21389
|
+
"linkResolution": {
|
|
21390
|
+
"default": "complete",
|
|
21391
|
+
"description": "complete waits until source and result links are real destination URLs, which adds about a minute after the questions are captured. deferred finishes the job as soon as questions, answers and sources are captured: wrapped links stay as working Google redirect links marked pending, and a later harvest_paa_status read of the same jobId supplies the destination URLs at no charge.",
|
|
21392
|
+
"type": "string",
|
|
21393
|
+
"enum": [
|
|
21394
|
+
"complete",
|
|
21395
|
+
"deferred"
|
|
21396
|
+
]
|
|
21388
21397
|
}
|
|
21389
21398
|
},
|
|
21390
21399
|
"required": [
|
|
@@ -21405,7 +21414,7 @@ var MCP_TOOL_CATALOG = [
|
|
|
21405
21414
|
"name": "harvest_paa_status",
|
|
21406
21415
|
"category": "other",
|
|
21407
21416
|
"title": "Check Durable Google PAA Harvest",
|
|
21408
|
-
"description": "Poll an owner-scoped harvest_paa_start job for saved answers and source descriptions, progress, recovery count, target/discovery status, material completeness, pagination, interaction outcomes, attempt outcomes, terminal rows, and billing. Wait at least 20 seconds before the first check and each later check. Unfinished answer expansion is partial. Page two adds organic results; PAA comes from page one. frontier_exhausted requires every observed eligible PAA control processed plus three healthy no-growth confirmations; interruption never means exhaustion. Polling never starts or bills another run.",
|
|
21417
|
+
"description": "Poll an owner-scoped harvest_paa_start job for saved answers and source descriptions, progress, recovery count, target/discovery status, material completeness, pagination, interaction outcomes, attempt outcomes, terminal rows, and billing. Wait at least 20 seconds before the first check and each later check. Unfinished answer expansion is partial. Page two adds organic results; PAA comes from page one. frontier_exhausted requires every observed eligible PAA control processed plus three healthy no-growth confirmations; interruption never means exhaustion. For a job started with linkResolution:deferred, a later read supplies destination URLs for links that were pending. Polling never starts or bills another run.",
|
|
21409
21418
|
"inputSchema": {
|
|
21410
21419
|
"type": "object",
|
|
21411
21420
|
"properties": {
|
|
@@ -25416,7 +25425,7 @@ var MCP_TOOL_CATALOG = [
|
|
|
25416
25425
|
"name": "reddit_trending",
|
|
25417
25426
|
"category": "reddit",
|
|
25418
25427
|
"title": "Reddit Trending",
|
|
25419
|
-
"description": "Find Reddit discussions
|
|
25428
|
+
"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
25429
|
"inputSchema": {
|
|
25421
25430
|
"type": "object",
|
|
25422
25431
|
"properties": {
|
|
@@ -25427,9 +25436,35 @@ var MCP_TOOL_CATALOG = [
|
|
|
25427
25436
|
"maxLength": 512
|
|
25428
25437
|
},
|
|
25429
25438
|
"topic": {
|
|
25439
|
+
"description": "Topic to search. Required for discovery. Approve mode uses the original review topic and options.",
|
|
25430
25440
|
"type": "string",
|
|
25431
|
-
"minLength": 1
|
|
25432
|
-
|
|
25441
|
+
"minLength": 1
|
|
25442
|
+
},
|
|
25443
|
+
"approvalMode": {
|
|
25444
|
+
"description": "Use review to preview links, approve after the user selects links, or auto when the user wants immediate fetching.",
|
|
25445
|
+
"type": "string",
|
|
25446
|
+
"enum": [
|
|
25447
|
+
"review",
|
|
25448
|
+
"approve",
|
|
25449
|
+
"auto"
|
|
25450
|
+
]
|
|
25451
|
+
},
|
|
25452
|
+
"reviewId": {
|
|
25453
|
+
"description": "ID returned by review mode. Required in approve mode.",
|
|
25454
|
+
"type": "string",
|
|
25455
|
+
"format": "uuid",
|
|
25456
|
+
"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)$"
|
|
25457
|
+
},
|
|
25458
|
+
"approvedUrls": {
|
|
25459
|
+
"description": "Only the URLs the user approved from this review. Required in approve mode.",
|
|
25460
|
+
"minItems": 1,
|
|
25461
|
+
"maxItems": 40,
|
|
25462
|
+
"type": "array",
|
|
25463
|
+
"items": {
|
|
25464
|
+
"type": "string",
|
|
25465
|
+
"minLength": 1,
|
|
25466
|
+
"maxLength": 2048
|
|
25467
|
+
}
|
|
25433
25468
|
},
|
|
25434
25469
|
"subreddit": {
|
|
25435
25470
|
"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 +25473,7 @@ var MCP_TOOL_CATALOG = [
|
|
|
25438
25473
|
},
|
|
25439
25474
|
"window": {
|
|
25440
25475
|
"default": "all",
|
|
25441
|
-
"description": "Activity window.
|
|
25476
|
+
"description": "Activity window. Review uses it as a search hint. Fetching verifies that a post or captured comment falls in the window.",
|
|
25442
25477
|
"type": "string",
|
|
25443
25478
|
"enum": [
|
|
25444
25479
|
"week",
|
|
@@ -25450,14 +25485,14 @@ var MCP_TOOL_CATALOG = [
|
|
|
25450
25485
|
},
|
|
25451
25486
|
"maxThreads": {
|
|
25452
25487
|
"default": 20,
|
|
25453
|
-
"description": "Maximum
|
|
25488
|
+
"description": "Maximum links shown in review mode, or threads returned when fetching.",
|
|
25454
25489
|
"type": "integer",
|
|
25455
25490
|
"minimum": 1,
|
|
25456
25491
|
"maximum": 40
|
|
25457
25492
|
},
|
|
25458
25493
|
"includeComments": {
|
|
25459
25494
|
"default": true,
|
|
25460
|
-
"description": "Return captured comments
|
|
25495
|
+
"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
25496
|
"type": "boolean"
|
|
25462
25497
|
},
|
|
25463
25498
|
"maxCommentsPerThread": {
|
|
@@ -25468,9 +25503,6 @@ var MCP_TOOL_CATALOG = [
|
|
|
25468
25503
|
"maximum": 200
|
|
25469
25504
|
}
|
|
25470
25505
|
},
|
|
25471
|
-
"required": [
|
|
25472
|
-
"topic"
|
|
25473
|
-
],
|
|
25474
25506
|
"$schema": "https://json-schema.org/draft/2020-12/schema"
|
|
25475
25507
|
},
|
|
25476
25508
|
"annotations": {
|
|
@@ -26448,6 +26480,15 @@ var MCP_TOOL_CATALOG = [
|
|
|
26448
26480
|
"minimum": 1,
|
|
26449
26481
|
"maximum": 2
|
|
26450
26482
|
},
|
|
26483
|
+
"linkResolution": {
|
|
26484
|
+
"default": "complete",
|
|
26485
|
+
"description": "complete waits until result links are real destination URLs, which can add 30 to 60 seconds when Google wraps them. deferred returns as soon as results are captured: wrapped links stay as working Google redirect links marked pending, and search_serp_status with the returned jobId supplies the destination URLs at no charge once they unlock, usually within a minute; the result states the wait.",
|
|
26486
|
+
"type": "string",
|
|
26487
|
+
"enum": [
|
|
26488
|
+
"complete",
|
|
26489
|
+
"deferred"
|
|
26490
|
+
]
|
|
26491
|
+
},
|
|
26451
26492
|
"recency": {
|
|
26452
26493
|
"description": "Limit Google results to the past week or past month. Date filters require one page, use the managed browser, and return organic listings only at 35 Credits. Omit for unfiltered results.",
|
|
26453
26494
|
"type": "string",
|
|
@@ -26474,7 +26515,7 @@ var MCP_TOOL_CATALOG = [
|
|
|
26474
26515
|
"name": "search_serp_status",
|
|
26475
26516
|
"category": "other",
|
|
26476
26517
|
"title": "Check Durable Google SERP Lookup",
|
|
26477
|
-
"description": "Read
|
|
26518
|
+
"description": "Read a saved search by jobId. For a search made with linkResolution:deferred, this supplies the destination URLs for links that were pending; wait the number of seconds the search result states, and call again if some are still pending. Also reads a durable SERP job created through the legacy HTTP job API. Reading never starts or bills another search.",
|
|
26478
26519
|
"inputSchema": {
|
|
26479
26520
|
"type": "object",
|
|
26480
26521
|
"properties": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcpscraper-cli",
|
|
3
|
-
"version": "0.57.
|
|
3
|
+
"version": "0.57.4",
|
|
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.
|
|
22
|
+
"mcpscraper-sdk": "^0.59.5"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/node": "^22.0.0"
|