Skip to main content
Glama

@paxalabs/mcp

npm CI node license Claude Desktop bundle

Add to Cursor Install in VS Code

Official MCP server for the Paxa Labs API: Thai, English, and Mandarin Chinese speech AI for your agent, including local audio playback, plus transcription, translation, and document reading across languages.

An agent connected to this server can speak out loud through your machine's speakers, read long content aloud as a managed playback queue, save speech to audio files, listen for a spoken reply, transcribe recordings with subtitles, translate between 15 languages, read PDFs and images with OCR, and extract typed fields from documents.

Beta. The tool set is complete and tested end to end, but tool names and behavior may still change before 1.0 as feedback comes in. Report problems at https://github.com/paxalabs/mcp/issues.

Quick start

Add the server, then ask your agent to sign in to Paxa: your browser opens the Paxa sign-in page, and you approve there. New accounts include free credits. See Sign in for the details, or for using an API key instead.

Claude Code

claude mcp add paxa -- npx -y @paxalabs/mcp

Claude Desktop, Cursor, and other MCP clients

Add to your client's MCP configuration (for Claude Desktop: claude_desktop_config.json):

{
  "mcpServers": {
    "paxa": {
      "command": "npx",
      "args": ["-y", "@paxalabs/mcp"]
    }
  }
}

One click for Cursor or VS Code: the buttons install the same entry into ~/.cursor/mcp.json or VS Code's MCP settings.

Add to Cursor Install in VS Code

Sign in

Ask your agent to sign in to Paxa (the sign_in tool), or run npx -y @paxalabs/mcp login in a terminal. Your browser opens the Paxa sign-in page with a code filled in, and you approve there. The sign-in is kept in your user config folder (~/Library/Application Support/paxa/auth.json on macOS, ~/.config/paxa/auth.json on Linux, %APPDATA%\paxa\auth.json on Windows), readable only by you, and every Paxa server and paxa say on the machine use it. It renews itself, and lasts until you sign out or leave it unused for 30 days.

The connection is listed under API keys at paxalabs.com/app/keys, where you can give it a credit limit or disconnect it. npx -y @paxalabs/mcp logout signs this machine out.

To use an API key instead, create one there and set PAXA_API_KEY in the server's configuration, for Claude Code:

claude mcp add paxa -e PAXA_API_KEY=pxa_your_key_here -- npx -y @paxalabs/mcp

A key, when set, is used instead of the sign-in. Keys suit CI, machines without a browser, and a separate spending cap per project.

Related MCP server: earful

Tools

Tool

What it does

Credits

speak

Synthesize a short line and play it through the speakers, blocking until done

10 per 1000 chars (12.5 in a designed voice)

queue_speech

Read long content aloud: auto-chunks, synthesizes ahead while playing, returns immediately

10 per 1000 chars (12.5 in a designed voice)

control_playback

Control the shared audio queue: status, pause, resume, skip, clear

free

play_audio

Play a local audio file through the speakers

free

text_to_speech

Synthesize speech to an audio file (mp3, opus, wav, raw pcm, or mulaw and alaw for phone lines, with sample_rate for pcm and wav) without playing it: long scripts are split and joined into one file, and subtitles writes a matching srt or vtt

10 per 1000 chars (12.5 with subtitles or in a designed voice, 15 with both)

dialogue_to_speech

Synthesize a script of lines, each in its own voice, to one audio file with a set gap between lines: returns each line's start and end, and subtitles writes captions that never cross two lines

10 per 1000 chars, each line at its voice's rate (12.5 with subtitles or in a designed voice, 15 with both)

design_voice

Make a new voice from a written description and play the line it speaks

5 per call

refine_voice

Change a draft voice in words, such as "a little lower and slower", and play its new line

5 per call

save_voice

Save a draft as one of your voices, with an id the speech tools accept

free

rename_voice

Rename one of your designed voices; the id and sound stay

free

delete_voice

Delete one of your designed voices and free its slot

free

translate

Translate into any of 15 languages from any of them, with formality, glossary, style examples, alternative renderings, and context controls

25 per 1000 chars per rendering

ocr_document

OCR a local PDF, PNG, JPEG, or WebP (Thai, English, Simplified Chinese, and more, mixed pages too) into Markdown or structured blocks

6.5 per page

extract_fields

