mcpscraper-cli 0.31.0 → 0.32.0
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 +2 -2
- package/dist/bin/cli.js +85 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Command-line interface for [mcpscraper.dev](https://mcpscraper.dev) and [memory.
|
|
|
4
4
|
|
|
5
5
|
[Release history](https://github.com/VilovietaSEO/mcpscraper-sdk/blob/main/CHANGELOG.md)
|
|
6
6
|
|
|
7
|
-
The CLI provides friendly shortcuts for common operations plus universal discovery and invocation for every one of the
|
|
7
|
+
The CLI provides friendly shortcuts for common operations plus universal discovery and invocation for every one of the 331 unified MCP tools (230 MCP Scraper plus 101 mirrored Memory tools).
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
@@ -41,7 +41,7 @@ mcpscraper tools call gmail_prepare_selection --args '{"connectionId":"gmail_con
|
|
|
41
41
|
mcpscraper tools call gmail_import_status --args '{"ingestId":"opaque_ingest_id"}' --json
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
`tools list` contains exactly
|
|
44
|
+
`tools list` contains exactly 331 manifest-backed names. `tools call` accepts any one of them. Tools marked destructive require `--yes`.
|
|
45
45
|
|
|
46
46
|
Keep a Gmail selection's ID, SHA-256, and count together. `gmail_import_status` only observes work; resume through `gmail_import_to_memory` with the original plan and idempotency key. Permanent deletion is a separate irreversible command requiring both `confirmPermanentDelete:true` and `--yes`; it is intentionally not shown as a copy/paste example.
|
|
47
47
|
|
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.
|
|
13
|
+
var CLI_VERSION = "0.32.0";
|
|
14
14
|
|
|
15
15
|
// src/generated-tools.ts
|
|
16
16
|
var MCP_TOOL_CATALOG = [
|
|
@@ -6483,7 +6483,7 @@ var MCP_TOOL_CATALOG = [
|
|
|
6483
6483
|
"name": "analytics_get_person_journey",
|
|
6484
6484
|
"category": "analytics",
|
|
6485
6485
|
"title": "Get Person Journey",
|
|
6486
|
-
"description": "Read
|
|
6486
|
+
"description": "Read CRM-oriented identified-person history: touches, calls, CRM stages, conversions, and delivery receipts. For analytics chronology use analytics_get_visitor_journey.",
|
|
6487
6487
|
"inputSchema": {
|
|
6488
6488
|
"type": "object",
|
|
6489
6489
|
"properties": {
|
|
@@ -6560,7 +6560,7 @@ var MCP_TOOL_CATALOG = [
|
|
|
6560
6560
|
"name": "analytics_get_session_timeline",
|
|
6561
6561
|
"category": "analytics",
|
|
6562
6562
|
"title": "Get Session Timeline",
|
|
6563
|
-
"description": "Read
|
|
6563
|
+
"description": "Read confirmed session summary, pages, events, acquisition, session rollups, and chronology. Use visitor journey for cross-session history.",
|
|
6564
6564
|
"inputSchema": {
|
|
6565
6565
|
"type": "object",
|
|
6566
6566
|
"properties": {
|
|
@@ -6575,6 +6575,18 @@ var MCP_TOOL_CATALOG = [
|
|
|
6575
6575
|
"minLength": 8,
|
|
6576
6576
|
"maxLength": 240,
|
|
6577
6577
|
"description": "Opaque Site-scoped reference returned by an X-Ray read. Raw visitor, session, device, email, phone, IP, and identity hashes are never accepted."
|
|
6578
|
+
},
|
|
6579
|
+
"from": {
|
|
6580
|
+
"description": "Inclusive ISO time. Defaults to 90 days before to; max window 366 days.",
|
|
6581
|
+
"type": "string",
|
|
6582
|
+
"format": "date-time",
|
|
6583
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
6584
|
+
},
|
|
6585
|
+
"to": {
|
|
6586
|
+
"description": "Exclusive ISO time. Defaults to now; max window 366 days.",
|
|
6587
|
+
"type": "string",
|
|
6588
|
+
"format": "date-time",
|
|
6589
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
6578
6590
|
}
|
|
6579
6591
|
},
|
|
6580
6592
|
"required": [
|
|
@@ -6836,7 +6848,7 @@ var MCP_TOOL_CATALOG = [
|
|
|
6836
6848
|
"name": "analytics_get_visitor_journey",
|
|
6837
6849
|
"category": "analytics",
|
|
6838
6850
|
"title": "Get Visitor Journey",
|
|
6839
|
-
"description": "Read one
|
|
6851
|
+
"description": "Read one confirmed cross-session visitor/person journey: summary, pages, events, acquisition, session rollups, and chronology. Candidate evidence is excluded.",
|
|
6840
6852
|
"inputSchema": {
|
|
6841
6853
|
"type": "object",
|
|
6842
6854
|
"properties": {
|
|
@@ -6851,6 +6863,18 @@ var MCP_TOOL_CATALOG = [
|
|
|
6851
6863
|
"minLength": 8,
|
|
6852
6864
|
"maxLength": 240,
|
|
6853
6865
|
"description": "Opaque Site-scoped reference returned by an X-Ray read. Raw visitor, session, device, email, phone, IP, and identity hashes are never accepted."
|
|
6866
|
+
},
|
|
6867
|
+
"from": {
|
|
6868
|
+
"description": "Inclusive ISO time. Defaults to 90 days before to; max window 366 days.",
|
|
6869
|
+
"type": "string",
|
|
6870
|
+
"format": "date-time",
|
|
6871
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
6872
|
+
},
|
|
6873
|
+
"to": {
|
|
6874
|
+
"description": "Exclusive ISO time. Defaults to now; max window 366 days.",
|
|
6875
|
+
"type": "string",
|
|
6876
|
+
"format": "date-time",
|
|
6877
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
6854
6878
|
}
|
|
6855
6879
|
},
|
|
6856
6880
|
"required": [
|
|
@@ -7939,7 +7963,7 @@ var MCP_TOOL_CATALOG = [
|
|
|
7939
7963
|
"name": "analytics_list_visitors",
|
|
7940
7964
|
"category": "analytics",
|
|
7941
7965
|
"title": "List X-Ray Visitors",
|
|
7942
|
-
"description": "Read bounded visitor summaries
|
|
7966
|
+
"description": "Read bounded visitor summaries with opaque references, visit counts, returning status, and confirmed conversion status.",
|
|
7943
7967
|
"inputSchema": {
|
|
7944
7968
|
"type": "object",
|
|
7945
7969
|
"properties": {
|
|
@@ -9975,6 +9999,12 @@ var MCP_TOOL_CATALOG = [
|
|
|
9975
9999
|
"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)$",
|
|
9976
10000
|
"description": "Analytics Site id returned by analytics_list_sites."
|
|
9977
10001
|
},
|
|
10002
|
+
"journeyTier": {
|
|
10003
|
+
"default": "confirmed",
|
|
10004
|
+
"description": "External activation is confirmed-only. Best-guess and candidate-assisted journey evidence is schema-invalid.",
|
|
10005
|
+
"type": "string",
|
|
10006
|
+
"const": "confirmed"
|
|
10007
|
+
},
|
|
9978
10008
|
"platform": {
|
|
9979
10009
|
"type": "string",
|
|
9980
10010
|
"enum": [
|
|
@@ -26303,6 +26333,56 @@ var MCP_TOOL_CATALOG = [
|
|
|
26303
26333
|
"idempotentHint": true,
|
|
26304
26334
|
"openWorldHint": false
|
|
26305
26335
|
}
|
|
26336
|
+
},
|
|
26337
|
+
{
|
|
26338
|
+
"name": "analytics_list_journeys",
|
|
26339
|
+
"category": "analytics",
|
|
26340
|
+
"title": "List X-Ray Journeys",
|
|
26341
|
+
"description": "List confirmed cross-session paths, separately labeled best-guess paths, or both. Candidate-assisted evidence cannot drive CRM or advertising actions.",
|
|
26342
|
+
"inputSchema": {
|
|
26343
|
+
"type": "object",
|
|
26344
|
+
"properties": {
|
|
26345
|
+
"siteId": {
|
|
26346
|
+
"type": "string",
|
|
26347
|
+
"format": "uuid",
|
|
26348
|
+
"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)$",
|
|
26349
|
+
"description": "Analytics Site id returned by analytics_list_sites."
|
|
26350
|
+
},
|
|
26351
|
+
"journeyTier": {
|
|
26352
|
+
"default": "confirmed",
|
|
26353
|
+
"description": "Select confirmed journeys, separately labeled best-guess journeys, or both branches. Confirmed is the default; best-guess evidence can never drive CRM or advertising actions.",
|
|
26354
|
+
"type": "string",
|
|
26355
|
+
"enum": [
|
|
26356
|
+
"confirmed",
|
|
26357
|
+
"best_guess",
|
|
26358
|
+
"all"
|
|
26359
|
+
]
|
|
26360
|
+
},
|
|
26361
|
+
"limit": {
|
|
26362
|
+
"default": 50,
|
|
26363
|
+
"description": "Maximum rows returned in each selected journey branch.",
|
|
26364
|
+
"type": "integer",
|
|
26365
|
+
"minimum": 1,
|
|
26366
|
+
"maximum": 100
|
|
26367
|
+
},
|
|
26368
|
+
"cursor": {
|
|
26369
|
+
"description": "Opaque keyset cursor returned in a selected branch pageInfo.nextCursor.",
|
|
26370
|
+
"type": "string",
|
|
26371
|
+
"maxLength": 1e3
|
|
26372
|
+
}
|
|
26373
|
+
},
|
|
26374
|
+
"required": [
|
|
26375
|
+
"siteId"
|
|
26376
|
+
],
|
|
26377
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema"
|
|
26378
|
+
},
|
|
26379
|
+
"annotations": {
|
|
26380
|
+
"title": "List X-Ray Journeys",
|
|
26381
|
+
"readOnlyHint": true,
|
|
26382
|
+
"destructiveHint": false,
|
|
26383
|
+
"idempotentHint": true,
|
|
26384
|
+
"openWorldHint": false
|
|
26385
|
+
}
|
|
26306
26386
|
}
|
|
26307
26387
|
];
|
|
26308
26388
|
var MCP_TOOL_NAMES = MCP_TOOL_CATALOG.map((tool) => tool.name);
|