mcp-scraper 0.9.0 → 0.11.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 CHANGED
@@ -88,7 +88,7 @@ Build the branded one-click bundle:
88
88
  npm run build:mcpb
89
89
  ```
90
90
 
91
- 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.2.24`, SHA-256 `2aff0e961e3de920d1fc67230056988a4a9120735f26f234f0ada6242350a4f0`). 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.
91
+ 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.11.0`, SHA-256 `ed9f00c3f5ea47cc79b5e6e0205c2f85fecb9aa0eed5dcd55fee9e4e309ecfac`). 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.
92
92
 
93
93
  The MCPB install exposes every tool — web-intelligence plus all `browser_*` tools — through the one `mcp-scraper` server.
94
94
 
@@ -171,7 +171,7 @@ env = { MCP_SCRAPER_API_KEY = "sk_live_your_key" }
171
171
  - `workflow_run` — run hosted workflows such as `agent-packet`, `local-competitive-audit`, `map-comparison`, `serp-comparison`, `paa-expansion-brief`, and `ai-overview-language`; returns run metadata, summary, and artifact IDs.
172
172
  - `workflow_status` — reopen a workflow run and list its current status and artifacts.
173
173
  - `workflow_artifact_read` — pull generated workflow artifacts such as `evidence.json`, CSVs, Markdown briefs, and reports back into MCP context.
174
- - `rank_tracker_blueprint` — generate a database schema, cron/heartbeat plan, ingestion workflow, metrics list, and implementation prompt for building rank trackers. It has modes for Maps rankings via `directory_workflow`/`maps_search`, organic rankings via `search_serp`, AI Overview citation tracking, and PAA source presence tracking. This planning tool does not spend credits.
174
+ - `rank_tracker_workflow` — generate a database schema, cron/heartbeat plan, ingestion workflow, metrics list, and implementation prompt for building rank trackers. It has modes for Maps rankings via `directory_workflow`/`maps_search`, organic rankings via `search_serp`, AI Overview citation tracking, and PAA source presence tracking. This planning tool does not spend credits.
175
175
  - `credits_info`
176
176
 
177
177
  ### Browser-agent tools
@@ -207,7 +207,7 @@ The `mcp-scraper` server (and the MCPB bundle, which runs it) exposes both secti
207
207
 
208
208
  All MCP tools expose output schemas and return `structuredContent` with the IDs, URLs, CSV paths, transcripts, browser session handles, replay paths, artifacts, recipe fields, or blueprint fields needed by the next step. Browser Agent tools keep a JSON text block for older clients, but structured data is the primary contract. All tools carry MCP annotations; file-writing tools such as replay downloads and annotations state their filesystem side effects.
209
209
 
210
- The canonical tool inventory is generated at `docs/mcp-tool-manifest.generated.json`. The `mcp-scraper` stdio server exposes 45 tools (25 web-intelligence/workflow tools plus 20 browser tools). The hosted MCP endpoint at `https://mcpscraper.dev/mcp` exposes the web-intelligence/workflow tools plus `capture_serp_snapshot` and `capture_serp_page_snapshots` (27 total). Across all public surfaces there are 47 unique tool names.
210
+ The canonical tool inventory is generated at `docs/mcp-tool-manifest.generated.json`. Both the `mcp-scraper` stdio server and the hosted endpoint at `https://mcpscraper.dev/mcp` expose the same 153 tools: 68 scraper, browser, workflow, billing, and connected-service tools plus 85 durable-memory tools. Release verification compares the exact local and remote tool-name sets, not only the count.
211
211
 
212
212
  ## Resources
213
213
 
@@ -244,7 +244,7 @@ npm update -g mcp-scraper
244
244
  npm install mcp-scraper@latest