Fill a schema of typed fields (Thai IDs, dates, amounts, banks, line items) from a local PDF or image; every value is printed in the document or null with the reason

13 per page (19.5 for schemas over 50 fields)

listen

Record one spoken turn from the microphone and return its transcript; the API detects when the user stops talking

12.5 per minute listened

send_feedback

Rate an output or report a problem to the Paxa team, tied to the request ids the tools print

free

transcribe_audio

Transcribe a local recording or video (Thai, English, Mandarin, other languages, mixed; up to 120 minutes) to text, with optional speaker labels, word timings, srt or vtt subtitles, and a list of pauses to cut

8.33 per minute

list_voices

Your designed voices and slots, then the TTS voice roster with character notes

free

list_models

Available models, limits, and pricing

free

sign_in

Connect this machine to your Paxa account: opens the sign-in page in your browser for you to approve

free

get_account

Credit balance, plan, and rate limits

free

All audio flows through one ordered queue, so sounds never overlap: speak lines slip in ahead of queued long-form segments, and queue_speech keeps a book or article flowing gap-free by synthesizing the next segment while the current one plays.

With a streaming-capable player installed (see below), speech starts on the first bytes from the API instead of after the full download: about 0.3 s to the first word regardless of length, versus 0.7 s for a short line and 2.5 s for a long paragraph when buffered.

Voice mode for Claude Code

Three pieces turn Claude Code into something you can walk away from: it talks when it has news, and it calls you when it needs you.

1. Install the server (Quick start above).

2. Tell Claude when to talk. Add this to ~/.claude/CLAUDE.md, or to one project's CLAUDE.md:

## Voice

I have the Paxa MCP server (tools: speak, queue_speech, control_playback).
I am often away from the screen, so use voice like this:

- At the end of a turn where you did real work, call speak with a one or
  two sentence summary before writing the final message: what you did,
  what is next, and anything you need from me.
- When you need a decision from me, speak the question too.
- Keep it short and conversational. Never read code, file paths, logs, or
  long lists aloud. Those stay in text.
- Do not speak for quick back-and-forth or trivial answers.
- If I ask to hear something long, use queue_speech.
- Speak in the language I write in.

3. Get told when Claude needs you. When Claude Code waits for a permission or an answer, the model is not running, so it cannot call speak. Claude Code fires a hook at those moments instead, and paxa say turns the hook into a spoken phrase such as "Permission needed." Put the paxa command on your PATH:

npm install -g @paxalabs/mcp

Then add to ~/.claude/settings.json:

{
  "hooks": {
    "Notification": [
      {
        "matcher": "permission_prompt|idle_prompt|agent_needs_input",
        "hooks": [{ "type": "command", "command": "paxa say" }]
      }
    ]
  }
}

paxa say takes the key from PAXA_API_KEY, or from the paxa entry in ~/.claude.json when that is unset, or else uses the sign-in on this machine, so step 1 is all the setup it needs. A Stop hook configured the same way speaks "Done." at the end of every turn.

The built-in phrases are synthesized once per voice and kept in your user cache directory (~/Library/Caches/paxa/say on macOS, ~/.cache/paxa/say on Linux, %LOCALAPPDATA%\paxa\cache\say on Windows). After that first play, which costs well under one credit, a notification plays from disk: no network round trip and no credits.

To change the words, write your own text in the hook command and add --cache so it gets the same treatment. One entry per event, since the matcher picks the event:

{
  "hooks": {
    "Notification": [
      {
        "matcher": "permission_prompt",
        "hooks": [{ "type": "command", "command": "paxa say --cache \"Hey, need your OK\"" }]
      },
      {
        "matcher": "idle_prompt|agent_needs_input",
        "hooks": [{ "type": "command", "command": "paxa say --cache --voice cookie \"Your turn\"" }]
      }
    ]
  }
}

Without --cache, nothing you type or pipe into paxa say is written to disk, and messages carried inside a hook payload never are.

On macOS the built-in afplay needs about half a second just to start and stop, which is most of the delay you hear on a short phrase. With brew install mpg123 (or ffmpeg) installed, cached phrases play through that instead: mpg123 starts in about 50 ms, ffplay in about 300 ms.

paxa say also works on its own:

paxa say "Build finished"
paxa say --voice cookie "Deploy is live"

If your editor or desktop app was not launched from a terminal, its PATH may not include your node bin directory, and the hook will fail silently. Use the absolute path to paxa in the hook command if that happens.

