AI assistants & MCP

How to Generate AI Voiceovers with a Text-to-Speech MCP Server

Use Acoust's text-to-speech MCP server to create a short AI voiceover inside a demo, tutorial or coding workflow. Connect your assistant, approve a script and voice, then save the returned MP3 before its download link expires.

Last reviewed November 24, 2026

Manage your Acoust MCP connections

Example result: a voiceover for a product demo

Ask your connected assistant to turn a 110-character reporting-dashboard script into one MP3, then save it in your demo project before its download link expires. The complete example includes the prompt, approval sequence and credit calculation. Review the voice and exact script before generation.

See the complete assistant prompt →

Required inputs

An Acoust account, an approved plain-text script, a target language, and a compatible remote-MCP assistant.

Expected outputs

One MP3 clip per generation, with a temporary download URL, expiry time, and character charge.

Tools needed

OAuth connection to https://api.acoust.io/mcp, then list_voices, get_usage, and generate_speech.

Plan considerations

Free personal accounts can generate through MCP within their allowance. Commercial usage requires an eligible paid plan.

Connect the assistant

  1. Add the remote server. In the assistant’s MCP or connector settings, name the server Acoust and enter https://api.acoust.io/mcp. Choose OAuth when asked. No API key or local Acoust server is required.
  2. Review access. Sign in to Acoust in the browser. Check the application name, redirect destination, requested permissions, account, and personal or team usage pool, then approve the connection you recognize.
  3. Return to the assistant. Enable its Acoust tools. Start by asking it to list voices and check usage without generating speech. See the assistant-specific setup instructions for Codex, Claude Code, Cursor, and GitHub Copilot in VS Code.

For example, Claude Code can add the hosted server with:

claude mcp add --transport http --scope user acoust https://api.acoust.io/mcp

Then open an interactive Claude Code session, enter /mcp, choose Acoust, and complete its browser authentication flow.

Steps: script to saved voiceover

  1. Prepare the script. Supply only the text to be spoken. Specify language, intended delivery, and the local filename you want. Exclude secrets or internal information that should not be sent for synthesis.
  2. Discover voices with list_voices. Choose a returned voice ID and one of its supported language codes. Read that voice’s input limits and supported controls. The tool also includes your own approved clones; do not guess a voice ID.
  3. Check get_usage. Read remaining credits and whether the allowance is personal or shared with a team. The check does not reserve credits. Estimate the charge before requesting audio.
  4. Generate once with generate_speech. Send the approved text, selected voice ID, supported language, and only the controls the voice supports. Ask the assistant not to retry automatically after an error, timeout, or disconnect.
  5. Save the result. Download the returned MP3 within 24 hours. If the assistant can write local files, ask it to save the asset in your project and confirm the saved file exists. Otherwise download it yourself from the returned link.
  6. Listen and integrate. Check every spoken word and the file’s duration, then use the saved audio in your demo or application. Make any further synthesis an intentional revision with a new credit estimate.

Approve the voice and script before generation

Approve the returned voice ID, supported language, exact spoken text and estimated charge before the assistant generates. The complete example shows the request sequence and intended local file. Do not authorize a second take implicitly after a timeout or reconnect.

Complete example: put narration into a demo project

Use this prompt after connecting your client. The intended deliverable is one saved MP3 for a reporting-dashboard walkthrough, not a saved Acoust browser project.

Use Acoust list_voices to find standard en-US voices and show their IDs,
limits and controls. Check get_usage and tell me the remaining credits
and whether the pool is personal or shared. Do not generate yet.

After I approve one returned voice, call generate_speech once with this
exact text and language en-US:
Welcome to the product walkthrough. Open Reports, choose a date range, and select Export to save your results.

If you can write project files, download the successful audio_url to
assets/reporting-walkthrough-en-US.mp3 before expires_at. Otherwise give
me the download link and expiry. Report characters_used and duration.
Check that the saved file exists and plays, then tell me where it belongs
in the demo. Do not retry or change voices after an uncertain result.