245
245
  ```
246
246
 
247
- Users who do not update can keep using the tools their installed package already advertises, but they will not see newly added stdio tools, schemas, or AI-facing descriptions. For example, a client running an older package cannot call `rank_tracker_blueprint`, `directory_workflow`, or browser tools through stdio even if the hosted API already supports adjacent endpoints.
247
+ Users who do not update can keep using the tools their installed package already advertises, but they will not see newly added stdio tools, schemas, or AI-facing descriptions. For example, a client running an older package cannot call `rank_tracker_workflow`, `directory_workflow`, connected-service actions, or browser tools through stdio even if the hosted API already supports adjacent endpoints.
248
248
 
249
249
  ## Branded One-Click Installs
250
250
 
@@ -27452,7 +27452,7 @@ var PACKAGE_VERSION;
27452
27452
  var init_version = __esm({
27453
27453
  "src/version.ts"() {
27454
27454
  "use strict";
27455
- PACKAGE_VERSION = "0.9.0";
27455
+ PACKAGE_VERSION = "0.11.0";
27456
27456
  }
27457
27457
  });
27458
27458
 
@@ -27625,7 +27625,7 @@ var init_output_schema_registry = __esm({
27625
27625
  });
27626
27626
 
27627
27627
  // src/mcp/mcp-tool-schemas.ts
27628
- var import_zod33, HarvestPaaInputSchema, ExtractUrlInputSchema, DiffPageInputSchema, MapSiteUrlsInputSchema, ExtractSiteInputSchema, AuditSiteInputSchema, YoutubeHarvestInputSchema, YoutubeTranscribeInputSchema, FacebookPageIntelInputSchema, FacebookAdSearchInputSchema, RedditThreadInputSchema, VideoFrameAnalysisInputSchema, VideoFrameAnalysisStatusInputSchema, FacebookAdTranscribeInputSchema, FacebookVideoTranscribeInputSchema, GoogleAdsSearchInputSchema, GoogleAdsPageIntelInputSchema, GoogleAdsTranscribeInputSchema, InstagramProfileContentInputSchema, InstagramMediaDownloadInputSchema, MapsPlaceIntelInputSchema, TrustpilotReviewsInputSchema, G2ReviewsInputSchema, ReviewCardSchema, MapsSearchInputSchema, DirectoryWorkflowInputSchema, ArtifactPointerOutputSchema, RankTrackerModeSchema, RankTrackerBlueprintInputSchema, NullableString, MapsSearchAttemptOutput, MapsSearchOutputSchema, DirectoryMapsBusinessOutput, DirectoryWorkflowOutputSchema, RankTrackerToolPlanOutput, RankTrackerTableOutput, RankTrackerCronJobOutput, RankTrackerBlueprintOutputSchema, OrganicResultOutput, AiOverviewOutput, EntityIdsOutput, HarvestPaaOutputSchema, SearchSerpOutputSchema, ExtractUrlOutputSchema, DiffPageOutputSchema, ExtractSiteOutputSchema, AuditSiteOutputSchema, MapsPlaceIntelOutputSchema, TrustpilotReviewsOutputSchema, G2ReviewsOutputSchema, CreditsInfoOutputSchema, MapSiteUrlsOutputSchema, YoutubeHarvestOutputSchema, FacebookAdSearchOutputSchema, VideoFrameAnalysisOutputSchema, VideoFrameAnalysisStatusOutputSchema, RedditThreadOutputSchema, FacebookPageIntelOutputSchema, GoogleAdsSearchOutputSchema, GoogleAdsPageIntelOutputSchema, FacebookVideoTranscribeOutputSchema, TranscriptChunkOutput, InstagramBrowserOutput, InstagramPaginationOutput, InstagramProfileContentOutputSchema, InstagramMediaTrackOutput, InstagramDownloadOutput, InstagramMediaDownloadOutputSchema, YoutubeTranscribeOutputSchema, FacebookAdTranscribeOutputSchema, GoogleAdsTranscribeOutputSchema, CaptureSerpSnapshotOutputSchema, CaptureSerpPageSnapshotsOutputSchema, CreditsInfoInputSchema, WorkflowIdSchema2, WorkflowListInputSchema, WorkflowSuggestInputSchema, WorkflowRunInputSchema, WorkflowStepInputSchema, WorkflowStatusInputSchema, WorkflowArtifactReadInputSchema, WorkflowRecipeOutput, WorkflowDefinitionOutput, WorkflowArtifactOutput, WorkflowListOutputSchema, WorkflowSuggestOutputSchema, WorkflowRunOutputSchema, WorkflowStepOutputSchema, WorkflowStatusOutputSchema, WorkflowArtifactReadOutputSchema, SearchSerpInputSchema, CaptureSerpSnapshotInputSchema, ScreenshotInputSchema, CaptureSerpPageSnapshotsInputSchema, ReportArtifactReadInputSchema, ReportArtifactReadOutputSchema, ListServiceConnectionsInputSchema, ListServiceConnectionsOutputSchema, SlackSendMessageInputSchema, SlackSendMessageOutputSchema, GmailSendMessageInputSchema, GmailSendMessageOutputSchema, GoogleCalendarCreateEventInputSchema, GoogleCalendarCreateEventOutputSchema;
27628
+ var import_zod33, HarvestPaaInputSchema, ExtractUrlInputSchema, DiffPageInputSchema, MapSiteUrlsInputSchema, ExtractSiteInputSchema, AuditSiteInputSchema, YoutubeHarvestInputSchema, YoutubeTranscribeInputSchema, FacebookPageIntelInputSchema, FacebookAdSearchInputSchema, RedditThreadInputSchema, VideoFrameAnalysisInputSchema, VideoFrameAnalysisStatusInputSchema, FacebookAdTranscribeInputSchema, FacebookVideoTranscribeInputSchema, GoogleAdsSearchInputSchema, GoogleAdsPageIntelInputSchema, GoogleAdsTranscribeInputSchema, InstagramProfileContentInputSchema, InstagramMediaDownloadInputSchema, MapsPlaceIntelInputSchema, TrustpilotReviewsInputSchema, G2ReviewsInputSchema, ReviewCardSchema, MapsSearchInputSchema, DirectoryWorkflowInputSchema, ArtifactPointerOutputSchema, RankTrackerModeSchema, RankTrackerBlueprintInputSchema, NullableString, MapsSearchAttemptOutput, MapsSearchOutputSchema, DirectoryMapsBusinessOutput, DirectoryWorkflowOutputSchema, RankTrackerToolPlanOutput, RankTrackerTableOutput, RankTrackerCronJobOutput, RankTrackerBlueprintOutputSchema, OrganicResultOutput, AiOverviewOutput, EntityIdsOutput, HarvestPaaOutputSchema, SearchSerpOutputSchema, ExtractUrlOutputSchema, DiffPageOutputSchema, ExtractSiteOutputSchema, AuditSiteOutputSchema, MapsPlaceIntelOutputSchema, TrustpilotReviewsOutputSchema, G2ReviewsOutputSchema, CreditsInfoOutputSchema, MapSiteUrlsOutputSchema, YoutubeHarvestOutputSchema, FacebookAdSearchOutputSchema, VideoFrameAnalysisOutputSchema, VideoFrameAnalysisStatusOutputSchema, RedditThreadOutputSchema, FacebookPageIntelOutputSchema, GoogleAdsSearchOutputSchema, GoogleAdsPageIntelOutputSchema, FacebookVideoTranscribeOutputSchema, TranscriptChunkOutput, InstagramBrowserOutput, InstagramPaginationOutput, InstagramProfileContentOutputSchema, InstagramMediaTrackOutput, InstagramDownloadOutput, InstagramMediaDownloadOutputSchema, YoutubeTranscribeOutputSchema, FacebookAdTranscribeOutputSchema, GoogleAdsTranscribeOutputSchema, CaptureSerpSnapshotOutputSchema, CaptureSerpPageSnapshotsOutputSchema, CreditsInfoInputSchema, WorkflowIdSchema2, WorkflowListInputSchema, WorkflowSuggestInputSchema, WorkflowRunInputSchema, WorkflowStepInputSchema, WorkflowStatusInputSchema, WorkflowArtifactReadInputSchema, WorkflowRecipeOutput, WorkflowDefinitionOutput, WorkflowArtifactOutput, WorkflowListOutputSchema, WorkflowSuggestOutputSchema, WorkflowRunOutputSchema, WorkflowStepOutputSchema, WorkflowStatusOutputSchema, WorkflowArtifactReadOutputSchema, SearchSerpInputSchema, CaptureSerpSnapshotInputSchema, ScreenshotInputSchema, CaptureSerpPageSnapshotsInputSchema, ReportArtifactReadInputSchema, ReportArtifactReadOutputSchema, ListServiceConnectionsInputSchema, ListServiceConnectionsOutputSchema, ReadServiceConnectionInputSchema, ReadServiceConnectionOutputSchema, CallServiceConnectionActionInputSchema, CallServiceConnectionActionOutputSchema, SetScheduledActionConnectionsInputSchema, SetScheduledActionConnectionsOutputSchema, SlackSendMessageInputSchema, SlackSendMessageOutputSchema, GmailSendMessageInputSchema, GmailSendMessageOutputSchema, GoogleCalendarCreateEventInputSchema, GoogleCalendarCreateEventOutputSchema, ZoomCreateMeetingInputSchema, ZoomCreateMeetingOutputSchema;
27629
27629
  var init_mcp_tool_schemas = __esm({
27630
27630
  "src/mcp/mcp-tool-schemas.ts"() {
27631
27631
  "use strict";
@@ -28657,9 +28657,46 @@ var init_mcp_tool_schemas = __esm({
28657
28657
  providerConfigKey: import_zod33.z.string(),
28658
28658
  label: import_zod33.z.string(),
28659
28659
  status: import_zod33.z.string(),
28660
- actionsEnabled: import_zod33.z.boolean()
28660
+ actionsEnabled: import_zod33.z.boolean(),
28661
+ readTools: import_zod33.z.array(import_zod33.z.string()).describe("Tool names this connection can be read with via read_service_connection."),
28662
+ actionTools: import_zod33.z.array(import_zod33.z.string()).describe("Explicitly allowlisted write or mutation tool names callable through call_service_connection_action after actions are enabled for this connection."),
28663
+ vaultName: import_zod33.z.string().nullable().describe("Memory vault this connection's digest writes into, if it has run at least once. Search it with memory-search."),
28664
+ tableName: import_zod33.z.string().nullable().describe("Table this connection's digest writes structured rows into, if it has run at least once. Query it with table-query.")
28661
28665
  }))
28662
28666
  };
28667
+ ReadServiceConnectionInputSchema = {
28668
+ connectionId: import_zod33.z.string().min(1).describe("A connectionId from list_service_connections."),
28669
+ tool: import_zod33.z.string().min(1).describe("One of that connection's readTools (from list_service_connections). An unlisted tool name is rejected with the allowed list."),
28670
+ args: import_zod33.z.record(import_zod33.z.string(), import_zod33.z.unknown()).optional().describe("Arguments for the tool, if it needs any (e.g. a channel id, a date filter).")
28671
+ };
28672
+ ReadServiceConnectionOutputSchema = {
28673
+ ok: import_zod33.z.boolean(),
28674
+ result: import_zod33.z.unknown().optional(),
28675
+ error: NullableString
28676
+ };
28677
+ CallServiceConnectionActionInputSchema = {
28678
+ connectionId: import_zod33.z.string().min(1).describe("A connectionId from list_service_connections with actionsEnabled true."),
28679
+ tool: import_zod33.z.string().min(1).describe("One exact tool name from that connection's actionTools. Arbitrary Nango action names are rejected server-side."),
28680
+ args: import_zod33.z.record(import_zod33.z.string(), import_zod33.z.unknown()).describe("Arguments required by the selected action. The provider action validates its own typed input before execution.")
28681
+ };
28682
+ CallServiceConnectionActionOutputSchema = {
28683
+ ok: import_zod33.z.boolean(),
28684
+ result: import_zod33.z.unknown().optional(),
28685
+ error: NullableString
28686
+ };
28687
+ SetScheduledActionConnectionsInputSchema = {
28688
+ scheduleActionId: import_zod33.z.string().min(1).describe("A scheduled action id returned by create-scheduled-action or list-scheduled-actions."),
28689
+ connections: import_zod33.z.array(import_zod33.z.object({
28690
+ connectionId: import_zod33.z.string().min(1).describe("A tenant-scoped connectionId from list_service_connections."),
28691
+ providerConfigKey: import_zod33.z.string().min(1).describe("The matching providerConfigKey returned with that connection."),
28692
+ allowedTools: import_zod33.z.array(import_zod33.z.string().min(1)).min(1).max(100).describe("Exact readTools and, only when live actions are enabled, actionTools this schedule may use.")
28693
+ }).strict()).max(20).describe("Exact connection and tool grants for this schedule. Pass an empty array to remove every external-service grant.")
28694
+ };
28695
+ SetScheduledActionConnectionsOutputSchema = {
28696
+ ok: import_zod33.z.boolean(),
28697
+ connections: import_zod33.z.array(import_zod33.z.unknown()).optional(),
28698
+ error: NullableString
28699
+ };
28663
28700
  SlackSendMessageInputSchema = {
28664
28701
  connectionId: import_zod33.z.string().min(1).describe("A Slack connectionId from list_service_connections, with actionsEnabled true."),
28665
28702
  channel: import_zod33.z.string().min(1).describe(`Slack channel ID to send to, e.g. "C1234567890". Get this from the connection's own read tools, not guessed.`),
