mcp-scraper 0.42.0 → 0.42.2
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 +1 -1
- package/dist/bin/api-server.cjs +13 -13
- package/dist/bin/api-server.cjs.map +1 -1
- package/dist/bin/api-server.js +1 -1
- package/dist/bin/mcp-scraper-cli.cjs +1 -1
- package/dist/bin/mcp-scraper-cli.cjs.map +1 -1
- package/dist/bin/mcp-scraper-cli.js +1 -1
- package/dist/bin/mcp-scraper-install.cjs +1 -1
- package/dist/bin/mcp-scraper-install.cjs.map +1 -1
- package/dist/bin/mcp-scraper-install.js +1 -1
- package/dist/bin/mcp-stdio-server.cjs +1 -1
- package/dist/bin/mcp-stdio-server.cjs.map +1 -1
- package/dist/bin/mcp-stdio-server.js +2 -2
- package/dist/{chunk-6O6DPKLX.js → chunk-N2B4AAWG.js} +2 -2
- package/dist/chunk-UQ7XJINF.js +7 -0
- package/dist/chunk-UQ7XJINF.js.map +1 -0
- package/dist/{server-MVCGZ4OK.js → server-2S7KQTPC.js} +15 -15
- package/dist/{server-MVCGZ4OK.js.map → server-2S7KQTPC.js.map} +1 -1
- package/package.json +2 -3
- package/dist/chunk-S5OVG2MK.js +0 -7
- package/dist/chunk-S5OVG2MK.js.map +0 -1
- /package/dist/{chunk-6O6DPKLX.js.map → chunk-N2B4AAWG.js.map} +0 -0
package/README.md
CHANGED
|
@@ -90,7 +90,7 @@ Build the branded one-click bundle:
|
|
|
90
90
|
npm run build:mcpb
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
The generated bundle is written to `build/mcpb/mcp-scraper-<version>.mcpb` and copied to `public/downloads/` for the hosted download. The current public bundle is `https://mcpscraper.dev/downloads/mcp-scraper.mcpb` (`0.42.
|
|
93
|
+
The generated bundle is written to `build/mcpb/mcp-scraper-<version>.mcpb` and copied to `public/downloads/` for the hosted download. The current public bundle is `https://mcpscraper.dev/downloads/mcp-scraper.mcpb` (`0.42.2`, SHA-256 `4c3459365b1df6c56a602ab37cda02c89593c8dccebdfabe71866317db49ebad`). Install it by opening or dragging it into Claude Desktop. Claude displays the `MCP Scraper` install card, icon, and API-key configuration field from the bundle manifest.
|
|
94
94
|
|
|
95
95
|
The MCPB install exposes every tool — web-intelligence plus all `browser_*` tools — through the one `mcp-scraper` server.
|
|
96
96
|
|
package/dist/bin/api-server.cjs
CHANGED
|
@@ -39227,7 +39227,7 @@ var PACKAGE_VERSION;
|
|
|
39227
39227
|
var init_version = __esm({
|
|
39228
39228
|
"src/version.ts"() {
|
|
39229
39229
|
"use strict";
|
|
39230
|
-
PACKAGE_VERSION = "0.42.
|
|
39230
|
+
PACKAGE_VERSION = "0.42.2";
|
|
39231
39231
|
}
|
|
39232
39232
|
});
|
|
39233
39233
|
|
|
@@ -55091,7 +55091,7 @@ var init_scheduled_result_routes = __esm({
|
|
|
55091
55091
|
}
|
|
55092
55092
|
const { key, error } = await memoryContext(c);
|
|
55093
55093
|
if (!key) return c.json(apiError(error ?? "Memory is unavailable.", "internal_error"), 503);
|
|
55094
|
-
const result = await memoryCall("
|
|
55094
|
+
const result = await memoryCall("list_artifact_templates", { status }, key);
|
|
55095
55095
|
if (!result.ok) return c.json(safeMemoryFailure(result), memoryStatus(result));
|
|
55096
55096
|
c.header("Cache-Control", "private, no-store");
|
|
55097
55097
|
return c.json({
|
|
@@ -55104,7 +55104,7 @@ var init_scheduled_result_routes = __esm({
|
|
|
55104
55104
|
if (!parsed.success) return c.json(apiError("The artifact template is invalid."), 400);
|
|
55105
55105
|
const { key, error } = await memoryContext(c);
|
|
55106
55106
|
if (!key) return c.json(apiError(error ?? "Memory is unavailable.", "internal_error"), 503);
|
|
55107
|
-
const result = await memoryCall("
|
|
55107
|
+
const result = await memoryCall("create_artifact_template", parsed.data, key);
|
|
55108
55108
|
return c.json(result.ok ? result : safeMemoryFailure(result), result.ok ? 201 : memoryStatus(result));
|
|
55109
55109
|
});
|
|
55110
55110
|
scheduledResultApp.get("/artifact-templates/:templateId", async (c) => {
|
|
@@ -55112,7 +55112,7 @@ var init_scheduled_result_routes = __esm({
|
|
|
55112
55112
|
if (!params.success) return c.json(apiError("The template id is invalid."), 400);
|
|
55113
55113
|
const { key, error } = await memoryContext(c);
|
|
55114
55114
|
if (!key) return c.json(apiError(error ?? "Memory is unavailable.", "internal_error"), 503);
|
|
55115
|
-
const result = await memoryCall("
|
|
55115
|
+
const result = await memoryCall("get_artifact_template", params.data, key);
|
|
55116
55116
|
c.header("Cache-Control", "private, no-store");
|
|
55117
55117
|
return c.json(result.ok ? result : safeMemoryFailure(result), result.ok ? 200 : memoryStatus(result));
|
|
55118
55118
|
});
|
|
@@ -55122,7 +55122,7 @@ var init_scheduled_result_routes = __esm({
|
|
|
55122
55122
|
if (!params.success || !body.success) return c.json(apiError("The template update is invalid."), 400);
|
|
55123
55123
|
const { key, error } = await memoryContext(c);
|
|
55124
55124
|
if (!key) return c.json(apiError(error ?? "Memory is unavailable.", "internal_error"), 503);
|
|
55125
|
-
const result = await memoryCall("
|
|
55125
|
+
const result = await memoryCall("update_artifact_template", { ...params.data, ...body.data }, key);
|
|
55126
55126
|
return c.json(result.ok ? result : safeMemoryFailure(result), result.ok ? 200 : memoryStatus(result));
|
|
55127
55127
|
});
|
|
55128
55128
|
for (const [path6, archived] of [["archive", true], ["restore", false]]) {
|
|
@@ -55131,7 +55131,7 @@ var init_scheduled_result_routes = __esm({
|
|
|
55131
55131
|
if (!params.success) return c.json(apiError("The template id is invalid."), 400);
|
|
55132
55132
|
const { key, error } = await memoryContext(c);
|
|
55133
55133
|
if (!key) return c.json(apiError(error ?? "Memory is unavailable.", "internal_error"), 503);
|
|
55134
|
-
const result = await memoryCall("
|
|
55134
|
+
const result = await memoryCall("archive_artifact_template", { ...params.data, archived }, key);
|
|
55135
55135
|
return c.json(result.ok ? result : safeMemoryFailure(result), result.ok ? 200 : memoryStatus(result));
|
|
55136
55136
|
});
|
|
55137
55137
|
}
|
|
@@ -55140,7 +55140,7 @@ var init_scheduled_result_routes = __esm({
|
|
|
55140
55140
|
if (!parsed.success) return c.json(apiError("The scheduled result filters are invalid."), 400);
|
|
55141
55141
|
const { key, error } = await memoryContext(c);
|
|
55142
55142
|
if (!key) return c.json(apiError(error ?? "Memory is unavailable.", "internal_error"), 503);
|
|
55143
|
-
const result = await memoryCall("
|
|
55143
|
+
const result = await memoryCall("list_scheduled_runs", parsed.data, key);
|
|
55144
55144
|
c.header("Cache-Control", "private, no-store");
|
|
55145
55145
|
return c.json(result.ok ? result : safeMemoryFailure(result), result.ok ? 200 : memoryStatus(result));
|
|
55146
55146
|
});
|
|
@@ -55149,15 +55149,15 @@ var init_scheduled_result_routes = __esm({
|
|
|
55149
55149
|
if (!params.success) return c.json(apiError("The run id is invalid."), 400);
|
|
55150
55150
|
const { key, error } = await memoryContext(c);
|
|
55151
55151
|
if (!key) return c.json(apiError(error ?? "Memory is unavailable.", "internal_error"), 503);
|
|
55152
|
-
const result = await memoryCall("
|
|
55152
|
+
const result = await memoryCall("get_scheduled_run", params.data, key);
|
|
55153
55153
|
c.header("Cache-Control", "private, no-store");
|
|
55154
55154
|
return c.json(result.ok ? result : safeMemoryFailure(result), result.ok ? 200 : memoryStatus(result));
|
|
55155
55155
|
});
|
|
55156
55156
|
for (const [path6, upstreamName, input] of [
|
|
55157
|
-
["open", "
|
|
55158
|
-
["unopen", "
|
|
55159
|
-
["archive", "
|
|
55160
|
-
["restore", "
|
|
55157
|
+
["open", "mark_scheduled_run_opened", {}],
|
|
55158
|
+
["unopen", "mark_scheduled_run_unopened", {}],
|
|
55159
|
+
["archive", "archive_scheduled_run", { archived: true }],
|
|
55160
|
+
["restore", "archive_scheduled_run", { archived: false }]
|
|
55161
55161
|
]) {
|
|
55162
55162
|
scheduledResultApp.post(`/schedule-runs/:runId/${path6}`, async (c) => {
|
|
55163
55163
|
const params = RunParamsSchema.safeParse(c.req.param());
|
|
@@ -55175,7 +55175,7 @@ var init_scheduled_result_routes = __esm({
|
|
|
55175
55175
|
if (!params.success || !body.success) return c.json(apiError("The view-link request is invalid."), 400);
|
|
55176
55176
|
const { user, key, error } = await memoryContext(c);
|
|
55177
55177
|
if (!key) return c.json(apiError(error ?? "Memory is unavailable.", "internal_error"), 503);
|
|
55178
|
-
const rawResult = await memoryCall("
|
|
55178
|
+
const rawResult = await memoryCall("get_scheduled_run", params.data, key);
|
|
55179
55179
|
const result = GetScheduledRunResponseSchema.safeParse(rawResult);
|
|
55180
55180
|
if (!result.success) return c.json(apiError("The scheduled result was not found.", "not_found"), 404);
|
|
55181
55181
|
const artifact = result.data.run.artifactOutputs.find((output) => output.artifactId === body.data.artifactId);
|