The spoken text has 110 UTF-16 characters, including spaces and punctuation. With a returned standard voice whose multiplier is 1, one synthesis uses 110 credits. A compatible cloned voice with multiplier 2 uses 220. A second intentional take is another generation. Voice listing, usage checks and downloading the existing MP3 do not synthesize new speech.

Success means the file is saved locally before the 24-hour link expiry, decodes as MP3, matches all 110 characters of the approved script when spoken, and fits the demo after listening. Use the returned duration to align the footage; do not assume a fixed runtime from the character count. If your assistant cannot write files or verify playback, perform those steps yourself.

What if sign-in, generation or download fails?

For invalid_token, start a fresh OAuth connection. For consent_required, reconnect and approve the intended usage pool. For quota_exceeded, check allowance and reset time. If generation is absent, review speech permission and current service availability. A timeout or disconnect can leave the outcome and charge unknown: inspect generation_outcome, quota_status and request_id, then ask support rather than resubmitting automatically. Only refunded confirms a refund. Retry a download from a still-valid URL without requesting new speech; an expired link cannot be renewed through MCP.

Can an agent translate text or create a voice clone with MCP?

The three Acoust tools provide voice discovery, usage and short MP3 generation. Prepare translations separately and create an approved clone through the browser workflow. MCP does not create clones, edit Acoust projects or provide generation history. For longer work with editable sections, follow the browser narration workflow. For background application development with API keys, read the distinct REST API quickstart and its paid-plan requirements.

Check the result before delivery

Confirm the MP3 is saved outside the temporary URL, plays correctly, uses the selected voice and language, and matches the approved script. Record the returned credit charge and keep any required voice or content approvals with the asset.

Connect a text-to-speech MCP server to your client

Acoust supplies audio generation inside a larger agent workflow. For example, a coding assistant can prepare a product demo, request a narration clip, save the MP3 and add it to the project. Its ability to edit files or assemble video comes from the assistant and its other tools. Acoust MCP provides the speech clip.

Use a client with remote Streamable HTTP, OAuth and dynamic client registration. The public Acoust discovery endpoints and authentication challenge were checked on November 24, 2026. The setup paths below follow Acoust and client documentation; they are not a claim that every client version has completed an authenticated generation test.

Codex text-to-speech setup

Add the server, then complete OAuth login if needed. These commands match the installed Codex CLI's help. If your version supports choosing registration strategy, Acoust's documented path is dynamic client registration (DCR).

codex mcp add acoust --url https://api.acoust.io/mcp
codex mcp login acoust

Start a Codex session and use /mcp to check the connection. Ask it to list voices before generating. See the official Codex MCP configuration documentation for current client controls.

Claude Code text-to-speech setup

Use the Claude Code command in the connection steps, then /mcp to authenticate. This is a remote HTTP server; no local Acoust process or API key is needed. Follow Claude Code's MCP authentication documentation if the browser sign-in does not start.

Claude, Cursor and GitHub Copilot in VS Code

  • Claude web or Desktop: add Acoust as a remote custom connector using https://api.acoust.io/mcp. Choose Register automatically if asked for an OAuth client, approve access in Acoust, and enable the connector in your chat. Use the official custom-connector instructions.
  • Cursor: add the URL under an acoust entry in the mcpServers object of your project or user MCP configuration. Enable it and complete the OAuth prompt. Follow Cursor's current MCP configuration guide and Acoust's Cursor example.
  • GitHub Copilot in VS Code: open Chat: Open Customizations → MCP Servers, add the HTTP URL, select the appropriate Copilot configuration scope, trust the connection and complete OAuth. Enable the tools in Agent mode. Follow VS Code's current MCP setup instructions; client configuration locations vary by version.

An organization administrator may restrict custom servers. On Acoust's consent screen, review the client name, redirect destination, account, requested permissions and personal or team usage pool. Speech permission allows credit consumption. Manage or revoke a recognized connection in API & Integrations → Connected Apps (MCP); sign-in is required.