@@ -28696,6 +28733,19 @@ var init_mcp_tool_schemas = __esm({
28696
28733
  result: import_zod33.z.unknown().optional(),
28697
28734
  error: NullableString
28698
28735
  };
28736
+ ZoomCreateMeetingInputSchema = {
28737
+ connectionId: import_zod33.z.string().min(1).describe("A Zoom connectionId from list_service_connections, with actionsEnabled true."),
28738
+ topic: import_zod33.z.string().min(1).max(200).describe("Meeting topic/title."),
28739
+ startDateTime: import_zod33.z.string().min(1).describe('Start time, ISO 8601, e.g. "2026-07-15T09:00:00-06:00".'),
28740
+ durationMinutes: import_zod33.z.number().int().min(1).max(1440).default(30).describe("Meeting duration in minutes. Default 30."),
28741
+ timezone: import_zod33.z.string().max(100).optional().describe('IANA timezone, e.g. "America/Denver".'),
28742
+ agenda: import_zod33.z.string().max(2e3).optional().describe("Meeting description/agenda.")
28743
+ };
28744
+ ZoomCreateMeetingOutputSchema = {
28745
+ ok: import_zod33.z.boolean(),
28746
+ result: import_zod33.z.unknown().optional(),
28747
+ error: NullableString
28748
+ };
28699
28749
  }