Speech models

Speech runs on Paxa TTS Flash v2 by default: 50 voices that each speak Thai, English, and Mandarin Chinese, and every voice reads direction tags written into the text, such as [whispering], [laughs], [speaking slowly, close to the microphone], a weighted blend like [happy:0.7+sad:0.3], or <emph> and <whisper> marks. Pause tags add silence where they stand: [short pause], [pause], [long pause], or an exact [pause 300ms] up to 500 ms. Nothing in brackets is spoken, tag characters bill as text, and a tag the model cannot do is refused before any charge. The directions guide lists every sound and rule.

temperature (0 to 2, default 0.5) sets how much a reading varies from one request to the next. Use 0 when a line must match the takes around it, such as one sentence regenerated inside a finished voiceover.

Pass model: "paxa-tts-flash-v1" on a call, or set PAXA_TTS_MODEL, only for v1's legacy features: four Thai voices with regional accents (Isan, Northern, Southern), the fixed emotion tags on khanomchan and kaprao, or one of the eight voices v2 does not carry (donut, toast, padthai, yoyo, somtam, larb, khaosoi, roti). Same price and limits on both.

Design your own voice

When no catalog voice fits, describe the one you want. design_voice turns one or two sentences (who is speaking, how they sound, where it will be heard, and the language they speak) into a voice and plays the line it speaks. refine_voice takes one change at a time, such as "a little lower and slower", and the rest of the voice stays; earlier drafts stay usable, so you can go back to one. save_voice keeps the draft you like under an id (voice_...) that speak, queue_speech, and text_to_speech accept on Paxa TTS Flash v2; set it as PAXA_DEFAULT_VOICE to make it the default. Each design or change costs 5 credits, saving is free, and speech in a designed voice costs 1.25x. Your plan sets how many voices you keep (Free 1, Starter 3, Standard 10, Pro 50); list_voices shows them with the slots in use, rename_voice renames one, and delete_voice frees one. The voice description guide has examples.

Content creation

Four things creators asked for, each the local half of an API call:

  • Transcribe a video. Give transcribe_audio an mp4, mov, mkv, or most other containers; ffmpeg pulls the sound track out locally and the API transcribes it. Add pauses_over: 0.7 and the result lists every silence longer than that with its start and end, the dead air to cut. Ask for save: ["srt"] and the captions come back too.

  • Voiceover with captions that match. text_to_speech with subtitles: "srt" (or "vtt") writes a caption file next to the audio, timed from the synthesized words. Cues break at sentence punctuation, at pauses, and at the line budget, never inside a word, and Thai lines end where the writer put a space. A Chinese character takes two columns of the line budget, so Mandarin lines hold 16 characters by default. Timed synthesis bills 1.25x.

  • Long narration to one file. Scripts past 20,000 characters are split at paragraphs and sentences, synthesized part by part, and joined into a single file, captions offset to match.

  • Conversations in several voices. dialogue_to_speech takes the lines in speaking order, each with its voice, and writes one file with gap_ms of silence between lines (300 by default). The result lists where each line starts and ends, and caption cues never cross from one line to the next. Scripts past 100 lines or 20,000 characters are sent in parts and joined with the same gap. If a request fails partway, the lines that arrived whole are kept and the result names the line to resume from.

ffmpeg is the one requirement for video input and for joining mp3, opus, or wav parts (brew install ffmpeg on macOS). Raw pcm, mulaw, and alaw parts join without it, and everything else works without it too.

Translation

translate writes any of 15 languages from any other: Thai, English, Chinese (Simplified), Japanese, Korean, Arabic, French, German, Hindi, Indonesian, Malay, Portuguese, Russian, Spanish, and Vietnamese. target is required; the source is detected per segment, so mixed-language text works, and source pins it when detection is wrong. Formality, borrowed words, glossaries, and style examples follow the target, and alternatives (up to 5) sets how many renderings come back in total, the best first, each billed as another pass over the text. Send a whole glossary: terms that do not appear in the text are dropped before billing, and the result says how many were sent.

Listening

listen turns the microphone into an answer. Ask a question with speak, call listen, and the user's spoken reply comes back as text as soon as they stop talking: Paxa's realtime transcription detects the end of the turn, so nothing has to guess at silence. The audio goes straight to the API and is never written to disk. A few seconds of listening costs well under one credit (12.5 credits per minute, silence included).

