mcpscraper-cli 0.20.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 +60 -1
- 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 = [
|
|
@@ -8166,6 +8166,65 @@ var MCP_TOOL_CATALOG = [
|
|
|
8166
8166
|
"idempotentHint": true,
|
|
8167
8167
|
"openWorldHint": false
|
|
8168
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
|
+
}
|
|
8169
8228
|
}
|
|
8170
8229
|
];
|
|
8171
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"
|