mcpscraper-cli 0.19.0 → 0.21.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 +3 -2
- package/dist/bin/cli.js +122 -4
- package/package.json +2 -2
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
|
|
5
|
+
The CLI provides friendly shortcuts for common operations plus universal discovery and invocation for every one of the 172 unified MCP tools (82 MCP Scraper plus 90 mirrored Memory tools).
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -31,9 +31,10 @@ mcpscraper tools call export_connected_service_data --args '{"connectionId":"met
|
|
|
31
31
|
mcpscraper tools call export_connected_service_data --args '{"connectionId":"gsc_conn_123","dataset":"search_console_performance","lastDays":28}' --json
|
|
32
32
|
mcpscraper tools call describe_service_connection_tool --args '{"connectionId":"conn_123","tool":"provider-tool-name"}' --json
|
|
33
33
|
mcpscraper tools call renew_connected_data_download --args '{"artifactId":"artifact_123"}' --json
|
|
34
|
+
mcpscraper tools call archive_read --args '{"url":"https://github.com/octocat/Hello-World/archive/refs/heads/master.zip"}' --json
|
|
34
35
|
```
|
|
35
36
|
|
|
36
|
-
`tools list` contains exactly
|
|
37
|
+
`tools list` contains exactly 172 manifest-backed names. `tools call` accepts any one of them. Tools marked destructive require `--yes`.
|
|
37
38
|
|
|
38
39
|
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 '{}'`.
|
|
39
40
|
|
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.
|
|
12
|
+
var CLI_VERSION = "0.21.0";
|
|
13
13
|
|
|
14
14
|
// src/generated-tools.ts
|
|
15
15
|
var MCP_TOOL_CATALOG = [
|
|
@@ -5018,6 +5018,10 @@ var MCP_TOOL_CATALOG = [
|
|
|
5018
5018
|
},
|
|
5019
5019
|
"description": {
|
|
5020
5020
|
"type": "string"
|
|
5021
|
+
},
|
|
5022
|
+
"acceptCanonical": {
|
|
5023
|
+
"type": "string",
|
|
5024
|
+
"description": "Reuse this existing tag instead of the proposed one, confirming a candidate returned by an earlier review. The proposed spelling is recorded as its alias."
|
|
5021
5025
|
}
|
|
5022
5026
|
},
|
|
5023
5027
|
"required": [
|
|
@@ -5028,7 +5032,7 @@ var MCP_TOOL_CATALOG = [
|
|
|
5028
5032
|
"additionalProperties": false
|
|
5029
5033
|
},
|
|
5030
5034
|
"maxItems": 8,
|
|
5031
|
-
"description": "Required justification for any tag that does not already exist.
|
|
5035
|
+
"description": "Required justification for any tag that does not already exist. Tags resolve against the account's existing vocabulary; new tags require a one-line description."
|
|
5032
5036
|
}
|
|
5033
5037
|
},
|
|
5034
5038
|
"required": [
|
|
@@ -5952,7 +5956,14 @@ var MCP_TOOL_CATALOG = [
|
|
|
5952
5956
|
"type": "string"
|
|
5953
5957
|
},
|
|
5954
5958
|
"maxItems": 8,
|
|
5955
|
-
"description": "Reviewed canonical tags.
|
|
5959
|
+
"description": "Reviewed canonical tags. Tags resolve against the account's existing vocabulary; new tags require a one-line description. When omitted, only deterministic source-provenance tags are recorded."
|
|
5960
|
+
},
|
|
5961
|
+
"tagDescriptions": {
|
|
5962
|
+
"type": "object",
|
|
5963
|
+
"additionalProperties": {
|
|
5964
|
+
"type": "string"
|
|
5965
|
+
},
|
|
5966
|
+
"description": "One-line meaning for any supplied tag that is new to the account, keyed by tag."
|
|
5956
5967
|
},
|
|
5957
5968
|
"related": {
|
|
5958
5969
|
"type": "array",
|
|
@@ -6339,6 +6350,13 @@ var MCP_TOOL_CATALOG = [
|
|
|
6339
6350
|
"baseRevision": {
|
|
6340
6351
|
"type": "number",
|
|
6341
6352
|
"description": "Revision the edit is based on (from a prior get/put). When provided, the write only applies if the note is still at this revision; otherwise it is rejected as a conflict instead of silently overwriting a concurrent edit. Omit for last-write-wins (fine for solo notes)."
|
|
6353
|
+
},
|
|
6354
|
+
"tagDescriptions": {
|
|
6355
|
+
"type": "object",
|
|
6356
|
+
"additionalProperties": {
|
|
6357
|
+
"type": "string"
|
|
6358
|
+
},
|
|
6359
|
+
"description": "One-line meaning for any tag in props.tags that is new to the account, keyed by tag. Tags resolve against the account's existing vocabulary; new tags require a one-line description."
|
|
6342
6360
|
}
|
|
6343
6361
|
},
|
|
6344
6362
|
"required": [
|
|
@@ -7355,7 +7373,7 @@ var MCP_TOOL_CATALOG = [
|
|
|
7355
7373
|
"name": "resolve-memory-tags",
|
|
7356
7374
|
"category": "tags",
|
|
7357
7375
|
"title": "Resolve Memory Tags",
|
|
7358
|
-
"description": "Resolve proposed concepts against the live tag vocabulary. Always inspect the complete vocabulary with list-memory-tags first. Returns reuse, create, or omit
|
|
7376
|
+
"description": "Resolve proposed concepts against the live tag vocabulary. Always inspect the complete vocabulary with list-memory-tags first. Returns reuse, review, create, or omit: spelling and singular/plural variants resolve to the canonical tag silently, while close and semantically related tags come back as ranked candidates for you to choose from. A new tag is appropriate only when no equivalent exists and the concept is central and reusable.",
|
|
7359
7377
|
"inputSchema": {
|
|
7360
7378
|
"type": "object",
|
|
7361
7379
|
"properties": {
|
|
@@ -7385,6 +7403,13 @@ var MCP_TOOL_CATALOG = [
|
|
|
7385
7403
|
},
|
|
7386
7404
|
"minItems": 1,
|
|
7387
7405
|
"maxItems": 20
|
|
7406
|
+
},
|
|
7407
|
+
"accept": {
|
|
7408
|
+
"type": "object",
|
|
7409
|
+
"additionalProperties": {
|
|
7410
|
+
"type": "string"
|
|
7411
|
+
},
|
|
7412
|
+
"description": "Confirm a candidate returned by an earlier review, as {proposedTag: canonicalTag}. The proposed spelling is recorded as an alias of the canonical tag so the same judgement is never re-litigated."
|
|
7388
7413
|
}
|
|
7389
7414
|
},
|
|
7390
7415
|
"required": [
|
|
@@ -8107,6 +8132,99 @@ var MCP_TOOL_CATALOG = [
|
|
|
8107
8132
|
"idempotentHint": false,
|
|
8108
8133
|
"openWorldHint": true
|
|
8109
8134
|
}
|
|
8135
|
+
},
|
|
8136
|
+
{
|
|
8137
|
+
"name": "merge-memory-tags",
|
|
8138
|
+
"category": "tags",
|
|
8139
|
+
"title": "Merge Memory Tags",
|
|
8140
|
+
"description": 'Collapse a duplicate tag into the canonical one across the whole account: every note using "from" is retagged to "into", "from" is recorded as an alias of "into", and the duplicate is removed from the vocabulary. Use when list-memory-tags shows two spellings of one concept. Irreversible; requires write scope.',
|
|
8141
|
+
"inputSchema": {
|
|
8142
|
+
"type": "object",
|
|
8143
|
+
"properties": {
|
|
8144
|
+
"from": {
|
|
8145
|
+
"type": "string",
|
|
8146
|
+
"minLength": 1,
|
|
8147
|
+
"description": "The duplicate tag to retire."
|
|
8148
|
+
},
|
|
8149
|
+
"into": {
|
|
8150
|
+
"type": "string",
|
|
8151
|
+
"minLength": 1,
|
|
8152
|
+
"description": 'The canonical tag to keep. Every note using "from" is retagged to this.'
|
|
8153
|
+
}
|
|
8154
|
+
},
|
|
8155
|
+
"required": [
|
|
8156
|
+
"from",
|
|
8157
|
+
"into"
|
|
8158
|
+
],
|
|
8159
|
+
"additionalProperties": false,
|
|
8160
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
8161
|
+
},
|
|
8162
|
+
"annotations": {
|
|
8163
|
+
"title": "Merge Memory Tags",
|
|
8164
|
+
"readOnlyHint": false,
|
|
8165
|
+
"destructiveHint": true,
|
|
8166
|
+
"idempotentHint": true,
|
|
8167
|
+
"openWorldHint": false
|
|
8168
|
+
}
|
|
8169
|
+
},
|
|
8170
|
+
{
|
|
8171
|
+
"name": "archive_read",
|
|
8172
|
+
"category": "web",
|
|
8173
|
+
"title": "List or Read ZIP Archive",
|
|
8174
|
+
"description": "Open any bounded public HTTPS ZIP, including a bundleUrl from check_site_export. Omit path to list files; pass an exact returned path to read a bounded UTF-8 text window. Set depositToLibrary true with a path to preserve the complete selected source file in the tenant Library vault. Rejects private-network URLs, unsafe paths, encrypted entries, symlinks, binary inline reads, and ZIP bombs.",
|
|
8175
|
+
"inputSchema": {
|
|
8176
|
+
"type": "object",
|
|
8177
|
+
"properties": {
|
|
8178
|
+
"url": {
|
|
8179
|
+
"type": "string",
|
|
8180
|
+
"format": "uri",
|
|
8181
|
+
"description": "Public HTTPS URL of a ZIP file, including a signed bundleUrl returned by check_site_export."
|
|
8182
|
+
},
|
|
8183
|
+
"path": {
|
|
8184
|
+
"type": "string",
|
|
8185
|
+
"minLength": 1,
|
|
8186
|
+
"maxLength": 2e3,
|
|
8187
|
+
"description": "Exact ZIP entry path to read. Omit to list the archive. Use a path returned by a previous archive_read listing."
|
|
8188
|
+
},
|
|
8189
|
+
"offset": {
|
|
8190
|
+
"type": "integer",
|
|
8191
|
+
"minimum": 0,
|
|
8192
|
+
"default": 0,
|
|
8193
|
+
"description": "Byte offset for a text-file read. Continue from nextOffset until it is null. Ignored when path is omitted."
|
|
8194
|
+
},
|
|
8195
|
+
"maxBytes": {
|
|
8196
|
+
"type": "integer",
|
|
8197
|
+
"minimum": 1,
|
|
8198
|
+
"maximum": 2e5,
|
|
8199
|
+
"default": 5e4,
|
|
8200
|
+
"description": "Maximum UTF-8 bytes to return from the selected text file. Default 50,000; maximum 200,000."
|
|
8201
|
+
},
|
|
8202
|
+
"maxEntries": {
|
|
8203
|
+
"type": "integer",
|
|
8204
|
+
"minimum": 1,
|
|
8205
|
+
"maximum": 1e3,
|
|
8206
|
+
"default": 200,
|
|
8207
|
+
"description": "Maximum entry rows returned when listing. The server still validates the complete archive. Default 200; maximum 1,000."
|
|
8208
|
+
},
|
|
8209
|
+
"depositToLibrary": {
|
|
8210
|
+
"type": "boolean",
|
|
8211
|
+
"default": false,
|
|
8212
|
+
"description": "Store the complete selected text file in the tenant Library vault through library-ingest. Requires path. Preserves the ZIP URL and entry path as source provenance."
|
|
8213
|
+
}
|
|
8214
|
+
},
|
|
8215
|
+
"required": [
|
|
8216
|
+
"url"
|
|
8217
|
+
],
|
|
8218
|
+
"additionalProperties": false,
|
|
8219
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
8220
|
+
},
|
|
8221
|
+
"annotations": {
|
|
8222
|
+
"title": "List or Read ZIP Archive",
|
|
8223
|
+
"readOnlyHint": false,
|
|
8224
|
+
"destructiveHint": false,
|
|
8225
|
+
"idempotentHint": false,
|
|
8226
|
+
"openWorldHint": true
|
|
8227
|
+
}
|
|
8110
8228
|
}
|
|
8111
8229
|
];
|
|
8112
8230
|
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.
|
|
3
|
+
"version": "0.21.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.
|
|
22
|
+
"mcpscraper-sdk": "^0.22.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/node": "^22.0.0"
|