MCP tools: exact inputs and returned fields

These contracts reflect Acoust's implementation. The examples below are configuration and request examples, not a transcript of a generation performed for this article. Available tools also depend on your granted scopes and service configuration.

1. Find a voice with list_voices

list_voices({"language":"en-US","kind":"standard","limit":10})

Optional filters are language (up to 35 characters), gender (male or female), kind (standard or cloned), cursor and limit (1–100). The result has voices and next_cursor. If a cursor is returned, continue with it to see the next page.

Each voice provides id, name, kind, languages, controls, control_ranges, max_characters, max_bytes, character_multiplier, language and gender. Use the returned id as voice_id in generation. Your approved clones are account-owned.

2. Check allowance with get_usage

get_usage({})

The result contains tts.used, tts.quota, tts.remaining, scope (personal or team) and reset_at (an ISO timestamp or null). This read does not reserve credits. Another team member may consume shared credits before your generation runs.

3. Generate once with generate_speech

Supply text and the actual returned voice_id. Set language to a returned supported code; it is required for a voice with multiple languages. Optional speed (0.5–2) and instructions (up to 1,000 characters) are valid only when the chosen voice advertises those controls. The effective text limit is 4,000 UTF-16 units after trimming, or the voice's lower character/byte ceiling.

{
  "text": "Welcome to the product walkthrough. Open Reports, choose a date range, and select Export to save your results.",
  "voice_id": "COPY_THE_ID_RETURNED_BY_LIST_VOICES",
  "language": "en-US"
}

Replace the voice ID before submitting. A successful generate_speech tool result has structuredContent containing request_id, audio_url, expires_at, duration, characters_used, format: "mp3", mime_type: "audio/mpeg", generation_outcome: "succeeded" and quota_status: "charged". A resource link also points to the MP3. Save the returned expiry, duration and charge with your local asset notes.

The returned duration can be null when duration metadata is unavailable. Download the successful MP3 and measure its playback length locally before aligning it with footage. Missing duration metadata does not require generating another clip.

Exact tools and cost considerations

  • list_voices: returns available voice IDs, languages, controls, and input limits. Voice discovery does not consume speech credits.
  • get_usage: returns usage, remaining allowance, and reset time when available. Usage checks do not consume speech credits or reserve quota.
  • generate_speech: creates one MP3 and returns a download link, expiry, and charge. Standard voices cost one credit per input character; cloned voices cost two. A 1,000-character clip uses 1,000 credits with a standard voice or 2,000 with a clone.

MCP uses the account’s existing personal or team allowance; connecting does not add credits. Free personal accounts can use MCP within their balance, while REST API keys have a separate paid-plan requirement. Check current commercial-use terms and plan allowances before distributing commercial work.

Limits and recovery

  • The server accepts plain text up to 4,000 UTF-16 units after trimming; some symbols count as more than one. A selected voice can have a lower character or byte limit. Check its returned limits first.
  • SSML and HTML are not interpreted as speech markup. Use speed or delivery instructions only if the selected voice advertises support.
  • MCP generates short clips. It cannot create clones, edit Acoust projects, or provide generation history and result recovery. Create a clone in the browser before asking an assistant to use it.
  • MP3 links expire after 24 hours and cannot be renewed through MCP. Downloading an existing result does not generate speech again; replacing an expired result requires a new generation and may use credits.
  • A timeout or disconnect can leave the generation and charge uncertain. Do not automatically resubmit. Inspect returned status fields; only quota_status: refunded confirms a refund.
  • If the authorized usage pool changes, reconnect and review it before generating. To disconnect, open API & Integrations → Connected Apps (MCP) in Acoust and revoke the application.

When Acoust fits this task

This workflow suits short narration assets for a demo, tutorial, or code project. Your assistant must support remote MCP over Streamable HTTP, OAuth sign-in, and dynamic client registration. MCP support alone does not establish compatibility; check your assistant and organization’s connector settings.