@speakai/mcp-server 1.40.2 → 1.41.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.
Files changed (3) hide show
  1. package/README.md +2 -0
  2. package/dist/index.js +28 -27
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -458,6 +458,8 @@ SPEAK_API_KEY=your-key npx @speakai/mcp-server
458
458
 
459
459
  `ask_ai_chat`, `retry_ai_chat` and `get_analysis_quote` register only with `aiChat: true`. The stdio server includes them; the hosted endpoint does not, because Speak's assistant behind AI Chat can call other tools.
460
460
 
461
+ The automation tools, `build_automation`, `provision_inbound_webhook`, `get_inbound_webhook` and `get_webhook_attempts` register only with `automations: true`, and `get_voice_test_run` and `apply_voice_test_recommendation` only with `voiceTestRunDetails: true`. The stdio server includes them; the hosted endpoint does not, because automation steps can run actions in connected third-party apps. On the hosted endpoint, set up automations in the Speak AI web app.
462
+
461
463
  </details>
462
464
 
463
465
  <details>
package/dist/index.js CHANGED
@@ -4867,7 +4867,7 @@ function register(server, client) {
4867
4867
  registerSpeakTool(
4868
4868
  server,
4869
4869
  "upload_media",
4870
- `Import an audio or video file into Speak AI from a URL and start transcription. Accepts a direct public file URL, a URL returned by get_signed_upload_url, or a page link from a supported platform, which the server resolves to the underlying media. Supported page links: ${SUPPORTED_URL_SOURCES}. ${UNSUPPORTED_URL_SOURCES} Requires an active subscription. Creates a media item and bills its duration against the workspace's minutes or credits. The request fails if the file exceeds the plan's size limit or its duration cannot be read, and no mediaId is returned if the balance is insufficient. Returns mediaId and state right away while processing continues in the background. Use get_media_status until state is 'processed', then get_transcript and get_media_insights.`,
4870
+ `Import an audio or video file into Speak AI from a URL and start transcription. Accepts a direct public file URL, a URL returned by get_signed_upload_url, or a page link from a supported platform, which the server resolves to the underlying media. Supported page links: ${SUPPORTED_URL_SOURCES}. ${UNSUPPORTED_URL_SOURCES} Creates a media item. The request fails if the file exceeds the plan's size limit or its duration cannot be read. Returns mediaId and state right away while processing continues in the background. Use get_media_status until state is 'processed', then get_transcript and get_media_insights.`,
4871
4871
  {
4872
4872
  name: import_zod2.z.string().min(1).describe("Display name for the media file"),
4873
4873
  url: import_zod2.z.string().describe("Direct public media file URL, a URL returned by get_signed_upload_url, or a page link from a platform listed in this tool's description. Page links are resolved server-side, so pass the URL the user gave you as-is."),
@@ -5535,7 +5535,7 @@ function register2(server, client) {
5535
5535
  registerSpeakTool(
5536
5536
  server,
5537
5537
  "create_text_note",
5538
- "Create a new text note in Speak AI for analysis. The content will be analyzed for insights, topics, and sentiment. Uses one text note from the plan allowance, then the workspace's credits; the request is refused when neither can cover it.",
5538
+ "Create a new text note in Speak AI for analysis. The content will be analyzed for insights, topics, and sentiment.",
5539
5539
  {
5540
5540
  name: import_zod3.z.string().min(1).describe("Title/name for the text note"),
5541
5541
  text: import_zod3.z.string().optional().describe("Full text content to analyze"),
@@ -5555,7 +5555,7 @@ function register2(server, client) {
5555
5555
  readOnlyHint: false,
5556
5556
  destructiveHint: false,
5557
5557
  idempotentHint: false,
5558
- openWorldHint: false
5558
+ openWorldHint: true
5559
5559
  },
5560
5560
  async (body) => {
5561
5561
  try {
@@ -6655,14 +6655,14 @@ function register6(server, client) {
6655
6655
  registerSpeakTool(
6656
6656
  server,
6657
6657
  "list_embed_sessions",
6658
- "Owner analytics for an embed: list the visits (sessions) to one embed, newest first by default. Each session has its start and last activity time, whether it is still live, total and active time, media opened, time watched, questions asked, the viewer's email and name when they identified themselves, their country, browser, device and referrer, campaign tags, and whether it was a bot. Returns sessions with totalCount, page and pageSize. Use get_embed_session with a session's _id for its full timeline.",
6658
+ "Viewing analytics for an embed the user owns: list the visits (sessions) to one embed, newest first by default. Each visit shows when it started and was last active, whether it is still live, total and active time, media opened, time watched, questions asked, traffic source and campaign tags, whether it was a bot, and the viewer's identity if they chose to share it. Returns sessions with totalCount, page and pageSize. Use get_embed_session with a session's _id for its full timeline.",
6659
6659
  {
6660
6660
  embedId: embedIdSchema,
6661
6661
  ...embedSessionRangeSchema,
6662
6662
  page: import_zod7.z.number().int().min(0).optional().describe("0-based page index (default 0)"),
6663
6663
  pageSize: import_zod7.z.number().int().min(1).max(EMBED_SESSION_LIMITS.maxListPageSize).optional().describe(`Sessions per page (default ${EMBED_SESSION_LIMITS.listPageSize}, max ${EMBED_SESSION_LIMITS.maxListPageSize})`),
6664
- search: import_zod7.z.string().max(EMBED_SESSION_LIMITS.maxSearchLength).optional().describe("Match a viewer email (any part) or the start of a visitorId"),
6665
- viewer: import_zod7.z.enum(Object.values(EmbedSessionViewerFilter)).optional().describe("identified keeps viewers who gave their email, anonymous keeps the rest (default all)"),
6664
+ search: import_zod7.z.string().max(EMBED_SESSION_LIMITS.maxSearchLength).optional().describe("Match what a viewer shared about themselves (any part) or the start of a visitorId"),
6665
+ viewer: import_zod7.z.enum(Object.values(EmbedSessionViewerFilter)).optional().describe("identified keeps viewers who chose to identify themselves, anonymous keeps the rest (default all)"),
6666
6666
  device: import_zod7.z.enum(Object.values(EmbedSessionDeviceFilter)).optional().describe("Filter by device type (default all)"),
6667
6667
  country: import_zod7.z.string().optional().describe("Exact country name as shown in a session's client.country"),
6668
6668
  includeLegacy: import_zod7.z.boolean().optional().describe("Also include visits recorded before session tracking started (default false)"),
@@ -6727,7 +6727,7 @@ function register6(server, client) {
6727
6727
  registerSpeakTool(
6728
6728
  server,
6729
6729
  "get_embed_session",
6730
- "Owner analytics for an embed: one visit in full. Returns the session with the media it opened (time watched, plays, seeks, furthest position, completed), the questions asked in chat, and a paged list of its events in time order, plus how many sessions the same viewer or browser has had on this embed. Use eventsPage and eventsPageSize to read long timelines.",
6730
+ "Viewing analytics for an embed the user owns: one visit in full. Returns the visit with the media it opened (time watched, plays, seeks, furthest position, completed), the questions asked in chat, and a paged list of its events in time order, plus how many earlier visits the same viewer has made to this embed. Use eventsPage and eventsPageSize to read long timelines.",
6731
6731
  {
6732
6732
  embedId: embedIdSchema,
6733
6733
  id: objectIdSchema.describe("The session's _id (24 hex characters) from list_embed_sessions, not its sessionId"),
@@ -7293,7 +7293,7 @@ function register8(server, client) {
7293
7293
  registerSpeakTool(
7294
7294
  server,
7295
7295
  "schedule_meeting_event",
7296
- "Schedule the Speak AI meeting assistant to join and record an online meeting (Zoom, Google Meet, Microsoft Teams, or Webex). The assistant joins as a participant other attendees can see, at meetingDate or right away when meetingDate is omitted. Recorded minutes are charged to the account, and on trial plans each scheduled meeting uses one meeting from the allowance.",
7296
+ "Schedule the Speak AI meeting assistant to join and record an online meeting (Zoom, Google Meet, Microsoft Teams, or Webex). The assistant joins as a participant other attendees can see, at meetingDate or right away when meetingDate is omitted.",
7297
7297
  {
7298
7298
  title: import_zod9.z.string().min(1).describe("Display title for the event"),
7299
7299
  meetingURL: import_zod9.z.string().min(1).describe("URL of the meeting to join"),
@@ -8837,7 +8837,8 @@ async function withInboundWebhookInfo(api, responseData, automationId) {
8837
8837
  return responseData;
8838
8838
  }
8839
8839
  }
8840
- function register12(server, client) {
8840
+ function register12(server, client, options = {}) {
8841
+ if (!options.automations) return;
8841
8842
  const api = client ?? speakClient;
8842
8843
  registerSpeakTool(
8843
8844
  server,
@@ -8961,7 +8962,7 @@ function register12(server, client) {
8961
8962
  registerSpeakTool(
8962
8963
  server,
8963
8964
  "create_automation",
8964
- "Create an automation: a trigger plus ordered steps (V2 graph model). The automation is active by default and then runs on its own every time its trigger fires. Depending on its steps, each run can send email to any address, post to the workspace's Slack, send HTTP requests to any webhook URL, fetch a file from a URL into Speak, run actions in connected third-party apps through Composio, and use AI credits. An inbound-webhook trigger creates a public URL that accepts payloads (returned as inboundWebhook.inboundUrl). A Composio app-event trigger subscribes to events on the connected third-party account. Valid trigger and step types come from list_automation_triggers and list_automation_actions. To map inbound-webhook payload fields, send a test payload to the URL with ?test=1, read the tokens with get_inbound_webhook, then call update_automation.",
8965
+ "Create an automation: a trigger plus ordered steps (V2 graph model). The automation is active by default and then runs on its own every time its trigger fires. Depending on its steps, each run can send email to any address, post to the workspace's Slack, send HTTP requests to any webhook URL, fetch a file from a URL into Speak, run actions in connected third-party apps through Composio. An inbound-webhook trigger creates a public URL that accepts payloads (returned as inboundWebhook.inboundUrl). A Composio app-event trigger subscribes to events on the connected third-party account. Valid trigger and step types come from list_automation_triggers and list_automation_actions. To map inbound-webhook payload fields, send a test payload to the URL with ?test=1, read the tokens with get_inbound_webhook, then call update_automation.",
8965
8966
  writeSchema,
8966
8967
  {
8967
8968
  title: "Create Automation",
@@ -9127,7 +9128,7 @@ function register12(server, client) {
9127
9128
  registerSpeakTool(
9128
9129
  server,
9129
9130
  "run_automations",
9130
- "Manually run one or more automations against one or more media items now (outside the normal trigger). Only active automations run; inactive or unknown automation ids and unknown media ids are skipped without an error. The runs happen in the background and this returns only an acknowledgement, so check results with get_automation_runs. Every step executes for real: it can send email, post to Slack, call webhook URLs, run actions in connected third-party apps, and use AI credits.",
9131
+ "Manually run one or more automations against one or more media items now (outside the normal trigger). Only active automations run; inactive or unknown automation ids and unknown media ids are skipped without an error. The runs happen in the background and this returns only an acknowledgement, so check results with get_automation_runs. Every step executes for real: it can send email, post to Slack, call webhook URLs, and run actions in connected third-party apps.",
9131
9132
  {
9132
9133
  mediaIds: import_zod14.z.array(import_zod14.z.string().min(1)).min(1).describe("Media ids to run the automations against"),
9133
9134
  automationIds: import_zod14.z.array(import_zod14.z.string().min(1)).min(1).describe("Automation ids to run")
@@ -9247,7 +9248,7 @@ function register12(server, client) {
9247
9248
  registerSpeakTool(
9248
9249
  server,
9249
9250
  "test_automation",
9250
- "Run one automation once against one media item to see which way it branches. This is a real run, not a dry run, and it works on inactive automations too. Only the run's own status notifications are suppressed and translation steps are skipped. Notify steps still send their email or Slack message, outbound webhooks still fire, Composio actions still run against the connected third-party account, and AI steps use credits. Confirm with the user before testing an automation that sends anything outside Speak. It needs a mediaId and sends no webhook payload, so on an inbound-webhook automation the payload tokens resolve to empty. Returns a runId; read the result with get_automation_run.",
9251
+ "Run one automation once against one media item to see which way it branches. This is a real run, not a dry run, and it works on inactive automations too. Only the run's own status notifications are suppressed and translation steps are skipped. Notify steps still send their email or Slack message, outbound webhooks still fire, and Composio actions still run against the connected third-party account. Confirm with the user before testing an automation that sends anything outside Speak. It needs a mediaId and sends no webhook payload, so on an inbound-webhook automation the payload tokens resolve to empty. Returns a runId; read the result with get_automation_run.",
9251
9252
  {
9252
9253
  automationId: import_zod14.z.string().min(1).describe("Unique identifier of the automation to test"),
9253
9254
  mediaId: import_zod14.z.string().min(1).describe("Media item to run the automation against")
@@ -9524,7 +9525,7 @@ var webhooks_exports = {};
9524
9525
  __export(webhooks_exports, {
9525
9526
  register: () => register13
9526
9527
  });
9527
- function register13(server, client) {
9528
+ function register13(server, client, options = {}) {
9528
9529
  const api = client ?? speakClient;
9529
9530
  registerSpeakTool(
9530
9531
  server,
@@ -9613,7 +9614,7 @@ function register13(server, client) {
9613
9614
  }
9614
9615
  }
9615
9616
  );
9616
- registerSpeakTool(
9617
+ if (options.automations) registerSpeakTool(
9617
9618
  server,
9618
9619
  "provision_inbound_webhook",
9619
9620
  "Provision a standalone inbound webhook and get its public receive URL (inboundUrl) BEFORE creating an automation. Webhook-first flow: provision, send a test payload to the URL (append ?test=1 to only capture a sample without running anything), inspect mappable payload paths with get_inbound_webhook, then pass the webhookId as trigger.webhookId to create_automation.",
@@ -9649,7 +9650,7 @@ function register13(server, client) {
9649
9650
  }
9650
9651
  }
9651
9652
  );
9652
- registerSpeakTool(
9653
+ if (options.automations) registerSpeakTool(
9653
9654
  server,
9654
9655
  "get_inbound_webhook",
9655
9656
  "Get an inbound webhook's public receive URL, captured sample payload, and the ready-to-paste {{trigger.payload.*}} tokens for mapping payload values into automation steps (speak-upload name/sourceUrl, fieldsMap custom-field values, notify/outbound-webhook templates). Pass either the webhookId or the automationId of an inbound-webhook automation. If no sample has been captured yet, send a test payload to the inboundUrl first (append ?test=1 to capture without running the automation).",
@@ -9703,7 +9704,7 @@ function register13(server, client) {
9703
9704
  }
9704
9705
  }
9705
9706
  );
9706
- registerSpeakTool(
9707
+ if (options.automations) registerSpeakTool(
9707
9708
  server,
9708
9709
  "get_webhook_attempts",
9709
9710
  "Get the delivery log for an inbound webhook: each received request with its HTTP acknowledgement status (200 = sample captured, 202 = accepted and run started, 401/403 = rejected) and the automation run it started. Use get_automation_runs for the run outcomes themselves.",
@@ -10050,10 +10051,10 @@ function resolveField(ref, fields) {
10050
10051
  }
10051
10052
  function register16(server, client, options = {}) {
10052
10053
  const api = client ?? speakClient;
10053
- registerSpeakTool(
10054
+ if (options.automations) registerSpeakTool(
10054
10055
  server,
10055
10056
  "build_automation",
10056
- "High-level automation builder: create (or update) a Speak automation from a friendly spec without knowing the wire format. Accepts folder/custom-field NAMES (resolved to ids; missing folders are auto-created), payload.<path> shorthand for webhook tokens, and simple step types (filter, branch, upload, ai_chat, translate, notify, call_webhook). For inbound-webhook automations the result includes the receive URL and mappable payload tokens. create_automation takes the raw wire format instead. Passing automationId replaces that whole automation. The automation is active by default and then runs on its own every time its trigger fires: upload steps fetch a file from any URL and bill its duration, ai_chat steps use AI credits, slack notify steps post to the workspace's Slack, and call_webhook steps send HTTP requests to any URL. An inbound_webhook trigger creates a public URL that accepts payloads.",
10057
+ "High-level automation builder: create (or update) a Speak automation from a friendly spec without knowing the wire format. Accepts folder/custom-field NAMES (resolved to ids; missing folders are auto-created), payload.<path> shorthand for webhook tokens, and simple step types (filter, branch, upload, ai_chat, translate, notify, call_webhook). For inbound-webhook automations the result includes the receive URL and mappable payload tokens. create_automation takes the raw wire format instead. Passing automationId replaces that whole automation. The automation is active by default and then runs on its own every time its trigger fires: upload steps fetch a file from any URL, slack notify steps post to the workspace's Slack, and call_webhook steps send HTTP requests to any URL. An inbound_webhook trigger creates a public URL that accepts payloads.",
10057
10058
  buildAutomationSchema,
10058
10059
  {
10059
10060
  title: "Build Automation",
@@ -10382,7 +10383,7 @@ Likely cause: this server rejects filter rules on webhook payload fields (${data
10382
10383
  registerSpeakTool(
10383
10384
  server,
10384
10385
  "upload_and_analyze",
10385
- `Upload and transcribe media from a URL \u2014 a direct/public file URL, OR a shareable social/video page link, which Speak resolves to the underlying media automatically. Supported page links: ${SUPPORTED_URL_SOURCES}. ${UNSUPPORTED_URL_SOURCES} Each accepted upload creates a media item and bills its duration against the workspace's minutes or credits. Returns media_id immediately; after this returns, poll get_media_status until state is 'processed' (typically 1-3 min for under 60min audio), then call get_media_insights for AI summaries. This async pattern is required for remote MCP transports \u2014 long blocking calls die at proxy idle timeouts.`,
10386
+ `Upload and transcribe media from a URL \u2014 a direct/public file URL, OR a shareable social/video page link, which Speak resolves to the underlying media automatically. Supported page links: ${SUPPORTED_URL_SOURCES}. ${UNSUPPORTED_URL_SOURCES} Each accepted upload creates a media item. Returns media_id immediately; after this returns, poll get_media_status until state is 'processed' (typically 1-3 min for under 60min audio), then call get_media_insights for AI summaries. This async pattern is required for remote MCP transports \u2014 long blocking calls die at proxy idle timeouts.`,
10386
10387
  {
10387
10388
  // A plain literal, not a template: the docs generator drops a tool's whole parameter
10388
10389
  // table when a description interpolates a value it cannot resolve statically.
@@ -10444,7 +10445,7 @@ ${JSON.stringify(uploadRes.data, null, 2)}` }],
10444
10445
  registerSpeakTool(
10445
10446
  server,
10446
10447
  "upload_and_analyze_batch",
10447
- `Import up to ${MAX_BATCH_URLS} audio or video URLs in one call. Each URL is imported the same way as upload_and_analyze, and transcription starts for each one. At most ${MAX_BATCH_CONCURRENCY} uploads run at once. Each URL may be a direct public file URL or a page link from a supported platform, which the server resolves to the underlying media. Supported page links: ${SUPPORTED_URL_SOURCES}. ${UNSUPPORTED_URL_SOURCES} Each accepted upload creates a media item and bills its duration against the workspace's minutes or credits. A failed URL does not stop the others, and the result lists every URL as uploaded (with its mediaId) or failed (with the reason). Returns once the uploads are accepted. Use get_media_status per mediaId, or list_media on the folder, to follow processing.`,
10448
+ `Import up to ${MAX_BATCH_URLS} audio or video URLs in one call. Each URL is imported the same way as upload_and_analyze, and transcription starts for each one. At most ${MAX_BATCH_CONCURRENCY} uploads run at once. Each URL may be a direct public file URL or a page link from a supported platform, which the server resolves to the underlying media. Supported page links: ${SUPPORTED_URL_SOURCES}. ${UNSUPPORTED_URL_SOURCES} Each accepted upload creates a media item. A failed URL does not stop the others, and the result lists every URL as uploaded (with its mediaId) or failed (with the reason). Returns once the uploads are accepted. Use get_media_status per mediaId, or list_media on the folder, to follow processing.`,
10448
10449
  {
10449
10450
  urls: import_zod18.z.array(import_zod18.z.string().min(1)).min(1).max(MAX_BATCH_URLS).describe("The URLs to import, up to 25. Pass each one exactly as the user gave it; page links are resolved server-side. Exact duplicate URLs are sent once."),
10450
10451
  mediaType: import_zod18.z.enum([MediaType.AUDIO, MediaType.VIDEO]).optional().describe('Applies to every URL in the batch. Send it only when the user has said which they want for all of them \u2014 "audio" if they asked for audio only, "video" if they called them videos. Otherwise omit it and the server decides per URL. Mixed batches: leave it off, or split into two calls.'),
@@ -10526,7 +10527,7 @@ ${JSON.stringify(uploadRes.data, null, 2)}` }],
10526
10527
  "Upload a local file to Speak AI for transcription and analysis.",
10527
10528
  "Reads the file from disk, gets a pre-signed S3 URL, uploads the file, then creates the media entry.",
10528
10529
  "Works with any audio or video file on the local filesystem.",
10529
- "Each upload creates a media item and bills its duration against the workspace's minutes or credits.",
10530
+ "Each upload creates a media item.",
10530
10531
  "After upload, use get_media_status to poll for completion, then get_transcript and get_media_insights."
10531
10532
  ].join(" "),
10532
10533
  {
@@ -12086,7 +12087,7 @@ function register19(server, client, options = {}) {
12086
12087
  "generate_voice_test_suite",
12087
12088
  ...options.voiceTestRuns === false ? [] : ["start_voice_test_run", "get_active_voice_test_run"]
12088
12089
  ],
12089
- notes: options.voiceTestRuns === false ? "Scripted test scenarios for the agent. This server does not expose the run tools." : "Scripted scenarios and a run history. A run sends each enabled scenario's user messages to the agent as text and grades every criterion; it uses credits for the AI cost. Poll get_active_voice_test_run for progress."
12090
+ notes: options.voiceTestRuns === false ? "Scripted test scenarios for the agent. This server does not expose the run tools." : "Scripted scenarios and a run history. A run sends each enabled scenario's user messages to the agent as text and grades every criterion. Poll get_active_voice_test_run for progress."
12090
12091
  },
12091
12092
  {
12092
12093
  area: "Feedback / self-improvement (Intelligence)",
@@ -12220,7 +12221,7 @@ function register20(server, client, options = {}) {
12220
12221
  registerSpeakTool(
12221
12222
  server,
12222
12223
  "start_voice_test_run",
12223
- "Start a test run of a voice agent's scripted test suite. The run sends each enabled scenario's user messages to the agent as text, in order, and grades every criterion; it does not place phone calls. It uses credits for the AI cost, except when the workspace uses its own OpenAI key. Requires the OWNER or ADMIN role. Returns the run in queued status; poll get_active_voice_test_run for progress and results. Returns 404 if the agent or its test suite does not exist, 409 if the suite has no enabled scenarios or the agent already has a queued, running, or paused run, and 402 if the workspace has no credits.",
12224
+ "Start a test run of a voice agent's scripted test suite. The run sends each enabled scenario's user messages to the agent as text, in order, and grades every criterion; it does not place phone calls. Requires the OWNER or ADMIN role. Returns the run in queued status; poll get_active_voice_test_run for progress and results. Returns 404 if the agent or its test suite does not exist, and 409 if the suite has no enabled scenarios or the agent already has a queued, running, or paused run.",
12224
12225
  { agentId: import_zod22.z.string().min(1).describe("ID of the voice agent (from list_voice_agents)") },
12225
12226
  { title: "Start Voice Agent Test Run", readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false },
12226
12227
  async ({ agentId }) => {
@@ -12286,7 +12287,7 @@ function register20(server, client, options = {}) {
12286
12287
  registerSpeakTool(
12287
12288
  server,
12288
12289
  "cancel_voice_test_run",
12289
- "Cancel a voice agent test run. Requires the OWNER or ADMIN role. Valid from queued, running, or paused. The run stops at its next AI call; the AI cost already used is still charged. Terminal \u2014 a cancelled run can never be resumed.",
12290
+ "Cancel a voice agent test run. Requires the OWNER or ADMIN role. Valid from queued, running, or paused. The run stops at its next AI call. Terminal \u2014 a cancelled run can never be resumed.",
12290
12291
  {
12291
12292
  agentId: import_zod22.z.string().min(1).describe("ID of the voice agent (from list_voice_agents)"),
12292
12293
  runId: import_zod22.z.string().min(1).describe("ID of the run (from get_active_voice_test_run or list_voice_test_runs)")
@@ -12319,7 +12320,7 @@ function register20(server, client, options = {}) {
12319
12320
  }
12320
12321
  }
12321
12322
  );
12322
- registerSpeakTool(
12323
+ if (options.voiceTestRunDetails) registerSpeakTool(
12323
12324
  server,
12324
12325
  "get_voice_test_run",
12325
12326
  "Get a test run's full detail, including scenarioResults and recommendations. Scoped to your company; agentId is not used to filter this lookup, only runId.",
@@ -12337,7 +12338,7 @@ function register20(server, client, options = {}) {
12337
12338
  }
12338
12339
  }
12339
12340
  );
12340
- registerSpeakTool(
12341
+ if (options.voiceTestRunDetails) registerSpeakTool(
12341
12342
  server,
12342
12343
  "apply_voice_test_recommendation",
12343
12344
  "Apply a test run recommendation's quick action to the agent (e.g. patch_instructions appends the suggested fix to the agent's instructions). Requires the OWNER or ADMIN role.",
@@ -14947,7 +14948,7 @@ if (isCliMode) {
14947
14948
  name: "speak-ai",
14948
14949
  version: "1.0.0"
14949
14950
  });
14950
- registerAllTools2(server, void 0, { localFileAccess: true, voiceTestRuns: true, aiChat: true });
14951
+ registerAllTools2(server, void 0, { localFileAccess: true, voiceTestRuns: true, aiChat: true, automations: true, voiceTestRunDetails: true });
14951
14952
  registerResources2(server);
14952
14953
  registerPrompts2(server);
14953
14954
  const transport = new StdioServerTransport();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@speakai/mcp-server",
3
- "version": "1.40.2",
3
+ "version": "1.41.0",
4
4
  "mcpName": "io.github.speakai/mcp-server",
5
5
  "description": "Official Speak AI MCP Server — capture meetings, search thousands of recordings, run async voice and video surveys, create clips, and automate workflows from your AI assistant.",
6
6
  "homepage": "https://docs.speakai.co/mcp",