home / mcp / assemblyai mcp server
Provides an MCP interface to AssemblyAI for transcribing audio files and managing transcription jobs.
Configuration
View docs{
"mcpServers": {
"cogell-assembly-ai-mcp": {
"command": "npx",
"args": [
"assembly-ai-mcp@latest"
],
"env": {
"ASSEMBLYAI_API_KEY": "YOUR_API_KEY"
}
}
}
}You run an MCP server that exposes AssemblyAI’s transcription capabilities to AI assistants. It lets you submit audio for transcription, poll for results, and access structured transcript data through a standardized interface, enabling seamless integration with your MCP-enabled clients.
You interact with the server through your MCP client to perform transcription tasks. Use these core actions to manage audio, transcripts, and results.
Prerequisites: You need Node.js 18.0.0 or higher and an AssemblyAI API key.
1) Create or clone your project directory.
2) Install dependencies.
npm install3) Set up your AssemblyAI API key in the environment.
export ASSEMBLYAI_API_KEY="your-api-key-here"
```
or create a .env file with the line ASSEMBLYAI_API_KEY=your-api-key-here4) Build the TypeScript code.
npm run build5) Start the server locally for development.
npm start
```
or for development with auto-rebuilds use:
```
npm run watchSet your AssemblyAI API key as an environment variable to enable the server to access transcription services. You can provide this key via a shell export or a .env file in your runtime environment.
Basic runtime notes: The server offers practical MCP endpoints to submit and retrieve transcriptions. Keep your API key secure and avoid embedding it in client code.
Transcribe audio from a remote URL and wait for completion.
Transcribe audio from a local file path and wait for completion.
Submit audio for transcription without waiting for completion; returns a job ID.
Retrieve the status and results of a transcription job.
Access transcript data directly by ID as structured JSON.