Server data from the Official MCP Registry
Transcribe, summarize and analyze audio with AssemblyAI speech-to-text and Speech Understanding.
About
Transcribe, summarize and analyze audio with AssemblyAI speech-to-text and Speech Understanding.
Remote endpoints: streamable-http: https://mcp.assemblyai.com/mcp
Security Report
The AssemblyAI MCP server authenticates every request with a Bearer token (either an OAuth-exchanged key or the caller's own API key) and exposes five transcription, speech understanding, and guardrail tools that match its stated purpose. The visible code shows no hardcoded secrets, no shell execution, no data exfiltration to unexpected hosts, and a pinned, reasonable permission set; the main caveats are that the token is passed through without server-side validation and that the truncated sources could not be fully reviewed. Supply chain analysis found 11 known vulnerabilities in dependencies (2 critical, 5 high severity).
4 files analyzed · 14 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: ASSEMBLYAI_OAUTH_ISSUER
Environment variable: ASSEMBLYAI_OAUTH_EXCHANGE_ORIGIN
Environment variable: ASSEMBLYAI_BASE_URL
Environment variable: ASSEMBLYAI_LLM_GATEWAY_BASE_URL
How to Install & Connect
Available as Local & Remote
This plugin can run on your machine or connect to a hosted endpoint. during install.
Documentation
View on GitHubFrom the project's GitHub README.
AssemblyAI MCP Server
A remote MCP server for the AssemblyAI API. It gives any MCP-capable agent five tools covering async speech-to-text, Speech Understanding (translation, speaker identification, custom formatting, chaptered summarization, action items), and Guardrails (PII redaction, content moderation, profanity filtering) — served over Streamable HTTP and authenticated per-request, either by signing in with AssemblyAI (OAuth) or with the caller's own AssemblyAI API key.
Works with any MCP client that supports MCP authorization (Claude Code,
Claude.ai, Cursor, MCP Inspector, and others) or can send a Bearer header.
Built with Next.js 16 + mcp-handler + the official
@modelcontextprotocol/sdk; deploys as a Vercel serverless function.
Quickstart
AssemblyAI hosts it at https://mcp.assemblyai.com/mcp. It's listed in the
official MCP Registry
as com.assemblyai/mcp. Setup for Claude, Cursor, VS Code and other clients:
assemblyai.com/docs/mcp-server.
Sign in with AssemblyAI: add the server's /mcp endpoint with no
headers. The client opens AssemblyAI's sign-in and consent page, and the
server uses an API key it gets for that connection; nothing to copy or
paste. (This works against AssemblyAI's hosted deployment; a self-hosted
copy uses API keys, see Auth.)
claude mcp add --transport http assemblyai https://mcp.assemblyai.com/mcp
With an API key: point your MCP client at the /mcp endpoint with your
AssemblyAI API key as the Bearer token.
Claude Code
claude mcp add --transport http assemblyai https://mcp.assemblyai.com/mcp \
--header "Authorization: Bearer $ASSEMBLYAI_API_KEY"
Generic remote-MCP client config
{
"mcpServers": {
"assemblyai": {
"url": "https://mcp.assemblyai.com/mcp",
"headers": { "Authorization": "Bearer <ASSEMBLYAI_API_KEY>" }
}
}
}
Running your own copy? npm install && npm run dev serves it at
http://localhost:3000/mcp (see Local dev).
Then prompt the agent, e.g. "transcribe this audio file and summarize it: https://assembly.ai/wildfires.mp3".
Tools
| Tool | Purpose |
|---|---|
submit_transcript(audio_url | file, ...) | Start an async transcription of a public audio/video URL (audio_url). In ChatGPT only, a file the user attached can go in file instead (ChatGPT fills it in through _meta["openai/fileParams"]; other clients ignore it). Returns { transcript_id, status } immediately. |
get_transcript(transcript_id, include_words?) | Fetch the current state; full results once status is completed. Agents poll this ~every 3s. Per-word timestamps only with include_words: true. |
understand_transcript(transcript_id, speech_understanding) | Run Speech Understanding on an already-completed transcript — translation, speaker identification, custom formatting, chaptered summarization, action items — without re-submitting the audio (LLM Gateway /v1/understanding). |
summarize_transcript(transcript_id, style?, custom_prompt?) | Freeform or custom-prompt summary of a completed transcript via the LLM Gateway. style: bullets (default), paragraph, headline, action_items, or custom. |
delete_transcript(transcript_id) | Permanently delete a transcript and its data. Irreversible — only on explicit user request. |
create_upload_url() | For a local file: returns a 10-minute link and a curl command. The agent uploads the file (up to 4.5 MB) and gets an upload_url to pass to submit_transcript. Only offered when UPLOAD_TOKEN_SECRET is set. |
Typical agent flow: submit_transcript → poll get_transcript until
completed → optionally understand_transcript / summarize_transcript →
delete_transcript when the user asks for cleanup. When the need is known
up front, request Speech Understanding features inline at submit time
instead of post-hoc.
submit_transcript parameter surface
Accepts the full public async transcription param surface with API-native names, grouped roughly as:
- Prompting —
prompt(a contextual description of the audio, not instructions),keyterms_prompt - Language —
language_code,language_codes,language_detection,language_detection_options,language_confidence_threshold - Models —
speech_models(defaults to the pinned["universal-3-5-pro", "universal-2"]priority list),temperature - Diarization —
speaker_labels,speaker_options - Guardrails —
redact_pii(+redact_pii_policies,redact_pii_sub,redact_pii_audio,redact_pii_return_unredacted,redact_static_entities),filter_profanity,content_safety(+content_safety_confidence),speech_threshold - Speech Understanding, inline —
speech_understanding.request.{translation, speaker_identification, custom_formatting, summarization, action_items}, run during transcription - Other —
sentiment_analysis(English only),entity_detection,iab_categories,auto_highlights,multichannel,disfluencies,custom_spelling,punctuate,format_text,audio_start_from,audio_end_at,domain(medical-v1for Medical Mode), andremove_audio_tags, plus webhooks (webhook_url,webhook_auth_header_name/_value)
Omitted params are never sent — AssemblyAI's own defaults apply. See the submit endpoint docs for parameter semantics.
get_transcript output
Everything renders into content[].text as labeled sections, because
some MCP clients surface only that to the model:
--- text --- and --- utterances --- always; sentiment, entities,
translations (whole-transcript and per-utterance), speaker identification,
custom formatting, chaptered summary, action items, content safety, topics,
highlights, unredacted text, the redacted-audio URL, and processing
warnings when requested/present. Raw fields are mirrored in
structuredContent.
Auth
Every request carries a Bearer token, which is one of two things.
An OAuth access token (Sign in with AssemblyAI). A request with no token
gets a 401 whose WWW-Authenticate names
/.well-known/oauth-protected-resource, which names AssemblyAI's
authorization server. The client registers itself there, signs the member in
through the consent page (scope aai:api), and sends the access token it
gets back. AssemblyAI's API takes API keys, not access tokens, so
src/oauth.ts exchanges the token for the API key of the member's
connection to that client (POST /api/v2/oauth/api-key) before the request
reaches withMcpAuth, and the request continues with that key. The exchange
also proves which server is asking: the deployment's Vercel OIDC token goes
in X-AAI-Service-Token, and AssemblyAI only accepts its own production
deployment of this project, so a self-hosted copy can't exchange tokens and
uses API keys instead. Keys are cached per access token for at most five
minutes, so a connection revoked from the dashboard stops working within
minutes. A refused token answers 401 (403 for a missing scope) and sends the
client back to sign-in; an outage answers 503, which doesn't.
An AssemblyAI API key (pass-through). MCP clients send the API key as
Authorization: Bearer <key> (most client configs prepend Bearer
automatically). AssemblyAI's REST API expects the raw key, so withMcpAuth
extracts the token, strips the prefix, and threads it into every tool
callback via extra.authInfo.token. No keys are written to disk or shared
between requests — each request runs on the key it arrived with.
Configuration
Every setting defaults to AssemblyAI's production endpoints, so a production deployment needs none. A deployment that signs in against another AssemblyAI environment sets all four together, since that environment's keys only work against its own API.
| Variable | Default | What it is |
|---|---|---|
ASSEMBLYAI_OAUTH_ISSUER | https://auth.assemblyai.com | The authorization server advertised in the protected resource metadata |
ASSEMBLYAI_OAUTH_EXCHANGE_ORIGIN | https://www.assemblyai.com | Where access tokens are exchanged for API keys |
ASSEMBLYAI_BASE_URL | https://api.assemblyai.com | The AssemblyAI API |
ASSEMBLYAI_LLM_GATEWAY_BASE_URL | https://llm-gateway.assemblyai.com | The LLM Gateway |
UPLOAD_TOKEN_SECRET | unset | 32+ random characters. Encrypts the API key inside upload links; without it, create_upload_url is not offered. Rotating it invalidates open links. |
The service token needs no setting: Vercel provides it to the deployment
(VERCEL_OIDC_TOKEN), and @vercel/oidc reads it.
Extending the tool surface (additive-only contract)
MCP clients discover tools at runtime (list_tools); client configs store
only URL + auth, not a tool-schema snapshot. So new tools and new
optional parameters appear automatically — no client reconfiguration,
and for platforms with a connection-test step, no re-test. To keep that
guarantee, all changes here are additive:
- Tool names are permanent — only add tools, never rename or remove.
- New inputs are always optional, with defaults that preserve current behavior.
get_transcripttext output only gains labeled sections — existing sections (--- text ---,--- utterances ---,--- sentiment ---,--- entities ---) are never renamed or reshaped, because text-only MCP clients readcontent[].text. (A legacy--- summary ---section is still rendered if present, but summaries now come from thesummarize_transcripttool, notget_transcript.) The same protection covers the newer sections added for Speech Understanding and guardrails:--- translation:<lang> ---,--- translated_utterances ---,--- speaker_identification ---,--- custom_formatting ---,--- su_summary ---,--- action_items ---,--- content_safety ---,--- topics ---,--- highlights ---,--- unredacted_text ---,--- redacted_audio ---, and--- warnings ---.structuredContentis additive only — new fields, never removed/renamed. One exception: per-word timestamps (speakers[].words) were never part of the declared shape and made up ~85% of every response, so they now come back only withinclude_words: true.- Avoid deprecated AssemblyAI transcript params (
auto_chapters,summarization,summary_model,summary_type); use LLM Gateway instead. Mirror AssemblyAI's official MCP tool shapes where they exist.
Local dev
Requires Node 24.x.
npm install
npm test # in-process smoke + OAuth exchange tests (no network)
npm run dev # next dev on http://localhost:3000
MCP endpoint: http://localhost:3000/mcp. OAuth protected resource
metadata: http://localhost:3000/.well-known/oauth-protected-resource.
Sign-in needs a deployment AssemblyAI accepts (see Auth); locally,
use an API key.
Smoke test with MCP Inspector
npx @modelcontextprotocol/inspector
Connect to http://localhost:3000/mcp via Streamable HTTP, paste your
AssemblyAI key as the Bearer token. Call submit_transcript with a public
mp3 URL, then get_transcript with the returned id until completed.
Smoke test with curl
# No auth — expect 401
curl -i -X POST http://localhost:3000/mcp \
-H "Accept: application/json, text/event-stream" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"curl","version":"1"}}}'
# With your AssemblyAI key as the Bearer token — expect 200 + Mcp-Session-Id
curl -i -X POST http://localhost:3000/mcp \
-H "Authorization: Bearer $ASSEMBLYAI_API_KEY" \
-H "Accept: application/json, text/event-stream" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"curl","version":"1"}}}'
Live end-to-end test (real AssemblyAI, real transcription)
ASSEMBLYAI_API_KEY=... npm run test:live # against localhost:3001
ASSEMBLYAI_API_KEY=... MCP_URL=https://<host>/mcp npm run test:live
Drives the running server with the MCP SDK client over Streamable HTTP:
tool discovery, all submit_transcript feature flags, speech_model_used
assertion, summarize_transcript, inline Speech Understanding (translation +
chaptered summary), guardrails (content safety), post-hoc Speech
Understanding via understand_transcript, graceful failure on a bad audio
URL, and teardown via delete_transcript. Every transcript id is recorded
as soon as submit_transcript returns it and deleted from a finally
block, so the suite tears down every transcript it successfully creates
even when the run fails midway. Costs a few cents of transcription credit
per run.
Sign-in test against a deployment
MCP_URL=https://<deployment>/mcp VERCEL_PROTECTION_BYPASS=<secret> npm run test:oauth
Signs in the way an MCP client does, discovering everything from the
deployment: the 401 challenge, the protected resource metadata, the
authorization server's metadata, client registration, then PKCE through the
consent page in your browser (click Allow). Then it lists tools and makes one
tool call with the access token, and checks a tampered token is refused.
VERCEL_PROTECTION_BYPASS is the deployment's Protection Bypass for
Automation secret, for preview deployments behind Vercel Authentication.
No API key needed and no transcription credit spent.
It registers as a public client, as Claude Code does: Stytch only lets a
client with a secret (as claude.ai's connectors register) use an https
redirect, so this test can't sign in as one. It also requires the redirect
to carry an iss naming the advertised authorization server (RFC 9207), as
stricter clients do.
Project layout
assemblyai-mcp/
├── app/
│ ├── mcp/[[...path]]/route.ts # mcp-handler entry, wrapped with withOAuthExchange + withMcpAuth
│ └── .well-known/oauth-protected-resource/route.ts
├── src/
│ ├── server.ts # registerTools factory
│ ├── oauth.ts # Sign in with AssemblyAI: access token → API key exchange
│ ├── log.ts # JSON logging helpers + key hashing
│ ├── tool-errors.ts # shared 401/404/429 error mapper
│ ├── assemblyai.ts # fetch wrapper (submit, get, delete, retry)
│ ├── llm-gateway.ts # LLM Gateway client (summarize, understand)
│ ├── transcript-sections.ts # section renderers for tool text output
│ ├── speech-understanding-schema.ts # shared speech_understanding zod schema
│ ├── tools/
│ │ ├── submit-transcript.ts
│ │ ├── get-transcript.ts
│ │ ├── summarize-transcript.ts
│ │ ├── understand-transcript.ts
│ │ └── delete-transcript.ts
│ ├── smoke-test.ts # InMemoryTransport, mocked fetch
│ ├── oauth-test.ts # token exchange, stubbed (npm test)
│ ├── oauth-preview-test.ts # sign-in against a deployment (npm run test:oauth)
│ └── live-test.ts # real API, Streamable HTTP client
├── package.json
├── tsconfig.json
├── next.config.js
├── vercel.json
└── README.md
Logging
JSON to stdout, same pattern as AssemblyAI's docs MCP server. Every tool
emits one event with event, tool, keyHash, latencyMs, status.
High-signal events worth alerting on: bad_audio_url,
assemblyai_rejected_key, tool_error, understanding_error,
delete_error. Never logs the raw API key — only sha256(key).slice(0,12)
— and never logs transcript content.
Deployment
Deploys to Vercel (vercel deploy once the project is linked). Vercel
Firewall provides rate limiting and DDoS protection. The MCP endpoint lives
at https://<host>/mcp with maxDuration: 60 per the handler config.
Reference: prior Python implementation
The Python FastMCP-based implementation that preceded this TypeScript
port is preserved in the first commit of this repo
(git log --reverse --oneline | head -1). It serves as the source of
truth for the design (auth bridge, error handling, response shapes); this
TypeScript port carries the design forward onto a serverless-friendly
platform.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Fetch
Freeby Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