28700
28750
  });
28701
28751
 
@@ -29377,7 +29427,7 @@ function registerPaaExtractorMcpTools(server, executor, options = {}) {
29377
29427
  }, async (input) => formatCreditsInfo(await executor.creditsInfo(input), input));
29378
29428
  server.registerTool("list_service_connections", {
29379
29429
  title: "List Connected Services",
29380
- description: "List the third-party service connections (Slack, Gmail, Google Calendar) the account has authorized, with each connection's id and whether it is enabled for live actions. Get a connectionId from here before calling slack_send_message, gmail_send_message, or google_calendar_create_event.",
29430
+ description: "List every third-party service connection this MCP Scraper account has authorized, including Google Analytics, YouTube, Facebook Pages, LinkedIn, X, Meta Marketing, Slack, Gmail, Calendar, Drive, Zoom, Xero, and others. Returns the tenant-scoped connectionId plus exact readTools and actionTools. Get a connectionId and exact tool name here before calling read_service_connection or call_service_connection_action. For already-digested history, prefer the returned vaultName or tableName.",
29381
29431
  inputSchema: ListServiceConnectionsInputSchema,
29382
29432
  outputSchema: recordOutputSchema("list_service_connections", ListServiceConnectionsOutputSchema),
29383
29433
  annotations: { title: "List Connected Services", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false }
@@ -29403,6 +29453,34 @@ function registerPaaExtractorMcpTools(server, executor, options = {}) {
29403
29453
  outputSchema: recordOutputSchema("google_calendar_create_event", GoogleCalendarCreateEventOutputSchema),
29404
29454
  annotations: { title: "Create Calendar Event", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
29405
29455
  }, async (input) => executor.googleCalendarCreateEvent(input));
29456
+ server.registerTool("zoom_create_meeting", {
29457
+ title: "Create Zoom Meeting",
29458
+ description: "Create a meeting on a connected, action-enabled Zoom connection. Requires a connectionId from list_service_connections with actionsEnabled true; the person must have explicitly turned actions on for that connection.",
29459
+ inputSchema: ZoomCreateMeetingInputSchema,
29460
+ outputSchema: recordOutputSchema("zoom_create_meeting", ZoomCreateMeetingOutputSchema),
29461
+ annotations: { title: "Create Zoom Meeting", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
29462
+ }, async (input) => executor.zoomCreateMeeting(input));
29463
+ server.registerTool("read_service_connection", {
29464
+ title: "Read Connected Service",
29465
+ description: "Call one live, read-only tool on any connected service, including Google Analytics, YouTube, Facebook Pages, LinkedIn, X, Slack, Gmail, Calendar, Drive, Zoom, and Xero. Requires a connectionId and an exact name from that connection's readTools in list_service_connections; an unlisted tool is rejected server-side. For already-digested history, prefer memory-search over vaultName or table-query over tableName.",
29466
+ inputSchema: ReadServiceConnectionInputSchema,
29467
+ outputSchema: recordOutputSchema("read_service_connection", ReadServiceConnectionOutputSchema),
29468
+ annotations: { title: "Read Connected Service", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
29469
+ }, async (input) => executor.readServiceConnection(input));
29470
+ server.registerTool("call_service_connection_action", {
29471
+ title: "Run Connected Service Action",
29472
+ description: "Run one explicitly allowlisted write or mutation on a tenant-owned OAuth connection. First call list_service_connections, use a connection with actionsEnabled true, choose one exact actionTools entry, and supply that action's arguments. The server rejects arbitrary action names, inactive or foreign connections, disabled actions, and tools outside the provider allowlist. This may publish, update, send, subscribe, or delete provider data depending on the chosen tool.",
29473
+ inputSchema: CallServiceConnectionActionInputSchema,
29474
+ outputSchema: recordOutputSchema("call_service_connection_action", CallServiceConnectionActionOutputSchema),
29475
+ annotations: { title: "Run Connected Service Action", readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: true }
29476
+ }, async (input) => executor.callServiceConnectionAction(input));
29477
+ server.registerTool("set_scheduled_action_connections", {
29478
+ title: "Set Scheduled Action Connections",
29479
+ description: "Attach exact tenant-owned OAuth connections and exact allowed tools to an existing scheduled action. First create or identify the schedule, call list_service_connections, then grant only the required readTools and\u2014when that account has actionsEnabled true\u2014the required actionTools. The server verifies schedule ownership, connection ownership, provider policy, and the per-account action switch. Pass an empty connections array to remove all external-service access from the schedule.",
29480
+ inputSchema: SetScheduledActionConnectionsInputSchema,
29481
+ outputSchema: recordOutputSchema("set_scheduled_action_connections", SetScheduledActionConnectionsOutputSchema),
29482
+ annotations: { title: "Set Scheduled Action Connections", readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: false }
29483
+ }, async (input) => executor.setScheduledActionConnections(input));
29406
29484
  }
29407
29485
  var import_mcp, import_node_fs9, import_node_path12, import_node_crypto10;
29408
29486
  var init_paa_mcp_server = __esm({
@@ -29499,10 +29577,10 @@ var init_http_mcp_tool_executor = __esm({
29499
29577
  const configuredSerpIntelligenceTimeoutMs = Number(process.env.MCP_SCRAPER_SERP_INTELLIGENCE_HTTP_TIMEOUT_MS ?? this.timeoutMs);
29500
29578
  this.serpIntelligenceTimeoutMs = Number.isFinite(configuredSerpIntelligenceTimeoutMs) && configuredSerpIntelligenceTimeoutMs > 0 ? configuredSerpIntelligenceTimeoutMs : this.timeoutMs;
29501
29579
  }
29502
- async call(path6, body, timeoutMs = this.timeoutMs) {
29580
+ async call(path6, body, timeoutMs = this.timeoutMs, method = "POST") {
29503
29581
  try {
29504
29582
  const res = await fetch(`${this.baseUrl}${path6}`, {
29505
- method: "POST",
29583
+ method,
29506
29584
  headers: {
29507
29585
  "Content-Type": "application/json",
29508
29586
  "x-api-key": this.apiKey
@@ -29723,6 +29801,20 @@ var init_http_mcp_tool_executor = __esm({
29723
29801
  googleCalendarCreateEvent(input) {
29724
29802
  return this.call("/schedule-connections/actions/google-calendar/create-event", input);
29725
29803
  }
29804
+ zoomCreateMeeting(input) {
29805
+ return this.call("/schedule-connections/actions/zoom/create-meeting", input);
29806
+ }
29807
+ readServiceConnection(input) {
29808
+ return this.call("/schedule-connections/actions/read", input);
29809
+ }
29810
+ callServiceConnectionAction(input) {
29811
+ return this.call("/schedule-connections/actions/call", input);
29812
+ }
29813
+ setScheduledActionConnections(input) {
29814
+ return this.call(`/schedule-actions/${encodeURIComponent(input.scheduleActionId)}/connections`, {
29815
+ connections: input.connections
29816
+ }, void 0, "PUT");
29817
+ }
29726
29818
  captureSerpSnapshot(input) {
29727
29819
  return this.call("/serp-intelligence/capture", input, this.serpIntelligenceTimeoutMs);
29728
29820
  }
@@ -38913,6 +39005,14 @@ async function getNangoCatalog() {
38913
39005
  const safeDefaultAllowedTools = cleanTools(
38914
39006
  row.safeDefaultAllowedTools ?? row.safe_default_allowed_tools ?? row.defaultAllowedTools ?? row.default_allowed_tools ?? row.allowedTools ?? row.allowed_tools
38915
39007
  ).filter((tool) => !disabledTools?.has(tool));
39008
+ const platformSetupStatus = firstString(row, [
39009
+ "platformSetupStatus",
39010
+ "platform_setup_status",
39011
+ "setupStatus",
39012
+ "setup_status"
39013
+ ], 100);
39014
+ const appReviewStatus = row.appReviewLimited === true || row.app_review_limited === true ? "limited" : firstString(row, ["appReviewStatus", "app_review_status", "reviewStatus", "review_status"], 100);
39015
+ const appReviewNote = firstString(row, ["appReviewNote", "app_review_note", "reviewNote", "review_note"], 500);
38916
39016
  result.push({
38917
39017
  providerConfigKey,
38918
39018
  provider,
@@ -38922,7 +39022,10 @@ async function getNangoCatalog() {
38922
39022
  docsUrl,
38923
39023
  authMode,
38924
39024
  categories,
38925
- safeDefaultAllowedTools
39025
+ safeDefaultAllowedTools,
39026
+ platformSetupStatus,
39027
+ appReviewStatus,
39028
+ appReviewNote
38926
39029
  });
38927
39030
  }
38928
39031
  return result;
@@ -38949,6 +39052,10 @@ async function getNangoConnections(identity) {
38949
39052
  status: reconnectRequired ? "needs_reauth" : "connected",
38950
39053
  reconnectRequired,
38951
39054
  actionsEnabled: row.actionsEnabled === true || row.actions_enabled === true,
39055
+ readTools: cleanTools(row.readTools ?? row.read_tools),
39056
+ actionTools: cleanTools(row.actionTools ?? row.action_tools ?? row.writeTools ?? row.write_tools),
39057
+ vaultName: firstString(row, ["vaultName", "vault_name"], 100),
39058
+ tableName: firstString(row, ["tableName", "table_name"], 100),
38952
39059
  createdAt: firstString(row, ["createdAt", "created_at"], 100),
38953
39060
  updatedAt: firstString(row, ["updatedAt", "updated_at"], 100)
38954
39061
  });
@@ -39063,10 +39170,18 @@ async function setScheduleConnectionActionsEnabled(identity, connectionId, enabl
39063
39170
  if (!isRecord(data) || !isRecord(data.connection)) return enabled;
39064
39171
  return data.connection.actionsEnabled === true;
39065
39172
  }
39066
- async function callScheduleConnectionAction(identity, connectionId, input) {
39173
+ async function callScheduleConnectionAction(identity, connectionId, input, tool) {
39067
39174
  const body = await controlRequest("/api/internal/nango/connections/actions/call", {
39068
39175
  method: "POST",
39069
- body: JSON.stringify({ identity, connectionId, input })
39176
+ body: JSON.stringify({ identity, connectionId, ...tool ? { tool } : {}, input })
39177
+ });
39178
+ const data = unwrapData(body);
39179
+ return isRecord(data) ? data.result ?? data : data;
39180
+ }
39181
+ async function callScheduleConnectionRead(identity, connectionId, tool, args) {
39182
+ const body = await controlRequest("/api/internal/nango/connections/actions/read", {
39183
+ method: "POST",
39184
+ body: JSON.stringify({ identity, connectionId, tool, args: args ?? {} })
39070
39185
  });
39071
39186
  const data = unwrapData(body);
39072
39187
  return isRecord(data) ? data.result ?? data : data;
@@ -40073,6 +40188,62 @@ var init_server = __esm({
40073
40188
  return scheduleConnectionError(c, err, "Unable to create the calendar event.");
40074
40189
  }
40075
40190
  });
40191
+ app.post("/schedule-connections/actions/zoom/create-meeting", auth2, async (c) => {
40192
+ const user = c.get("user");
40193
+ const body = await c.req.json().catch(() => ({}));
40194
+ const connectionId = providerConfigKeyFrom(body.connectionId);
40195
+ if (!connectionId || typeof body.topic !== "string" || typeof body.startDateTime !== "string") {
40196
+ return c.json({ ok: false, error: "connectionId, topic, and startDateTime are required." }, 400);
40197
+ }
40198
+ try {
40199
+ const result = await callScheduleConnectionAction(user.email, connectionId, {
40200
+ topic: body.topic,
40201
+ startDateTime: body.startDateTime,
40202
+ durationMinutes: typeof body.durationMinutes === "number" ? body.durationMinutes : 30,
40203
+ timezone: typeof body.timezone === "string" ? body.timezone : void 0,
40204
+ agenda: typeof body.agenda === "string" ? body.agenda : void 0
40205
+ });
40206
+ return c.json({ ok: true, result });
40207
+ } catch (err) {
40208
+ return scheduleConnectionError(c, err, "Unable to create the Zoom meeting.");
40209
+ }
40210
+ });
40211
+ app.post("/schedule-connections/actions/read", auth2, async (c) => {
40212
+ const user = c.get("user");
40213
+ const body = await c.req.json().catch(() => ({}));
40214
+ const connectionId = providerConfigKeyFrom(body.connectionId);
40215
+ const tool = providerConfigKeyFrom(body.tool);
40216
+ if (!connectionId || !tool) {
40217
+ return c.json({ ok: false, error: "connectionId and tool are required." }, 400);
40218
+ }
40219
+ const args = body.args && typeof body.args === "object" && !Array.isArray(body.args) ? body.args : {};
40220
+ try {
40221
+ const result = await callScheduleConnectionRead(user.email, connectionId, tool, args);
40222
+ return c.json({ ok: true, result });
40223
+ } catch (err) {
40224
+ return scheduleConnectionError(c, err, "Unable to read from this connection.");
40225
+ }
40226
+ });
40227
+ app.post("/schedule-connections/actions/call", auth2, async (c) => {
40228
+ const user = c.get("user");
40229
+ const body = await c.req.json().catch(() => ({}));
40230
+ const connectionId = providerConfigKeyFrom(body.connectionId);
40231
+ const tool = providerConfigKeyFrom(body.tool);
40232
+ if (!connectionId || !tool || !body.args || typeof body.args !== "object" || Array.isArray(body.args)) {
40233
+ return c.json({ ok: false, error: "connectionId, tool, and an args object are required." }, 400);
40234
+ }
40235
+ try {
40236
+ const result = await callScheduleConnectionAction(
40237
+ user.email,
40238
+ connectionId,
40239
+ body.args,
40240
+ tool
40241
+ );
40242
+ return c.json({ ok: true, result });
40243
+ } catch (err) {
40244
+ return scheduleConnectionError(c, err, "Unable to run this connection action.");
40245
+ }
40246
+ });
40076
40247
  app.post("/schedule-link", auth2, async (c) => {
40077
40248
  try {
40078
40249
  const user = c.get("user");