mcpscraper-sdk 0.21.0 → 0.23.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 +7 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -40,12 +40,17 @@ Every non-2xx response throws a `ScraperApiError` with `status`, `code`, and the
|
|
|
40
40
|
|
|
41
41
|
## API surface
|
|
42
42
|
|
|
43
|
-
`client.tools` is the generated, typed
|
|
43
|
+
`client.tools` is the generated, typed 175-tool MCP surface. It includes 85 MCP Scraper tools and all 90 mirrored Memory tools from `contracts/mcp.tools.json`.
|
|
44
44
|
|
|
45
45
|
For multimodal results such as `meta_ad_creative_media`, call `client.tools.callToolResult(...)` to preserve native MCP image/audio/resource blocks. `callTool(...)` remains backward-compatible and returns the parsed structured or text value.
|
|
46
46
|
|
|
47
47
|
```ts
|
|
48
48
|
await client.tools.search.searchSerp({ query: 'roof repair Denver' })
|
|
49
|
+
await client.tools.web.archiveRead({
|
|
50
|
+
url: 'https://github.com/octocat/Hello-World/archive/refs/heads/master.zip',
|
|
51
|
+
path: 'Hello-World-master/README',
|
|
52
|
+
})
|
|
53
|
+
const method = await client.tools.editorial.readingRoomGuide({ focus: 'workflow' })
|
|
49
54
|
await client.tools.memory.search({ query: 'roofing warranty terms' })
|
|
50
55
|
await client.tools.connections.exportConnectedServiceData({
|
|
51
56
|
connectionId: 'conn_123',
|
|
@@ -110,4 +115,4 @@ npm run generate
|
|
|
110
115
|
|
|
111
116
|
## See also
|
|
112
117
|
|
|
113
|
-
[Repo README](../../README.md) (multi-language examples with real sample output) · [`mcpscraper-memory-sdk`](../memory) (Node, full
|
|
118
|
+
[Repo README](../../README.md) (multi-language examples with real sample output) · [`mcpscraper-memory-sdk`](../memory) (Node, full 92-tool direct-memory surface) · [`mcpscraper-sdk` on PyPI](https://pypi.org/project/mcpscraper-sdk/) · [`mcpscraper-cli`](../cli)
|
package/dist/index.d.cts
CHANGED
|
@@ -817,7 +817,7 @@ interface paths {
|
|
|
817
817
|
put?: never;
|
|
818
818
|
/**
|
|
819
819
|
* Call one memory.mcpscraper.dev tool by name, using this account's mcpscraper.dev API key
|
|
820
|
-
* @description Generic dispatch: names one of the
|
|
820
|
+
* @description Generic dispatch: names one of the 92 tools documented in this repo's
|
|
821
821
|
* `contracts/memory.tools.json` and forwards `args` to it, using a memory identity
|
|
822
822
|
* auto-provisioned for the calling mcpscraper.dev account. The response shape depends
|
|
823
823
|
* entirely on which tool was called — see that tool's `outputSchema` in the manifest.
|
package/dist/index.d.ts
CHANGED
|
@@ -817,7 +817,7 @@ interface paths {
|
|
|
817
817
|
put?: never;
|
|
818
818
|
/**
|
|
819
819
|
* Call one memory.mcpscraper.dev tool by name, using this account's mcpscraper.dev API key
|
|
820
|
-
* @description Generic dispatch: names one of the
|
|
820
|
+
* @description Generic dispatch: names one of the 92 tools documented in this repo's
|
|
821
821
|
* `contracts/memory.tools.json` and forwards `args` to it, using a memory identity
|
|
822
822
|
* auto-provisioned for the calling mcpscraper.dev account. The response shape depends
|
|
823
823
|
* entirely on which tool was called — see that tool's `outputSchema` in the manifest.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcpscraper-sdk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Official Node.js client for all
|
|
3
|
+
"version": "0.23.0",
|
|
4
|
+
"description": "Official Node.js client for all 175 mcpscraper.dev MCP tools and the REST API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.cjs",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"seo-api"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"mcpscraper-memory-sdk": "^0.
|
|
35
|
+
"mcpscraper-memory-sdk": "^0.24.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"openapi-typescript": "^7.13.0"
|