It needs a command-line recorder, which stock macOS and Windows do not ship: brew install ffmpeg or brew install sox on macOS; sox on Windows (or ffmpeg with PAXA_MIC set to the DirectShow device name); ffmpeg, sox, parecord, or arecord on Linux. It also needs Node 22 or newer, and the app that launched the server (Terminal, VS Code, Claude Desktop) must have microphone permission. PAXA_MIC picks a device when the system default is not the one you want. To check recognition without a microphone, node scripts/listen-file.mjs recording.mp3 feeds a file through the same session.

Environment variables

Variable

Required

Default

Purpose

PAXA_API_KEY

no

An API key from paxalabs.com/app/keys. When set, it is used instead of the sign-in

PAXA_OUTPUT_DIR

no

working directory

Where text_to_speech and dialogue_to_speech save files

PAXA_TTS_MODEL

no

paxa-tts-flash-v2

Speech model for every call that does not pick one. v2 has 50 voices that each speak Thai, English, and Mandarin, and all read direction tags. paxa-tts-flash-v1 only for regional Thai accents, the fixed emotion tags on khanomchan and kaprao, or one of the eight voices v2 does not carry

PAXA_DEFAULT_VOICE

no

foithong

Voice used when a tool call does not pick one: a catalog voice from list_voices, or one of your designed voices (voice_...). On v2 every catalog voice speaks all three languages, so pick by character

PAXA_VOCABULARY

no

Keyword pinning for transcribe_audio: comma-separated names and terms the transcript should spell as written (product names, people, jargon)

PAXA_DEFAULT_SPEED

no

1

Speaking rate used when a call does not pick one, 0.5 to 1.5. Pitch is preserved and the price is the same; 1.2 to 1.3 suits long reads

PAXA_MIC

no

system default

Microphone device for listen: an AVFoundation device name on macOS, a PulseAudio or ALSA device on Linux, a DirectShow device name on Windows

PAXA_VOCABULARY_FILE

no

