mcp-scraper 0.8.0 → 0.10.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/dist/bin/api-server.cjs +682 -7
- 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 +133 -1
- package/dist/bin/mcp-stdio-server.cjs.map +1 -1
- package/dist/bin/mcp-stdio-server.js +2 -2
- package/dist/chunk-B7BAJU7K.js +7 -0
- package/dist/chunk-B7BAJU7K.js.map +1 -0
- package/dist/{chunk-ITJC3NN4.js → chunk-IRYBBEZJ.js} +134 -2
- package/dist/chunk-IRYBBEZJ.js.map +1 -0
- package/dist/{server-WBDVVHR6.js → server-KTA7CFX6.js} +544 -8
- package/dist/server-KTA7CFX6.js.map +1 -0
- package/docs/oauth-legal-review.md +38 -0
- package/package.json +1 -1
- package/dist/chunk-3MKSXDJ7.js +0 -7
- package/dist/chunk-3MKSXDJ7.js.map +0 -1
- package/dist/chunk-ITJC3NN4.js.map +0 -1
- package/dist/server-WBDVVHR6.js.map +0 -1
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
registerMemoryMcpTools,
|
|
8
8
|
registerPaaExtractorMcpTools,
|
|
9
9
|
registerSerpIntelligenceCaptureTools
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-IRYBBEZJ.js";
|
|
11
11
|
import "../chunk-R7EETU7Z.js";
|
|
12
12
|
import "../chunk-HPV4VOQX.js";
|
|
13
13
|
import {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import "../chunk-XGIPATLV.js";
|
|
17
17
|
import {
|
|
18
18
|
PACKAGE_VERSION
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-B7BAJU7K.js";
|
|
20
20
|
import "../chunk-HL33CGJF.js";
|
|
21
21
|
import "../chunk-M2S27J6Z.js";
|
|
22
22
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/version.ts"],"sourcesContent":["export const PACKAGE_VERSION = '0.10.0'\n"],"mappings":";AAAO,IAAM,kBAAkB;","names":[]}
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-XGIPATLV.js";
|
|
18
18
|
import {
|
|
19
19
|
PACKAGE_VERSION
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-B7BAJU7K.js";
|
|
21
21
|
import {
|
|
22
22
|
MC_PER_CREDIT
|
|
23
23
|
} from "./chunk-HL33CGJF.js";
|
|
@@ -3860,6 +3860,78 @@ var ReportArtifactReadOutputSchema = {
|
|
|
3860
3860
|
totalBytes: z.number().int().min(0),
|
|
3861
3861
|
nextOffset: z.number().int().min(0).nullable()
|
|
3862
3862
|
};
|
|
3863
|
+
var ListServiceConnectionsInputSchema = {};
|
|
3864
|
+
var ListServiceConnectionsOutputSchema = {
|
|
3865
|
+
connections: z.array(z.object({
|
|
3866
|
+
connectionId: z.string(),
|
|
3867
|
+
providerConfigKey: z.string(),
|
|
3868
|
+
label: z.string(),
|
|
3869
|
+
status: z.string(),
|
|
3870
|
+
actionsEnabled: z.boolean(),
|
|
3871
|
+
readTools: z.array(z.string()).describe("Tool names this connection can be read with via read_service_connection."),
|
|
3872
|
+
vaultName: z.string().nullable().describe("Memory vault this connection's digest writes into, if it has run at least once. Search it with memory-search."),
|
|
3873
|
+
tableName: 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.")
|
|
3874
|
+
}))
|
|
3875
|
+
};
|
|
3876
|
+
var ReadServiceConnectionInputSchema = {
|
|
3877
|
+
connectionId: z.string().min(1).describe("A connectionId from list_service_connections."),
|
|
3878
|
+
tool: 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."),
|
|
3879
|
+
args: z.record(z.string(), z.unknown()).optional().describe("Arguments for the tool, if it needs any (e.g. a channel id, a date filter).")
|
|
3880
|
+
};
|
|
3881
|
+
var ReadServiceConnectionOutputSchema = {
|
|
3882
|
+
ok: z.boolean(),
|
|
3883
|
+
result: z.unknown().optional(),
|
|
3884
|
+
error: NullableString
|
|
3885
|
+
};
|
|
3886
|
+
var SlackSendMessageInputSchema = {
|
|
3887
|
+
connectionId: z.string().min(1).describe("A Slack connectionId from list_service_connections, with actionsEnabled true."),
|
|
3888
|
+
channel: 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.`),
|
|
3889
|
+
text: z.string().min(1).max(4e3).describe("Message text to send.")
|
|
3890
|
+
};
|
|
3891
|
+
var SlackSendMessageOutputSchema = {
|
|
3892
|
+
ok: z.boolean(),
|
|
3893
|
+
result: z.unknown().optional(),
|
|
3894
|
+
error: NullableString
|
|
3895
|
+
};
|
|
3896
|
+
var GmailSendMessageInputSchema = {
|
|
3897
|
+
connectionId: z.string().min(1).describe("A Gmail connectionId from list_service_connections, with actionsEnabled true."),
|
|
3898
|
+
to: z.string().email().describe("Recipient email address."),
|
|
3899
|
+
subject: z.string().min(1).max(500).describe("Email subject line."),
|
|
3900
|
+
body: z.string().min(1).max(5e4).describe("Plain-text email body.")
|
|
3901
|
+
};
|
|
3902
|
+
var GmailSendMessageOutputSchema = {
|
|
3903
|
+
ok: z.boolean(),
|
|
3904
|
+
result: z.unknown().optional(),
|
|
3905
|
+
error: NullableString
|
|
3906
|
+
};
|
|
3907
|
+
var GoogleCalendarCreateEventInputSchema = {
|
|
3908
|
+
connectionId: z.string().min(1).describe("A Google Calendar connectionId from list_service_connections, with actionsEnabled true."),
|
|
3909
|
+
calendarId: z.string().min(1).default("primary").describe('Calendar to create the event in. Default "primary".'),
|
|
3910
|
+
summary: z.string().min(1).max(500).describe("Event title."),
|
|
3911
|
+
description: z.string().max(5e3).optional().describe("Event description."),
|
|
3912
|
+
location: z.string().max(500).optional().describe("Event location."),
|
|
3913
|
+
startDateTime: z.string().min(1).describe('Start time, ISO 8601, e.g. "2026-07-15T09:00:00-06:00".'),
|
|
3914
|
+
endDateTime: z.string().min(1).describe('End time, ISO 8601, e.g. "2026-07-15T10:00:00-06:00".'),
|
|
3915
|
+
timeZone: z.string().max(100).optional().describe('IANA timezone, e.g. "America/Denver". Applies to both start and end.')
|
|
3916
|
+
};
|
|
3917
|
+
var GoogleCalendarCreateEventOutputSchema = {
|
|
3918
|
+
ok: z.boolean(),
|
|
3919
|
+
result: z.unknown().optional(),
|
|
3920
|
+
error: NullableString
|
|
3921
|
+
};
|
|
3922
|
+
var ZoomCreateMeetingInputSchema = {
|
|
3923
|
+
connectionId: z.string().min(1).describe("A Zoom connectionId from list_service_connections, with actionsEnabled true."),
|
|
3924
|
+
topic: z.string().min(1).max(200).describe("Meeting topic/title."),
|
|
3925
|
+
startDateTime: z.string().min(1).describe('Start time, ISO 8601, e.g. "2026-07-15T09:00:00-06:00".'),
|
|
3926
|
+
durationMinutes: z.number().int().min(1).max(1440).default(30).describe("Meeting duration in minutes. Default 30."),
|
|
3927
|
+
timezone: z.string().max(100).optional().describe('IANA timezone, e.g. "America/Denver".'),
|
|
3928
|
+
agenda: z.string().max(2e3).optional().describe("Meeting description/agenda.")
|
|
3929
|
+
};
|
|
3930
|
+
var ZoomCreateMeetingOutputSchema = {
|
|
3931
|
+
ok: z.boolean(),
|
|
3932
|
+
result: z.unknown().optional(),
|
|
3933
|
+
error: NullableString
|
|
3934
|
+
};
|
|
3863
3935
|
|
|
3864
3936
|
// src/mcp/rank-tracker-blueprint.ts
|
|
3865
3937
|
var DEFAULT_MODES = ["maps", "organic", "ai_overview", "paa"];
|
|
@@ -4531,6 +4603,48 @@ function registerPaaExtractorMcpTools(server, executor, options = {}) {
|
|
|
4531
4603
|
openWorldHint: false
|
|
4532
4604
|
}
|
|
4533
4605
|
}, async (input) => formatCreditsInfo(await executor.creditsInfo(input), input));
|
|
4606
|
+
server.registerTool("list_service_connections", {
|
|
4607
|
+
title: "List Connected Services",
|
|
4608
|
+
description: "List the third-party service connections (Slack, Gmail, Google Calendar, Zoom, Xero) the account has authorized, with each connection's id, whether it is enabled for live actions, its live readTools, and its digest vault/table (if the digest has run). Get a connectionId from here before calling read_service_connection, slack_send_message, gmail_send_message, google_calendar_create_event, or zoom_create_meeting. For already-digested history, search vaultName with memory-search or query tableName with table-query instead of a live read.",
|
|
4609
|
+
inputSchema: ListServiceConnectionsInputSchema,
|
|
4610
|
+
outputSchema: recordOutputSchema("list_service_connections", ListServiceConnectionsOutputSchema),
|
|
4611
|
+
annotations: { title: "List Connected Services", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false }
|
|
4612
|
+
}, async (input) => executor.listServiceConnections(input));
|
|
4613
|
+
server.registerTool("slack_send_message", {
|
|
4614
|
+
title: "Send Slack Message",
|
|
4615
|
+
description: "Send a message to a Slack channel through a connected, action-enabled Slack connection. Requires a connectionId from list_service_connections with actionsEnabled true; the person must have explicitly turned actions on for that connection.",
|
|
4616
|
+
inputSchema: SlackSendMessageInputSchema,
|
|
4617
|
+
outputSchema: recordOutputSchema("slack_send_message", SlackSendMessageOutputSchema),
|
|
4618
|
+
annotations: { title: "Send Slack Message", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
4619
|
+
}, async (input) => executor.slackSendMessage(input));
|
|
4620
|
+
server.registerTool("gmail_send_message", {
|
|
4621
|
+
title: "Send Gmail Message",
|
|
4622
|
+
description: "Send an email through a connected, action-enabled Gmail connection. Requires a connectionId from list_service_connections with actionsEnabled true; the person must have explicitly turned actions on for that connection.",
|
|
4623
|
+
inputSchema: GmailSendMessageInputSchema,
|
|
4624
|
+
outputSchema: recordOutputSchema("gmail_send_message", GmailSendMessageOutputSchema),
|
|
4625
|
+
annotations: { title: "Send Gmail Message", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
4626
|
+
}, async (input) => executor.gmailSendMessage(input));
|
|
4627
|
+
server.registerTool("google_calendar_create_event", {
|
|
4628
|
+
title: "Create Calendar Event",
|
|
4629
|
+
description: "Create an event on a connected, action-enabled Google Calendar connection. Requires a connectionId from list_service_connections with actionsEnabled true; the person must have explicitly turned actions on for that connection.",
|
|
4630
|
+
inputSchema: GoogleCalendarCreateEventInputSchema,
|
|
4631
|
+
outputSchema: recordOutputSchema("google_calendar_create_event", GoogleCalendarCreateEventOutputSchema),
|
|
4632
|
+
annotations: { title: "Create Calendar Event", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
4633
|
+
}, async (input) => executor.googleCalendarCreateEvent(input));
|
|
4634
|
+
server.registerTool("zoom_create_meeting", {
|
|
4635
|
+
title: "Create Zoom Meeting",
|
|
4636
|
+
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.",
|
|
4637
|
+
inputSchema: ZoomCreateMeetingInputSchema,
|
|
4638
|
+
outputSchema: recordOutputSchema("zoom_create_meeting", ZoomCreateMeetingOutputSchema),
|
|
4639
|
+
annotations: { title: "Create Zoom Meeting", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true }
|
|
4640
|
+
}, async (input) => executor.zoomCreateMeeting(input));
|
|
4641
|
+
server.registerTool("read_service_connection", {
|
|
4642
|
+
title: "Read Connected Service",
|
|
4643
|
+
description: "Call one live, read-only tool on a connected service (Slack/Gmail/Google Calendar/Zoom/Xero) to get current data \u2014 e.g. get-conversation-history, list-messages, list-invoices. Requires a connectionId and a tool name from that connection's readTools in list_service_connections; an unlisted tool name is rejected. For history that's already been digested, prefer memory-search over the connection's vaultName or table-query over its tableName \u2014 faster and free.",
|
|
4644
|
+
inputSchema: ReadServiceConnectionInputSchema,
|
|
4645
|
+
outputSchema: recordOutputSchema("read_service_connection", ReadServiceConnectionOutputSchema),
|
|
4646
|
+
annotations: { title: "Read Connected Service", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true }
|
|
4647
|
+
}, async (input) => executor.readServiceConnection(input));
|
|
4534
4648
|
}
|
|
4535
4649
|
|
|
4536
4650
|
// src/mcp/http-mcp-tool-executor.ts
|
|
@@ -4815,6 +4929,24 @@ var HttpMcpToolExecutor = class {
|
|
|
4815
4929
|
creditsInfo(input) {
|
|
4816
4930
|
return this.call("/billing/credits", input);
|
|
4817
4931
|
}
|
|
4932
|
+
listServiceConnections(input) {
|
|
4933
|
+
return this.getJson("/schedule-connections");
|
|
4934
|
+
}
|
|
4935
|
+
slackSendMessage(input) {
|
|
4936
|
+
return this.call("/schedule-connections/actions/slack/send-message", input);
|
|
4937
|
+
}
|
|
4938
|
+
gmailSendMessage(input) {
|
|
4939
|
+
return this.call("/schedule-connections/actions/gmail/send-message", input);
|
|
4940
|
+
}
|
|
4941
|
+
googleCalendarCreateEvent(input) {
|
|
4942
|
+
return this.call("/schedule-connections/actions/google-calendar/create-event", input);
|
|
4943
|
+
}
|
|
4944
|
+
zoomCreateMeeting(input) {
|
|
4945
|
+
return this.call("/schedule-connections/actions/zoom/create-meeting", input);
|
|
4946
|
+
}
|
|
4947
|
+
readServiceConnection(input) {
|
|
4948
|
+
return this.call("/schedule-connections/actions/read", input);
|
|
4949
|
+
}
|
|
4818
4950
|
captureSerpSnapshot(input) {
|
|
4819
4951
|
return this.call("/serp-intelligence/capture", input, this.serpIntelligenceTimeoutMs);
|
|
4820
4952
|
}
|
|
@@ -8768,4 +8900,4 @@ export {
|
|
|
8768
8900
|
registerMemoryMcpTools,
|
|
8769
8901
|
MemoryMcpToolExecutor
|
|
8770
8902
|
};
|
|
8771
|
-
//# sourceMappingURL=chunk-
|
|
8903
|
+
//# sourceMappingURL=chunk-IRYBBEZJ.js.map
|