mcpscraper-cli 0.9.1 → 0.9.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.
Files changed (2) hide show
  1. package/dist/bin/cli.js +14 -18
  2. package/package.json +2 -2
package/dist/bin/cli.js CHANGED
@@ -9,7 +9,7 @@ import { join } from "path";
9
9
  import { ScraperClient, ScraperApiError } from "mcpscraper-sdk";
10
10
 
11
11
  // src/version.ts
12
- var CLI_VERSION = "0.9.1";
12
+ var CLI_VERSION = "0.9.3";
13
13
 
14
14
  // src/generated-tools.ts
15
15
  var MCP_TOOL_CATALOG = [
@@ -1794,7 +1794,7 @@ var MCP_TOOL_CATALOG = [
1794
1794
  "name": "capture_serp_page_snapshots",
1795
1795
  "category": "serpIntelligence",
1796
1796
  "title": "SERP Intelligence Page Snapshots",
1797
- "description": "Capture public ranking pages as SERP Intelligence page snapshots \u2014 persistent page evidence linked to a captured SERP. Provide urls, or targets to preserve source metadata. Private IPs, localhost, file, and internal URLs are rejected.",
1797
+ "description": "Capture public ranking pages as SERP Intelligence page snapshots \u2014 persistent page evidence linked to a captured SERP. Provide exactly one of urls or targets; use targets to preserve source metadata. Private IPs, localhost, file, and internal URLs are rejected. Costs 1 Credit per attempted URL.",
1798
1798
  "inputSchema": {
1799
1799
  "type": "object",
1800
1800
  "properties": {
@@ -1806,7 +1806,7 @@ var MCP_TOOL_CATALOG = [
1806
1806
  },
1807
1807
  "minItems": 1,
1808
1808
  "maxItems": 25,
1809
- "description": "Public HTTP/HTTPS URLs to capture. Do not pass localhost, private IPs, file URLs, or internal admin URLs."
1809
+ "description": "Public HTTP/HTTPS URLs to capture. Provide exactly one of urls or targets. Do not pass localhost, private IPs, file URLs, or internal admin URLs."
1810
1810
  },
1811
1811
  "targets": {
1812
1812
  "type": "array",
@@ -1843,7 +1843,7 @@ var MCP_TOOL_CATALOG = [
1843
1843
  },
1844
1844
  "minItems": 1,
1845
1845
  "maxItems": 25,
1846
- "description": "Structured targets. Use instead of urls when source kind or position should be preserved."
1846
+ "description": "Structured targets. Provide exactly one of targets or urls; use targets when source kind or position should be preserved."
1847
1847
  },
1848
1848
  "maxConcurrency": {
1849
1849
  "type": "integer",
@@ -1865,9 +1865,6 @@ var MCP_TOOL_CATALOG = [
1865
1865
  "description": "Include sanitized browser/proxy diagnostics."
1866
1866
  }
1867
1867
  },
1868
- "required": [
1869
- "urls"
1870
- ],
1871
1868
  "additionalProperties": false,
1872
1869
  "$schema": "http://json-schema.org/draft-07/schema#"
1873
1870
  },
@@ -1883,7 +1880,7 @@ var MCP_TOOL_CATALOG = [
1883
1880
  "name": "capture_serp_snapshot",
1884
1881
  "category": "serpIntelligence",
1885
1882
  "title": "SERP Intelligence Snapshot",
1886
- "description": "Capture a structured SERP Intelligence snapshot of a Google query \u2014 the persistent evidence format used by rank-tracking and comparison pipelines. Split query from location; leave proxyMode unset.",
1883
+ "description": "Capture a structured SERP Intelligence snapshot of a Google query \u2014 the persistent evidence format used by rank-tracking and comparison pipelines. Split query from location; leave proxyMode unset. Costs 4 Credits when headless or 14 if anti-bot escalation requires headful mode; the 14-Credit hold is settled to the mode used. Optional page snapshots add 1 Credit per attempted URL.",
1887
1884
  "inputSchema": {
1888
1885
  "type": "object",
1889
1886
  "properties": {
@@ -1947,14 +1944,14 @@ var MCP_TOOL_CATALOG = [
1947
1944
  "includePageSnapshots": {
1948
1945
  "type": "boolean",
1949
1946
  "default": false,
1950
- "description": "Also capture ranking-page snapshots for selected SERP URLs."
1947
+ "description": "Also capture ranking-page snapshots for selected SERP URLs. Each attempted snapshot adds 1 Credit."
1951
1948
  },
1952
1949
  "pageSnapshotLimit": {
1953
1950
  "type": "integer",
1954
1951
  "minimum": 0,
1955
1952
  "maximum": 10,
1956
1953
  "default": 0,
1957
- "description": "Maximum ranking-page snapshots when includePageSnapshots is true."
1954
+ "description": "Maximum ranking-page snapshots when includePageSnapshots is true. This capacity is held up front and unused capacity is refunded."
1958
1955
  }
1959
1956
  },
1960
1957
  "required": [
@@ -2089,7 +2086,7 @@ var MCP_TOOL_CATALOG = [
2089
2086
  "name": "create-scheduled-action",
2090
2087
  "category": "schedule",
2091
2088
  "title": "Create Scheduled Action",
2092
- "description": "Create a Credit-metered scheduled action in agent mode (default) or connection_sync mode. Each execution has a 75-Credit base charge; agent model usage is added at 1.5 times OpenRouter's actual reported cost. Agent mode follows the description and writes a result into the target vault. connection_sync deterministically runs approved read-only tools on bound service connections and ingests their data. Cadence 'once' runs a single time then completes permanently. Requires write access to the target vault.",
2089
+ "description": "Create a Credit-metered scheduled action for an active MCP Scraper Starter plan or higher, in agent mode (default) or connection_sync mode. Each execution has a 75-Credit base charge; agent model usage is added at 1.5 times OpenRouter's actual reported cost. Agent mode follows the description and writes a result into the target vault. connection_sync deterministically runs approved read-only tools on bound service connections and ingests their data. Cadence 'once' runs a single time then completes permanently. Requires write access to the target vault.",
2093
2090
  "inputSchema": {
2094
2091
  "type": "object",
2095
2092
  "properties": {
@@ -3063,7 +3060,7 @@ var MCP_TOOL_CATALOG = [
3063
3060
  "name": "get-schedule-link",
3064
3061
  "category": "schedule",
3065
3062
  "title": "Get Schedule Link",
3066
- "description": "Get your durable, bookmarkable link to the hosted Scheduled Actions page \u2014 a login-free UI to create, view, edit, pause, resume, and delete scheduled actions. The embedded secret is shown only once, on first call; it cannot be re-shown, only revoked and reissued via revoke-schedule-link.",
3063
+ "description": "Get your durable, bookmarkable link to the hosted Scheduled Actions page. Requires an active MCP Scraper Starter plan or higher. The embedded secret is shown only once, on first call; it cannot be re-shown, only revoked and reissued via revoke-schedule-link.",
3067
3064
  "inputSchema": {
3068
3065
  "type": "object",
3069
3066
  "properties": {},
@@ -3081,7 +3078,7 @@ var MCP_TOOL_CATALOG = [
3081
3078
  "name": "get-schedule-status",
3082
3079
  "category": "schedule",
3083
3080
  "title": "Get Schedule Status",
3084
- "description": "Get the Credit-metered Scheduled Actions policy. Scheduling is included rather than sold as a separate subscription: each execution has a 75-Credit base charge, and agent model usage is billed at 1.5 times OpenRouter's actual reported cost.",
3081
+ "description": "Get the Credit-metered Scheduled Actions access and billing policy. Scheduling requires an active MCP Scraper Starter plan or higher but has no separate subscription: each execution has a 75-Credit base charge, and agent model usage is billed at 1.5 times OpenRouter's actual reported cost.",
3085
3082
  "inputSchema": {
3086
3083
  "type": "object",
3087
3084
  "properties": {},
@@ -5940,7 +5937,7 @@ var MCP_TOOL_CATALOG = [
5940
5937
  "name": "set-schedule-entitlement",
5941
5938
  "category": "schedule",
5942
5939
  "title": "Set Schedule Entitlement",
5943
- "description": "Legacy migration and account-recovery control for old Scheduled Actions entitlements. New scheduling is Credit-metered and does not require a separate subscription. This admin-only tool may preserve a legacy API-key delegation or recover historical entitlement rows during migration.",
5940
+ "description": "Admin-only scheduled-action credential provisioning and historical-row recovery. Rotate the encrypted delegated MCP Scraper API key without changing legacy enabled/quota fields by omitting those fields. Legacy entitlement values are not runtime access controls; paid-plan access is checked against MCP Scraper directly.",
5944
5941
  "inputSchema": {
5945
5942
  "type": "object",
5946
5943
  "properties": {
@@ -5951,11 +5948,11 @@ var MCP_TOOL_CATALOG = [
5951
5948
  },
5952
5949
  "enabled": {
5953
5950
  "type": "boolean",
5954
- "description": "True to enable scheduled actions for this identity, false on cancel/expire."
5951
+ "description": "Historical entitlement value for migration/recovery only. Omit to preserve the stored value."
5955
5952
  },
5956
5953
  "quotaPerPeriod": {
5957
5954
  "type": "number",
5958
- "description": "Legacy monthly execution quota retained only for historical-row compatibility; it does not price new Credit-metered runs."
5955
+ "description": "Historical monthly execution quota retained only for migration compatibility. Omit to preserve the stored value."
5959
5956
  },
5960
5957
  "mcpScraperApiKey": {
5961
5958
  "type": "string",
@@ -5963,8 +5960,7 @@ var MCP_TOOL_CATALOG = [
5963
5960
  }
5964
5961
  },
5965
5962
  "required": [
5966
- "granteeIdentity",
5967
- "enabled"
5963
+ "granteeIdentity"
5968
5964
  ],
5969
5965
  "additionalProperties": false,
5970
5966
  "$schema": "http://json-schema.org/draft-07/schema#"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcpscraper-cli",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "Command-line interface for mcpscraper.dev and memory.mcpscraper.dev",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "commander": "^12.0.0",
21
- "mcpscraper-sdk": "^0.12.1"
21
+ "mcpscraper-sdk": "^0.12.4"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/node": "^22.0.0"