mcp-scraper 0.3.27 → 0.3.28
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/dist/bin/api-server.cjs +17 -18
- 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 +110 -2
- package/dist/bin/mcp-stdio-server.cjs.map +1 -1
- package/dist/bin/mcp-stdio-server.js +7 -4
- package/dist/bin/mcp-stdio-server.js.map +1 -1
- package/dist/chunk-7MY2NSQX.js +7 -0
- package/dist/chunk-7MY2NSQX.js.map +1 -0
- package/dist/{chunk-6KHGYJIT.js → chunk-NGD4ITAO.js} +19 -9
- package/dist/chunk-NGD4ITAO.js.map +1 -0
- package/dist/{server-KUNOK47B.js → server-IDDX7KGT.js} +4 -26
- package/dist/{server-KUNOK47B.js.map → server-IDDX7KGT.js.map} +1 -1
- package/package.json +1 -1
- package/dist/chunk-6KHGYJIT.js.map +0 -1
- package/dist/chunk-DYV72F6A.js +0 -7
- package/dist/chunk-DYV72F6A.js.map +0 -1
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import {
|
|
2
|
-
CaptureSerpPageSnapshotsInputSchema,
|
|
3
|
-
CaptureSerpPageSnapshotsOutputSchema,
|
|
4
|
-
CaptureSerpSnapshotInputSchema,
|
|
5
|
-
CaptureSerpSnapshotOutputSchema,
|
|
6
2
|
HttpMcpToolExecutor,
|
|
7
3
|
auditImages,
|
|
8
4
|
buildLinkGraph,
|
|
@@ -11,18 +7,16 @@ import {
|
|
|
11
7
|
computeIssues,
|
|
12
8
|
configureReportSaving,
|
|
13
9
|
exportFanout,
|
|
14
|
-
formatCaptureSerpPageSnapshots,
|
|
15
|
-
formatCaptureSerpSnapshot,
|
|
16
10
|
harvestTimeoutBudget,
|
|
17
|
-
liveWebToolAnnotations,
|
|
18
11
|
outputBaseDir,
|
|
19
12
|
registerBrowserAgentMcpTools,
|
|
13
|
+
registerSerpIntelligenceCaptureTools,
|
|
20
14
|
renderImageSection,
|
|
21
15
|
renderIssueReport,
|
|
22
16
|
renderLinkReport,
|
|
23
17
|
sanitizeAttempts,
|
|
24
18
|
sanitizeHarvestResult
|
|
25
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NGD4ITAO.js";
|
|
26
20
|
import {
|
|
27
21
|
csvRecords,
|
|
28
22
|
listWorkflowDefinitions,
|
|
@@ -35,7 +29,7 @@ import {
|
|
|
35
29
|
workflowStepCount,
|
|
36
30
|
workflowSupportsSteps
|
|
37
31
|
} from "./chunk-NNEIXK5L.js";
|
|
38
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-7MY2NSQX.js";
|
|
39
33
|
import {
|
|
40
34
|
BROWSER_OPEN_MIN_BALANCE_MC,
|
|
41
35
|
CONCURRENCY_PRICE_ID,
|
|
@@ -14501,22 +14495,6 @@ async function requireMcpCallerKey(c) {
|
|
|
14501
14495
|
return callerKey;
|
|
14502
14496
|
}
|
|
14503
14497
|
var mcpApp = new Hono11();
|
|
14504
|
-
function registerSerpIntelligenceCaptureTools(server, executor) {
|
|
14505
|
-
server.registerTool("capture_serp_snapshot", {
|
|
14506
|
-
title: "SERP Intelligence Snapshot",
|
|
14507
|
-
description: "Capture a structured SERP Intelligence Google snapshot through POST /serp-intelligence/capture, the same product capture path used by Phoenix. Split query from location and infer gl/hl. Routing is automatic \u2014 leave proxyMode unset. Set debug true when investigating location evidence, proxy behavior, CAPTCHA, or capture reliability.",
|
|
14508
|
-
inputSchema: CaptureSerpSnapshotInputSchema,
|
|
14509
|
-
outputSchema: CaptureSerpSnapshotOutputSchema,
|
|
14510
|
-
annotations: liveWebToolAnnotations("SERP Intelligence Snapshot")
|
|
14511
|
-
}, async (input) => formatCaptureSerpSnapshot(await executor.captureSerpSnapshot(input), input));
|
|
14512
|
-
server.registerTool("capture_serp_page_snapshots", {
|
|
14513
|
-
title: "SERP Intelligence Page Snapshots",
|
|
14514
|
-
description: "Capture public ranking-page evidence through POST /serp-intelligence/page-snapshots, the same product page snapshot path used by Phoenix. Provide urls for simple captures or targets when preserving organic, AI citation, local-pack, configured target, or site-subject source metadata. Private IPs, localhost, file URLs, and internal URLs are rejected by the service. Use timeoutMs for slow pages and debug true for sanitized proxy/browser diagnostics.",
|
|
14515
|
-
inputSchema: CaptureSerpPageSnapshotsInputSchema,
|
|
14516
|
-
outputSchema: CaptureSerpPageSnapshotsOutputSchema,
|
|
14517
|
-
annotations: liveWebToolAnnotations("SERP Intelligence Page Snapshots")
|
|
14518
|
-
}, async (input) => formatCaptureSerpPageSnapshots(await executor.captureSerpPageSnapshots(input), input));
|
|
14519
|
-
}
|
|
14520
14498
|
mcpApp.all("/", async (c) => {
|
|
14521
14499
|
try {
|
|
14522
14500
|
const keyOrError = await requireMcpCallerKey(c);
|
|
@@ -19693,4 +19671,4 @@ app.get("/blog/:slug/", (c) => {
|
|
|
19693
19671
|
export {
|
|
19694
19672
|
app
|
|
19695
19673
|
};
|
|
19696
|
-
//# sourceMappingURL=server-
|
|
19674
|
+
//# sourceMappingURL=server-IDDX7KGT.js.map
|