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.
@@ -24879,7 +24879,7 @@ var PACKAGE_VERSION;
24879
24879
  var init_version = __esm({
24880
24880
  "src/version.ts"() {
24881
24881
  "use strict";
24882
- PACKAGE_VERSION = "0.3.27";
24882
+ PACKAGE_VERSION = "0.3.28";
24883
24883
  }
24884
24884
  });
24885
24885
 
@@ -26129,6 +26129,22 @@ function liveWebToolAnnotations(title) {
26129
26129
  openWorldHint: true
26130
26130
  };
26131
26131
  }
26132
+ function registerSerpIntelligenceCaptureTools(server, executor) {
26133
+ server.registerTool("capture_serp_snapshot", {
26134
+ title: "SERP Intelligence Snapshot",
26135
+ 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.",
26136
+ inputSchema: CaptureSerpSnapshotInputSchema,
26137
+ outputSchema: CaptureSerpSnapshotOutputSchema,
26138
+ annotations: liveWebToolAnnotations("SERP Intelligence Snapshot")
26139
+ }, async (input) => formatCaptureSerpSnapshot(await executor.captureSerpSnapshot(input), input));
26140
+ server.registerTool("capture_serp_page_snapshots", {
26141
+ title: "SERP Intelligence Page Snapshots",
26142
+ 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.",
26143
+ inputSchema: CaptureSerpPageSnapshotsInputSchema,
26144
+ outputSchema: CaptureSerpPageSnapshotsOutputSchema,
26145
+ annotations: liveWebToolAnnotations("SERP Intelligence Page Snapshots")
26146
+ }, async (input) => formatCaptureSerpPageSnapshots(await executor.captureSerpPageSnapshots(input), input));
26147
+ }
26132
26148
  function localPlanningToolAnnotations(title) {
26133
26149
  return {
26134
26150
  title,
@@ -28245,22 +28261,6 @@ async function requireMcpCallerKey(c) {
28245
28261
  if (!user) return mcpAuthError();
28246
28262
  return callerKey;
28247
28263
  }
28248
- function registerSerpIntelligenceCaptureTools(server, executor) {
28249
- server.registerTool("capture_serp_snapshot", {
28250
- title: "SERP Intelligence Snapshot",
28251
- 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.",
28252
- inputSchema: CaptureSerpSnapshotInputSchema,
28253
- outputSchema: CaptureSerpSnapshotOutputSchema,
28254
- annotations: liveWebToolAnnotations("SERP Intelligence Snapshot")
28255
- }, async (input) => formatCaptureSerpSnapshot(await executor.captureSerpSnapshot(input), input));
28256
- server.registerTool("capture_serp_page_snapshots", {
28257
- title: "SERP Intelligence Page Snapshots",
28258
- 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.",
28259
- inputSchema: CaptureSerpPageSnapshotsInputSchema,
28260
- outputSchema: CaptureSerpPageSnapshotsOutputSchema,
28261
- annotations: liveWebToolAnnotations("SERP Intelligence Page Snapshots")
28262
- }, async (input) => formatCaptureSerpPageSnapshots(await executor.captureSerpPageSnapshots(input), input));
28263
- }
28264
28264
  var import_hono11, import_webStandardStreamableHttp, mcpApp;
28265
28265
  var init_mcp_routes = __esm({
28266
28266
  "src/mcp/mcp-routes.ts"() {
@@ -28273,7 +28273,6 @@ var init_mcp_routes = __esm({
28273
28273
  init_mcp_response_formatter();
28274
28274
  init_db();
28275
28275
  init_mcp_oauth();
28276
- init_mcp_tool_schemas();
28277
28276
  configureReportSaving(false);
28278
28277
  mcpApp = new import_hono11.Hono();
28279
28278
  mcpApp.all("/", async (c) => {