mcpscraper-cli 0.36.0 → 0.37.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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Command-line interface for [mcpscraper.dev](https://mcpscraper.dev) and [memory.mcpscraper.dev](https://memory.mcpscraper.dev).
4
4
 
5
- The CLI provides friendly shortcuts for common operations plus universal discovery and invocation for every one of the 363 unified MCP tools, including the governed personal-assistant tools.
5
+ The CLI provides friendly shortcuts for common operations plus universal discovery and invocation for every one of the 373 unified MCP tools, including governed X-Ray revenue, survey, attribution-impact, and evidence-status operations.
6
6
 
7
7
  ## Install
8
8
 
@@ -39,7 +39,7 @@ mcpscraper tools call gmail_prepare_selection --args '{"connectionId":"gmail_con
39
39
  mcpscraper tools call gmail_import_status --args '{"ingestId":"opaque_ingest_id"}' --json
40
40
  ```
41
41
 
42
- `tools list` contains exactly 356 manifest-backed names. `tools call` accepts any one of them. Tools marked destructive require `--yes`.
42
+ `tools list` contains exactly 373 manifest-backed names. `tools call` accepts any one of them. Tools marked destructive require `--yes`.
43
43
 
44
44
  Integration connections are included with an active Starter plan or higher and have no extra connection-operation debit in this release. Scheduled occurrences cost 75 Credits; agent-mode runs also add 1.5 times OpenRouter's actual reported cost. Inspect the live policy with `mcpscraper tools call get-schedule-status --args '{}'`.
45
45
 
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.36.0";
13
+ var CLI_VERSION = "0.37.0";
14
14
 
15
15
  // src/generated-tools.ts
16
16
  var MCP_TOOL_CATALOG = [
@@ -29002,6 +29002,684 @@ var MCP_TOOL_CATALOG = [
29002
29002
  "idempotentHint": true,
29003
29003
  "openWorldHint": true
29004
29004
  }
29005
+ },
29006
+ {
29007
+ "name": "analytics_apply_revenue_source",
29008
+ "category": "analytics",
29009
+ "title": "Apply SaaS Revenue Authority",
29010
+ "description": "Apply one exact reviewed revenue-source revision using an idempotency key. It binds an authorized provider account and authority role; it never accepts credentials and does not claim the source live before provider receipt verification.",
29011
+ "inputSchema": {
29012
+ "type": "object",
29013
+ "properties": {
29014
+ "siteId": {
29015
+ "type": "string",
29016
+ "format": "uuid",
29017
+ "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)$",
29018
+ "description": "Authorized Analytics Site id."
29019
+ },
29020
+ "setupId": {
29021
+ "type": "string",
29022
+ "format": "uuid",
29023
+ "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)$",
29024
+ "description": "Owner-bound revenue setup id returned by prepare or the facade."
29025
+ },
29026
+ "revision": {
29027
+ "type": "integer",
29028
+ "exclusiveMinimum": 0,
29029
+ "maximum": 9007199254740991,
29030
+ "description": "Exact current revenue setup revision; reload before retrying a stale mutation."
29031
+ },
29032
+ "confirmed": {
29033
+ "type": "boolean",
29034
+ "const": true,
29035
+ "description": "Confirms this exact provider account, role, and event-family revision."
29036
+ },
29037
+ "idempotencyKey": {
29038
+ "type": "string",
29039
+ "minLength": 8,
29040
+ "maxLength": 160,
29041
+ "description": "Retry key; reuse only for this exact mutation."
29042
+ }
29043
+ },
29044
+ "required": [
29045
+ "siteId",
29046
+ "setupId",
29047
+ "revision",
29048
+ "confirmed",
29049
+ "idempotencyKey"
29050
+ ],
29051
+ "$schema": "https://json-schema.org/draft/2020-12/schema"
29052
+ },
29053
+ "annotations": {
29054
+ "title": "Apply SaaS Revenue Authority",
29055
+ "readOnlyHint": false,
29056
+ "destructiveHint": false,
29057
+ "idempotentHint": true,
29058
+ "openWorldHint": true
29059
+ }
29060
+ },
29061
+ {
29062
+ "name": "analytics_create_post_purchase_survey",
29063
+ "category": "analytics",
29064
+ "title": "Create Post-Purchase Survey Draft",
29065
+ "description": "Create an idempotent, structured, contact-free post-purchase survey draft. Customer answers remain reported influence and cannot establish identity, mutate CRM, qualify activation, or change observed touches.",
29066
+ "inputSchema": {
29067
+ "type": "object",
29068
+ "properties": {
29069
+ "siteId": {
29070
+ "type": "string",
29071
+ "format": "uuid",
29072
+ "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)$",
29073
+ "description": "Authorized Analytics Site id."
29074
+ },
29075
+ "name": {
29076
+ "type": "string",
29077
+ "minLength": 1,
29078
+ "maxLength": 160,
29079
+ "description": "Owner-facing survey name."
29080
+ },
29081
+ "question": {
29082
+ "type": "string",
29083
+ "minLength": 1,
29084
+ "maxLength": 500,
29085
+ "description": "Customer-visible structured influence question; do not request contact data or free text."
29086
+ },
29087
+ "selectionMode": {
29088
+ "type": "string",
29089
+ "enum": [
29090
+ "single",
29091
+ "multiple"
29092
+ ],
29093
+ "description": "Whether a respondent may select one influence or several."
29094
+ },
29095
+ "eligibleOutcomeFamilies": {
29096
+ "minItems": 1,
29097
+ "maxItems": 20,
29098
+ "type": "array",
29099
+ "items": {
29100
+ "type": "string",
29101
+ "minLength": 1,
29102
+ "maxLength": 80
29103
+ },
29104
+ "description": "Authoritative outcome families eligible to receive an invitation."
29105
+ },
29106
+ "exchangeTtlSeconds": {
29107
+ "type": "integer",
29108
+ "minimum": 60,
29109
+ "maximum": 86400,
29110
+ "description": "Short-lived merchant exchange-code lifetime."
29111
+ },
29112
+ "sessionTtlSeconds": {
29113
+ "type": "integer",
29114
+ "minimum": 60,
29115
+ "maximum": 86400,
29116
+ "description": "Hosted survey session lifetime after one-time exchange."
29117
+ },
29118
+ "approvedCopyId": {
29119
+ "description": "Versioned privacy disclosure approval. A draft may omit it; production publication may not.",
29120
+ "anyOf": [
29121
+ {
29122
+ "type": "string",
29123
+ "minLength": 1,
29124
+ "maxLength": 200
29125
+ },
29126
+ {
29127
+ "type": "null"
29128
+ }
29129
+ ]
29130
+ },
29131
+ "options": {
29132
+ "minItems": 2,
29133
+ "maxItems": 20,
29134
+ "type": "array",
29135
+ "items": {
29136
+ "type": "object",
29137
+ "properties": {
29138
+ "optionId": {
29139
+ "type": "string",
29140
+ "minLength": 1,
29141
+ "maxLength": 80,
29142
+ "description": "Stable opaque option id; changing a label never changes this id."
29143
+ },
29144
+ "label": {
29145
+ "type": "string",
29146
+ "minLength": 1,
29147
+ "maxLength": 160,
29148
+ "description": "Bounded owner-authored influence label. Free-text customer testimony is not accepted."
29149
+ }
29150
+ },
29151
+ "required": [
29152
+ "optionId",
29153
+ "label"
29154
+ ],
29155
+ "additionalProperties": false
29156
+ },
29157
+ "description": "Two to twenty stable structured influences."
29158
+ },
29159
+ "idempotencyKey": {
29160
+ "type": "string",
29161
+ "minLength": 8,
29162
+ "maxLength": 160,
29163
+ "description": "Retry key; reuse only for this exact mutation."
29164
+ }
29165
+ },
29166
+ "required": [
29167
+ "siteId",
29168
+ "name",
29169
+ "question",
29170
+ "selectionMode",
29171
+ "eligibleOutcomeFamilies",
29172
+ "exchangeTtlSeconds",
29173
+ "sessionTtlSeconds",
29174
+ "options",
29175
+ "idempotencyKey"
29176
+ ],
29177
+ "$schema": "https://json-schema.org/draft/2020-12/schema"
29178
+ },
29179
+ "annotations": {
29180
+ "title": "Create Post-Purchase Survey Draft",
29181
+ "readOnlyHint": false,
29182
+ "destructiveHint": false,
29183
+ "idempotentHint": true,
29184
+ "openWorldHint": false
29185
+ }
29186
+ },
29187
+ {
29188
+ "name": "analytics_get_attribution_methodology",
29189
+ "category": "analytics",
29190
+ "title": "Get X-Ray Attribution Methodology",
29191
+ "description": "Read the seven observed models, default position weights, explicit observed-plus-reported methodology, and evidence boundaries. Use before requesting combined impact; this never turns survey testimony or aggregate impressions into deterministic touches.",
29192
+ "inputSchema": {
29193
+ "type": "object",
29194
+ "properties": {
29195
+ "siteId": {
29196
+ "type": "string",
29197
+ "format": "uuid",
29198
+ "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)$",
29199
+ "description": "Authorized Analytics Site id."
29200
+ }
29201
+ },
29202
+ "required": [
29203
+ "siteId"
29204
+ ],
29205
+ "$schema": "https://json-schema.org/draft/2020-12/schema"
29206
+ },
29207
+ "annotations": {
29208
+ "title": "Get X-Ray Attribution Methodology",
29209
+ "readOnlyHint": true,
29210
+ "destructiveHint": false,
29211
+ "idempotentHint": true,
29212
+ "openWorldHint": false
29213
+ }
29214
+ },
29215
+ {
29216
+ "name": "analytics_get_impact_report",
29217
+ "category": "analytics",
29218
+ "title": "Get Observed and Reported Impact",
29219
+ "description": "Read an opt-in impact projection that keeps observed attribution and customer-reported influence in separate ledgers. Requires a published survey, one existing observed model, an immutable methodology version, and explicit weights totaling 1,000,000 micros.",
29220
+ "inputSchema": {
29221
+ "type": "object",
29222
+ "properties": {
29223
+ "siteId": {
29224
+ "type": "string",
29225
+ "format": "uuid",
29226
+ "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)$",
29227
+ "description": "Authorized Analytics Site id."
29228
+ },
29229
+ "surveyId": {
29230
+ "type": "string",
29231
+ "format": "uuid",
29232
+ "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)$",
29233
+ "description": "Published or paused post-purchase survey whose immutable responses supply the reported ledger."
29234
+ },
29235
+ "baseModel": {
29236
+ "type": "string",
29237
+ "enum": [
29238
+ "first_touch",
29239
+ "last_touch",
29240
+ "last_non_direct",
29241
+ "linear",
29242
+ "time_decay",
29243
+ "position_based",
29244
+ "custom_weighted"
29245
+ ],
29246
+ "description": "Existing observed attribution model; observed_plus_reported is deliberately not an observed model."
29247
+ },
29248
+ "observedWeightMicros": {
29249
+ "type": "integer",
29250
+ "minimum": 0,
29251
+ "maximum": 1e6,
29252
+ "description": "Observed share in micros. It must total exactly 1,000,000 with reportedWeightMicros."
29253
+ },
29254
+ "reportedWeightMicros": {
29255
+ "type": "integer",
29256
+ "minimum": 0,
29257
+ "maximum": 1e6,
29258
+ "description": "Customer-reported share in micros. It must total exactly 1,000,000 with observedWeightMicros."
29259
+ },
29260
+ "methodologyVersion": {
29261
+ "type": "string",
29262
+ "const": "xray_observed_plus_reported_equal_selected_v1",
29263
+ "description": "Immutable methodology selected after reading analytics_get_attribution_methodology."
29264
+ },
29265
+ "from": {
29266
+ "description": "Inclusive observed-evidence start. Omit with to for the last 30 days.",
29267
+ "type": "string",
29268
+ "format": "date-time",
29269
+ "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))$"
29270
+ },
29271
+ "to": {
29272
+ "description": "Exclusive observed-evidence end. Omit to use now.",
29273
+ "type": "string",
29274
+ "format": "date-time",
29275
+ "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))$"
29276
+ },
29277
+ "clickWindow": {
29278
+ "default": 90,
29279
+ "description": "Independent observed click window.",
29280
+ "anyOf": [
29281
+ {
29282
+ "type": "number",
29283
+ "const": 7
29284
+ },
29285
+ {
29286
+ "type": "number",
29287
+ "const": 14
29288
+ },
29289
+ {
29290
+ "type": "number",
29291
+ "const": 30
29292
+ },
29293
+ {
29294
+ "type": "number",
29295
+ "const": 60
29296
+ },
29297
+ {
29298
+ "type": "number",
29299
+ "const": 90
29300
+ },
29301
+ {
29302
+ "type": "number",
29303
+ "const": 180
29304
+ },
29305
+ {
29306
+ "type": "number",
29307
+ "const": 365
29308
+ },
29309
+ {
29310
+ "type": "string",
29311
+ "const": "lifetime"
29312
+ }
29313
+ ]
29314
+ },
29315
+ "viewWindow": {
29316
+ "default": 90,
29317
+ "description": "Independent view window; provider-unavailable state never manufactures view touches.",
29318
+ "anyOf": [
29319
+ {
29320
+ "type": "number",
29321
+ "const": 7
29322
+ },
29323
+ {
29324
+ "type": "number",
29325
+ "const": 14
29326
+ },
29327
+ {
29328
+ "type": "number",
29329
+ "const": 30
29330
+ },
29331
+ {
29332
+ "type": "number",
29333
+ "const": 60
29334
+ },
29335
+ {
29336
+ "type": "number",
29337
+ "const": 90
29338
+ },
29339
+ {
29340
+ "type": "number",
29341
+ "const": 180
29342
+ },
29343
+ {
29344
+ "type": "number",
29345
+ "const": 365
29346
+ },
29347
+ {
29348
+ "type": "string",
29349
+ "const": "lifetime"
29350
+ }
29351
+ ]
29352
+ }
29353
+ },
29354
+ "required": [
29355
+ "siteId",
29356
+ "surveyId",
29357
+ "baseModel",
29358
+ "observedWeightMicros",
29359
+ "reportedWeightMicros",
29360
+ "methodologyVersion"
29361
+ ],
29362
+ "$schema": "https://json-schema.org/draft/2020-12/schema"
29363
+ },
29364
+ "annotations": {
29365
+ "title": "Get Observed and Reported Impact",
29366
+ "readOnlyHint": true,
29367
+ "destructiveHint": false,
29368
+ "idempotentHint": true,
29369
+ "openWorldHint": false
29370
+ }
29371
+ },
29372
+ {
29373
+ "name": "analytics_get_post_purchase_survey_report",
29374
+ "category": "analytics",
29375
+ "title": "Get Post-Purchase Survey Report",
29376
+ "description": "Read aggregate response coverage, option counts, and separately labeled reported-influence evidence for one survey. The output excludes contact fields, raw invitation tokens, and deterministic touch claims.",
29377
+ "inputSchema": {
29378
+ "type": "object",
29379
+ "properties": {
29380
+ "siteId": {
29381
+ "type": "string",
29382
+ "format": "uuid",
29383
+ "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)$",
29384
+ "description": "Authorized Analytics Site id."
29385
+ },
29386
+ "surveyId": {
29387
+ "type": "string",
29388
+ "format": "uuid",
29389
+ "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)$",
29390
+ "description": "Owner-bound survey id."
29391
+ }
29392
+ },
29393
+ "required": [
29394
+ "siteId",
29395
+ "surveyId"
29396
+ ],
29397
+ "$schema": "https://json-schema.org/draft/2020-12/schema"
29398
+ },
29399
+ "annotations": {
29400
+ "title": "Get Post-Purchase Survey Report",
29401
+ "readOnlyHint": true,
29402
+ "destructiveHint": false,
29403
+ "idempotentHint": true,
29404
+ "openWorldHint": false
29405
+ }
29406
+ },
29407
+ {
29408
+ "name": "analytics_get_view_evidence_status",
29409
+ "category": "analytics",
29410
+ "title": "Get Provider View Evidence Status",
29411
+ "description": "Read provider-by-provider availability for event-level view evidence. Unavailable or unproven is an honest result; aggregate campaign impressions can never create person-level attribution touches.",
29412
+ "inputSchema": {
29413
+ "type": "object",
29414
+ "properties": {
29415
+ "siteId": {
29416
+ "type": "string",
29417
+ "format": "uuid",
29418
+ "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)$",
29419
+ "description": "Authorized Analytics Site id."
29420
+ }
29421
+ },
29422
+ "required": [
29423
+ "siteId"
29424
+ ],
29425
+ "$schema": "https://json-schema.org/draft/2020-12/schema"
29426
+ },
29427
+ "annotations": {
29428
+ "title": "Get Provider View Evidence Status",
29429
+ "readOnlyHint": true,
29430
+ "destructiveHint": false,
29431
+ "idempotentHint": true,
29432
+ "openWorldHint": false
29433
+ }
29434
+ },
29435
+ {
29436
+ "name": "analytics_prepare_revenue_source",
29437
+ "category": "analytics",
29438
+ "title": "Prepare SaaS Revenue Authority",
29439
+ "description": "Inspect an already-authorized provider connection and return a revisioned primary-or-observation revenue plan. This read-like preparation may query the provider but cannot create revenue or receive a provider credential.",
29440
+ "inputSchema": {
29441
+ "type": "object",
29442
+ "properties": {
29443
+ "siteId": {
29444
+ "type": "string",
29445
+ "format": "uuid",
29446
+ "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)$",
29447
+ "description": "Authorized Analytics Site id."
29448
+ },
29449
+ "serviceConnectionRef": {
29450
+ "type": "string",
29451
+ "minLength": 1,
29452
+ "maxLength": 240,
29453
+ "description": "Already-authorized connected-account reference. Credentials never belong in this input."
29454
+ },
29455
+ "role": {
29456
+ "default": "primary",
29457
+ "description": "Choose one primary authority per subscription-revenue outcome family; observation sources cannot create revenue.",
29458
+ "type": "string",
29459
+ "enum": [
29460
+ "primary",
29461
+ "observation"
29462
+ ]
29463
+ },
29464
+ "idempotencyKey": {
29465
+ "type": "string",
29466
+ "minLength": 8,
29467
+ "maxLength": 160,
29468
+ "description": "Retry key; reuse only for this exact mutation."
29469
+ }
29470
+ },
29471
+ "required": [
29472
+ "siteId",
29473
+ "serviceConnectionRef",
29474
+ "idempotencyKey"
29475
+ ],
29476
+ "$schema": "https://json-schema.org/draft/2020-12/schema"
29477
+ },
29478
+ "annotations": {
29479
+ "title": "Prepare SaaS Revenue Authority",
29480
+ "readOnlyHint": false,
29481
+ "destructiveHint": false,
29482
+ "idempotentHint": true,
29483
+ "openWorldHint": true
29484
+ }
29485
+ },
29486
+ {
29487
+ "name": "analytics_set_post_purchase_survey_state",
29488
+ "category": "analytics",
29489
+ "title": "Set Post-Purchase Survey State",
29490
+ "description": "Publish, pause, or irreversibly archive one exact survey revision. Production publication requires approved privacy disclosure evidence. Reuse the same idempotency key only for the identical transition; archive cannot be undone.",
29491
+ "inputSchema": {
29492
+ "type": "object",
29493
+ "properties": {
29494
+ "siteId": {
29495
+ "type": "string",
29496
+ "format": "uuid",
29497
+ "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)$",
29498
+ "description": "Authorized Analytics Site id."
29499
+ },
29500
+ "surveyId": {
29501
+ "type": "string",
29502
+ "format": "uuid",
29503
+ "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)$",
29504
+ "description": "Owner-bound survey id."
29505
+ },
29506
+ "revision": {
29507
+ "type": "integer",
29508
+ "exclusiveMinimum": 0,
29509
+ "maximum": 9007199254740991,
29510
+ "description": "Exact survey revision being changed."
29511
+ },
29512
+ "state": {
29513
+ "type": "string",
29514
+ "enum": [
29515
+ "published",
29516
+ "paused",
29517
+ "archived"
29518
+ ],
29519
+ "description": "Publish or pause this revision. Archive is irreversible."
29520
+ },
29521
+ "approvedCopyId": {
29522
+ "description": "Approved privacy disclosure identifier required for production publication; it is not legal approval by itself.",
29523
+ "anyOf": [
29524
+ {
29525
+ "type": "string",
29526
+ "minLength": 1,
29527
+ "maxLength": 200
29528
+ },
29529
+ {
29530
+ "type": "null"
29531
+ }
29532
+ ]
29533
+ },
29534
+ "idempotencyKey": {
29535
+ "type": "string",
29536
+ "minLength": 8,
29537
+ "maxLength": 160,
29538
+ "description": "Retry key; reuse only for this exact mutation."
29539
+ }
29540
+ },
29541
+ "required": [
29542
+ "siteId",
29543
+ "surveyId",
29544
+ "revision",
29545
+ "state",
29546
+ "idempotencyKey"
29547
+ ],
29548
+ "$schema": "https://json-schema.org/draft/2020-12/schema"
29549
+ },
29550
+ "annotations": {
29551
+ "title": "Set Post-Purchase Survey State",
29552
+ "readOnlyHint": false,
29553
+ "destructiveHint": true,
29554
+ "idempotentHint": true,
29555
+ "openWorldHint": false
29556
+ }
29557
+ },
29558
+ {
29559
+ "name": "analytics_setup_revenue_source",
29560
+ "category": "analytics",
29561
+ "title": "Set Up SaaS Revenue Authority",
29562
+ "description": "Use as the customer-facing SaaS revenue setup facade after tag and measurement readiness. It prepares, reads, applies, or verifies one owner-authorized subscription authority without accepting credentials. Provider calls may occur only through the approved connected account; reuse setupId and revision.",
29563
+ "inputSchema": {
29564
+ "type": "object",
29565
+ "properties": {
29566
+ "siteId": {
29567
+ "type": "string",
29568
+ "format": "uuid",
29569
+ "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)$",
29570
+ "description": "Authorized Analytics Site id."
29571
+ },
29572
+ "action": {
29573
+ "default": "continue",
29574
+ "description": "Lifecycle action. Continue reads an existing setup or prepares one when serviceConnectionRef is supplied.",
29575
+ "type": "string",
29576
+ "enum": [
29577
+ "continue",
29578
+ "prepare",
29579
+ "apply",
29580
+ "verify"
29581
+ ]
29582
+ },
29583
+ "setupId": {
29584
+ "type": "string",
29585
+ "format": "uuid",
29586
+ "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)$",
29587
+ "description": "Owner-bound revenue setup id returned by prepare or the facade."
29588
+ },
29589
+ "serviceConnectionRef": {
29590
+ "description": "Already-authorized connected-account reference. Never supply a credential, token, or provider key.",
29591
+ "type": "string",
29592
+ "minLength": 1,
29593
+ "maxLength": 240
29594
+ },
29595
+ "role": {
29596
+ "default": "primary",
29597
+ "description": "Primary may create subscription outcomes; observation only compares provider evidence.",
29598
+ "type": "string",
29599
+ "enum": [
29600
+ "primary",
29601
+ "observation"
29602
+ ]
29603
+ },
29604
+ "revision": {
29605
+ "type": "integer",
29606
+ "exclusiveMinimum": 0,
29607
+ "maximum": 9007199254740991,
29608
+ "description": "Exact current revenue setup revision; reload before retrying a stale mutation."
29609
+ },
29610
+ "confirmed": {
29611
+ "description": "Required only to apply the exact reviewed revision.",
29612
+ "type": "boolean",
29613
+ "const": true
29614
+ },
29615
+ "idempotencyKey": {
29616
+ "description": "Required for apply and verify. Reuse only for the identical operation.",
29617
+ "type": "string",
29618
+ "minLength": 8,
29619
+ "maxLength": 160
29620
+ }
29621
+ },
29622
+ "required": [
29623
+ "siteId"
29624
+ ],
29625
+ "$schema": "https://json-schema.org/draft/2020-12/schema"
29626
+ },
29627
+ "annotations": {
29628
+ "title": "Set Up SaaS Revenue Authority",
29629
+ "readOnlyHint": false,
29630
+ "destructiveHint": false,
29631
+ "idempotentHint": true,
29632
+ "openWorldHint": true
29633
+ }
29634
+ },
29635
+ {
29636
+ "name": "analytics_verify_revenue_source",
29637
+ "category": "analytics",
29638
+ "title": "Verify SaaS Revenue Authority",
29639
+ "description": "Verify one applied revenue source through the approved provider connection and return a redacted non-customer receipt state. A successful API call without a signed webhook or reconciliation receipt is not live proof.",
29640
+ "inputSchema": {
29641
+ "type": "object",
29642
+ "properties": {
29643
+ "siteId": {
29644
+ "type": "string",
29645
+ "format": "uuid",
29646
+ "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)$",
29647
+ "description": "Authorized Analytics Site id."
29648
+ },
29649
+ "setupId": {
29650
+ "type": "string",
29651
+ "format": "uuid",
29652
+ "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)$",
29653
+ "description": "Owner-bound revenue setup id returned by prepare or the facade."
29654
+ },
29655
+ "revision": {
29656
+ "type": "integer",
29657
+ "exclusiveMinimum": 0,
29658
+ "maximum": 9007199254740991,
29659
+ "description": "Exact current revenue setup revision; reload before retrying a stale mutation."
29660
+ },
29661
+ "idempotencyKey": {
29662
+ "type": "string",
29663
+ "minLength": 8,
29664
+ "maxLength": 160,
29665
+ "description": "Retry key; reuse only for this exact mutation."
29666
+ }
29667
+ },
29668
+ "required": [
29669
+ "siteId",
29670
+ "setupId",
29671
+ "revision",
29672
+ "idempotencyKey"
29673
+ ],
29674
+ "$schema": "https://json-schema.org/draft/2020-12/schema"
29675
+ },
29676
+ "annotations": {
29677
+ "title": "Verify SaaS Revenue Authority",
29678
+ "readOnlyHint": false,
29679
+ "destructiveHint": false,
29680
+ "idempotentHint": true,
29681
+ "openWorldHint": true
29682
+ }
29005
29683
  }
29006
29684
  ];
29007
29685
  var MCP_TOOL_NAMES = MCP_TOOL_CATALOG.map((tool) => tool.name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcpscraper-cli",
3
- "version": "0.36.0",
3
+ "version": "0.37.0",
4
4
  "description": "Command-line interface for mcpscraper.dev and memory.mcpscraper.dev",
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.37.0"
22
+ "mcpscraper-sdk": "^0.38.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/node": "^22.0.0"