A text file with one term per line (# starts a comment), also pinned on every transcription. Read at call time, so edits apply without a restart

PAXA_BASE_URL

no

https://api.paxalabs.com

API origin override

To pin a different list per project, set the vocabulary variables in a project-scope server entry (Claude Code's project scope, .cursor/mcp.json, .vscode/mcp.json). On each call the tool takes the call's own terms first, then the configured ones, deduplicated and cut at the API's limit of 50, and reports how many it pinned.

Playback support

Platform

File player

Streaming player

Pause/resume

macOS

afplay (built in)

mpg123, ffplay, or mpv if installed

yes

Linux

ffplay, mpv, mpg123, paplay, or aplay

mpg123, ffplay, or mpv

yes

Windows

ffplay if installed, else PowerShell (wav)

mpg123, ffplay, or mpv if installed

no

Streaming needs a player that reads from stdin. On macOS, brew install mpg123 (the quickest to start) or ffmpeg enables it; without one, speech still plays through afplay after the download completes. If no player is found at all, speech tools report it clearly and text_to_speech still works.

Claude Desktop extension

Each release on GitHub ships a .mcpb bundle. Download it, open it with Claude Desktop, and ask Claude to sign in to Paxa (or enter an API key in the extension settings). The bundle carries its own copy of the server and its dependencies, so it works without Node.js or npm on the machine.

Development

pnpm install
pnpm build        # compile to dist/
pnpm typecheck
pnpm mcpb         # build release/paxalabs-mcp-<version>.mcpb for Claude Desktop

# live smoke test (spends a few credits, plays audio out loud)
PAXA_API_KEY=pxa_... TEST_OUT_DIR=/tmp/paxa-out node scripts/e2e.mjs

Available Tools

21 tools
control_playbackPlayback controlA

Inspect and control the shared audio queue that speak, queue_speech, play_audio, and the voice design tools play through. status reports what is playing, what is queued, and any synthesis failures. pause holds playback until resume or clear, and audio queued meanwhile waits; pause is not supported on Windows, where skip or clear stops playback instead. skip drops the current segment and is refused when nothing is playing. clear stops playback and discards every queued segment, which must be queued again to be heard; audio files already written stay on disk. Free (no API call).

Inputs: action (required).

delete_voiceDelete a designed voiceA
DestructiveIdempotent

Delete one of the account's designed voices and free its slot. The id is the voice_ id list_voices shows; it is looked up first, so an id the account does not have is answered without deleting anything, and catalog voices cannot be deleted. Cannot be undone: every later request in the voice fails, and designing again does not bring the same sound back. Use it only when the user asks to delete that voice; to change only its name, use rename_voice. Free.

Inputs: id (required).

design_voiceDesign a new voiceA

Make a new voice from a written description and play the line it speaks through this machine's speakers. Use it when the user wants a voice the catalog does not have. Describe who is speaking and how they sound in one or two sentences: age, gender, role, pitch and texture, pace and manner, where it will be heard, and the language it speaks (a designed voice speaks one language: the one the description names, otherwise the one it is written in), such as "A calm Bangkok pharmacist in her thirties who explains dosages slowly and kindly, speaking Thai". Leave out real people's names, sound effects, and what the voice should say. The result is a draft, not yet a voice: refine_voice changes it, save_voice keeps it. Costs 5 credits per call, the line included; a retry designs again and is charged again.

Inputs: description (required), play.

dialogue_to_speechDialogue to speech (file only)A
Destructive

Synthesize a script of lines, each in its own voice, into one audio file without playing it: podcasts, interviews, radio plays, lessons and phone flows with more than one speaker. Pass the lines in speaking order with a voice each; gap_ms of silence goes between lines. For a single voice use text_to_speech; to hear a conversation now, call queue_speech once per line in that line's voice; play_audio plays the saved file. The file goes to output_path, replacing a file already there, or to a new timestamped name in PAXA_OUTPUT_DIR. A script over 100 lines or 20000 characters is sent in parts split between lines and joined with the same gap (mp3, opus, and wav need ffmpeg for that). Returns each line's start and end in the audio. With subtitles set, an srt or vtt caption file is written next to the audio, and no cue spans two lines. If synthesis fails partway, the lines already delivered whole, which were paid for, are saved and the result names the line to resume from. Costs the same as text_to_speech for the characters of every line: 10 credits per 1000, 12.5 with subtitles, 12.5 for a line in a designed voice (voice_...), 15 with both; the gap is free. Direction tags (paxa-tts-flash-v2, every voice): words in square brackets written into the text set the delivery from that point on, in English, Thai, or Chinese, e.g. [whispering], [speaking slowly, close to the microphone], [sad:0.5], or a blend [happy:0.7+sad:0.3]; [neutral] returns to the voice's own delivery. Sounds such as [laughs], [sighs], [gasps] play where written; [um] and [hmm] are spoken; ... and ... mark a span. [short pause], [pause], and [long pause] add silence after the word before them, and [pause 300ms] an exact length up to 500 ms. Nothing in brackets is spoken, tag characters bill as text, and a tag the model cannot do is refused before any charge. On paxa-tts-flash-v1 only khanomchan and kaprao read tags, from a fixed emotion list, and no voice reads pause tags.

Inputs: lines (required), model, speed, format, +7 more.

extract_fieldsExtract fields from a documentA

Extract typed fields from a local PDF, PNG, JPEG, or WebP document (up to 20 pages and 10 MiB) with Paxa Document Extraction. You write a schema of fields; every value returned is text printed in the document, read as the field's type, or null with the reason. Nothing is inferred or looked up. Built for Thai documents (receipts, tax invoices, forms, IDs) and fine on English ones. Use ocr_document instead for a document's full text. Returns a status line, the fields as JSON (null where a value is not printed), then the missing, unverified, truncated, and assumed fields. Costs 13 credits per page for a schema of up to 50 leaf fields and 19.5 per page for 51 to 100; the page reading and the evidence spans cost nothing extra. A schema the API refuses costs nothing and names the field and reason. The schema parameter summarizes the dialect; https://paxalabs.com/docs/extraction has every type and key.

Inputs: schema (required), file_path (required), output_path, include_pages, +1 more.

get_accountAccount and creditsA
Read-onlyIdempotent

Show the account behind the API key or sign-in, read from the API on each call: credit balance, spending cap, plan, and rate limits. Call it before a large paid job, or after a call fails for credits or a rate limit; prices per model are in list_models. Free.

Inputs: no named parameters.

listenListen to the microphoneA

Record one spoken turn from this machine's microphone and return its transcript (Thai, English, Mandarin Chinese, or another language, code-switching included). Paxa's realtime transcription detects when the user starts and stops talking, so the call returns as soon as the turn ends; the audio goes straight to the API and nothing is written to disk. Waits for any speech this server is playing to finish first. Use it after speak when you asked the user a question and want their spoken answer; for a recording already on disk, use transcribe_audio instead. Returns an empty transcript when nobody spoke within wait_seconds. Costs 12.5 credits per minute of audio sent, silence included (a few seconds of listening costs well under one credit). Needs a microphone recorder on this machine (ffmpeg or sox; parecord or arecord on Linux) and Node 22 or newer; the host app must have microphone permission.

Inputs: style, language, convention, vocabulary, +2 more.

list_modelsList modelsA
Read-onlyIdempotent

List the available Paxa models (speech, transcription, realtime transcription, translation, OCR, and extraction) with their limits and credit pricing, and the languages translate writes. Call it to check a limit or a price before a large job; voices are in list_voices, and the credit balance in get_account. Free.

Inputs: no named parameters.

list_voicesList voicesA
Read-onlyIdempotent

List the Paxa TTS voices in one response (no paging): recommended voices first, the account's designed voices with their slots, then the catalog roster per model with ids, names, gender, language, and character notes. Call it when the user asks what voices exist or wants a different one, and before save_voice to see free slots; pass an id from it as voice to speak, queue_speech, or text_to_speech. The default voice needs no lookup. Free.

Inputs: no named parameters.

ocr_documentOCR a documentA
Read-onlyIdempotent

Run Paxa OCR on a local PDF, PNG, JPEG, or WebP file and return its content as GitHub-flavored Markdown (or structured blocks). Reads Thai, English, Simplified Chinese, and other languages as printed, pages that mix them included, with no language setting; text set in two columns reads column by column. output "structured" returns typed blocks as JSON instead of Markdown. Use extract_fields instead for specific values (a total, a date, an ID number) checked and typed against a schema. Up to 50 pages and 10 MiB per file. Costs 6.5 credits per page.

Inputs: file_path (required), output.

play_audioPlay an audio fileA

Play a local audio file through this machine's speakers, for example a file produced earlier by text_to_speech. Waits for the audio playing now, plays ahead of queued long-form speech, and blocks until the file ends; control_playback skip or clear stops it early. Fails without playing when the file is missing, is not a playable format, or no audio player is installed; raw pcm, mulaw, and alaw files have no header and cannot be played. To say new text, use speak instead. Free (no API call).

Inputs: file_path (required).

queue_speechQueue long-form speechA

Read long content aloud (stories, articles, books). Splits the text into segments, synthesizes ahead while playing, and returns at once with the segment count and the estimated credits; segments play in order after anything already queued. There is no handle: control_playback monitors and controls the whole queue. Use speak instead for one short line that should play now and wait, and text_to_speech for a file without playback. Costs 10 credits per 1000 characters, 12.5 in a designed voice (voice_...). Direction tags (paxa-tts-flash-v2, every voice): words in square brackets written into the text set the delivery from that point on, in English, Thai, or Chinese, e.g. [whispering], [speaking slowly, close to the microphone], [sad:0.5], or a blend [happy:0.7+sad:0.3]; [neutral] returns to the voice's own delivery. Sounds such as [laughs], [sighs], [gasps] play where written; [um] and [hmm] are spoken; ... and ... mark a span. [short pause], [pause], and [long pause] add silence after the word before them, and [pause 300ms] an exact length up to 500 ms. Nothing in brackets is spoken, tag characters bill as text, and a tag the model cannot do is refused before any charge. On paxa-tts-flash-v1 only khanomchan and kaprao read tags, from a fixed emotion list, and no voice reads pause tags.

Inputs: text (required), model, speed, voice, +2 more.

refine_voiceRefine a draft voiceA

Change a draft voice in words and play its new line. The instruction says what to change, such as "a little lower and slower" or "warmer, and older"; the rest of the voice stays, so change one quality at a time. Each call returns a new draft handle and the earlier handles keep their versions, so the user can go back to one. save_voice keeps the draft the user picks. Refining never changes a voice already saved: saving a refined draft makes another voice, and rename_voice changes only a name. Costs 5 credits per call, the line included; a retry refines again and is charged again.

Inputs: draft (required), instruction (required), play.

rename_voiceRename a designed voiceA
Idempotent

Rename one of the account's designed voices, given its voice_ id from list_voices or save_voice. The id and the sound stay the same, so anything that uses the id keeps working. The new name takes 1 to 60 characters, and a catalog voice's name is refused. To change how a voice sounds, refine a draft and save it as a new voice; to remove one, use delete_voice. Free.

Inputs: id (required), name (required).

save_voiceSave a designed voiceA
Idempotent

Save a draft from design_voice or refine_voice as one of the account's voices, and get its id (voice_...), which speak, queue_speech, and text_to_speech accept as voice on paxa-tts-flash-v2, for this account only. Save only the draft the user picked. Saving the same draft again returns the same voice and uses no slot. A saved voice's sound never changes: design a new voice for a different sound. The plan sets how many voices the account keeps (Free 1, Starter 3, Standard 10, Pro 50); list_voices shows the slots in use. Free.

Inputs: draft (required), name.

send_feedbackSend feedback to PaxaA

Report a wrong or poor output, an API problem, or a platform issue to the Paxa Labs team, tied to the request ids the other tools print ("Request id: ..."). A rating alone on at least one request id is a complete report. For a wrong output, add an example with the exact input, the output received, and the output expected. Returns the report's id once it is filed. Free, no credits. Use it when the user says an output was wrong, or asks to report a problem; do not file reports the user did not ask for.

Inputs: kind (required), rating, example, message, +1 more.

sign_inSign in to PaxaA
Idempotent

Connect this machine to the user's Paxa account when no API key is configured: opens the Paxa sign-in page in the user's browser with a code filled in, and the user approves there (new accounts include free credits). Every Paxa tool then works, in every session on this machine, until the user signs out or leaves it unused for 30 days. Waits up to wait_seconds for the approval; if it has not come yet, call sign_in again to keep waiting on the same code. When no browser opens, it returns the page and the code at once for you to give the user. Answers at once when already signed in or when PAXA_API_KEY is set. Free.

Inputs: wait_seconds.

speakSpeak out loudA

Synthesize a short line with Paxa TTS and play it through this machine's speakers. Blocks until playback finishes. Waits for the currently playing audio but jumps ahead of queued long-form segments. For long content use queue_speech. Costs 10 credits per 1000 characters, 12.5 in a designed voice (voice_...). Direction tags (paxa-tts-flash-v2, every voice): words in square brackets written into the text set the delivery from that point on, in English, Thai, or Chinese, e.g. [whispering], [speaking slowly, close to the microphone], [sad:0.5], or a blend [happy:0.7+sad:0.3]; [neutral] returns to the voice's own delivery. Sounds such as [laughs], [sighs], [gasps] play where written; [um] and [hmm] are spoken; ... and ... mark a span. [short pause], [pause], and [long pause] add silence after the word before them, and [pause 300ms] an exact length up to 500 ms. Nothing in brackets is spoken, tag characters bill as text, and a tag the model cannot do is refused before any charge. On paxa-tts-flash-v1 only khanomchan and kaprao read tags, from a fixed emotion list, and no voice reads pause tags.

Inputs: text (required), model, speed, voice, +2 more.

text_to_speechText to speech (file only)A
Destructive

Synthesize speech with Paxa TTS and save it as an audio file without playing it: voiceovers, narration, audiobooks, phone prompts. To hear speech instead, use speak (a short line) or queue_speech (long reads); play_audio plays a saved file later. The file goes to output_path, replacing a file already there, or to a new timestamped name in PAXA_OUTPUT_DIR. For several speakers in one file, use dialogue_to_speech. Text beyond 20000 characters is split at paragraphs and sentences and the parts are joined into one file (mp3, opus, and wav need ffmpeg for that). With subtitles set, an srt or vtt caption file that matches the voice word for word is written next to the audio. Costs 10 credits per 1000 characters, 12.5 with subtitles, 12.5 in a designed voice (voice_...), 15 with both; every format and sample rate costs the same. Direction tags (paxa-tts-flash-v2, every voice): words in square brackets written into the text set the delivery from that point on, in English, Thai, or Chinese, e.g. [whispering], [speaking slowly, close to the microphone], [sad:0.5], or a blend [happy:0.7+sad:0.3]; [neutral] returns to the voice's own delivery. Sounds such as [laughs], [sighs], [gasps] play where written; [um] and [hmm] are spoken; ... and ... mark a span. [short pause], [pause], and [long pause] add silence after the word before them, and [pause 300ms] an exact length up to 500 ms. Nothing in brackets is spoken, tag characters bill as text, and a tag the model cannot do is refused before any charge. On paxa-tts-flash-v1 only khanomchan and kaprao read tags, from a fixed emotion list, and no voice reads pause tags.

Inputs: text (required), model, speed, voice, +7 more.

transcribe_audioTranscribe a recordingA

Transcribe a local recording or video of speech in Thai, English, Mandarin Chinese, or another language, code-switching included (mp3, wav including mu-law and A-law phone recordings, flac, ogg, m4a, aac, webm; or mp4, mov, mkv, avi and other video files, whose sound track is extracted locally with ffmpeg; up to 120 minutes and 95 MiB) with Paxa STT. The transcript comes back inline, so nothing needs to be read from disk afterwards; optionally it is also saved as txt, json (with word timings and segments), srt, or vtt, named after the recording. Existing files are never overwritten. Detects the language and can label speakers; nothing is translated. For one live answer from the microphone, use listen instead. Terms configured in PAXA_VOCABULARY or PAXA_VOCABULARY_FILE are pinned on every call. Costs 8.33 credits per minute of audio (0.1 minimum); subtitles and word timings cost nothing extra. Long recordings take minutes to process.

Inputs: file_path (required), save, style, language, +7 more.

translateTranslate textA
Read-onlyIdempotent

Translate text into any of 15 languages, from any of them, with Paxa Translate: Thai (th), English (en), Chinese (zh), Japanese (ja), Korean (ko), Arabic (ar), French (fr), German (de), Hindi (hi), Indonesian (id), Malay (ms), Portuguese (pt), Russian (ru), Spanish (es), Vietnamese (vi). The source language is detected per segment, so mixed-language text works; a segment already in the target language comes back unchanged. Accepts one string or up to 200 segments that share context, and returns each translation (numbered for segments) with its detected source language, any review flag, and the credits used. For text in a PDF or image, run ocr_document first. Costs 25 credits per 1000 text characters per rendering (minimum 2 credits), so 1000 characters cost 25 credits, or 50 with alternatives 2; instructions, context, examples, do_not_translate strings, and glossary terms bill at 8 per 1000.

Inputs: text (required), target (required), format, source, +8 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 21 tools

    Disambiguation4/5

    The voice lifecycle (design/refine/save/rename/delete/list) and the document tools (ocr_document vs extract_fields) are clearly separated, and descriptions explicitly route between them. The one crowded area is synthesis: speak, queue_speech, text_to_speech, dialogue_to_speech and play_audio all produce or emit audio, and an agent must read the cross-reference sentences ('For a single voice use text_to_speech…') to pick correctly. Those routing hints prevent real collisions, so it is mostly distinct rather than ambiguous.

    Naming Consistency4/5

    Nearly all tools follow a snake_case verb_noun pattern (design_voice, refine_voice, save_voice, list_voices, text_to_speech, transcribe_audio, ocr_document, extract_fields, control_playback). The only deviations are bare-verb names (speak, listen, translate) and sign_in, which read naturally but break the strict pattern. Predictable and readable overall with minor variance.

    Tool Count4/5

    21 tools is on the heavy side, but the surface spans six distinct capability families (voice design, TTS playback, TTS to file, transcription, translation, OCR/extraction) plus account/meta operations, and each tool maps to a distinct verb or output mode rather than duplicating another. The count is slightly over the comfortable range, mainly due to the four-way split of synthesis (speak vs queue_speech vs text_to_speech vs dialogue_to_speech).

    Completeness4/5

    Voice management has full lifecycle coverage including slot listing and rename-only vs redesign guidance, and audio work covers file synthesis, live playback, queued long-form, multi-speaker dialogue, live mic capture, and file transcription. Account setup, pricing/limits, and feedback reporting are present as well. Minor gaps exist: no sign_out counterpart to sign_in, no listing or cleanup of previously generated audio files, and no way to validate an extraction schema before a paid run.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to speak text and read documents aloud on the user's computer, with tools for speaking, reading, stopping playback, and saving audio.
      GPL 3.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to send conversational messages, questions, status updates, and warnings to users via text-to-speech that plays in the background while work continues. Also supports listing available voices and switching or auto-downloading the active voice.
      5
      MIT