Audio MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Audio MCP Serverrecord 3 seconds of audio from my microphone"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Audio MCP Server
An MCP (Model Context Protocol) server that provides audio input/output capabilities for AI assistants like Claude. This server enables Claude to interact with your computer's audio system, including recording from microphones and playing audio through speakers.
Features
List Audio Devices: View all available microphones and speakers on your system
Record Audio: Capture audio from any microphone with customizable duration and quality
Playback Recordings: Play back your most recent recording
Audio File Playback: Play audio files through your speakers
Text-to-Speech: (Placeholder for future implementation)
Related MCP server: Sound Effects MCP
Requirements
Python 3.8 or higher
Audio input/output devices on your system
Installation
Installing via Smithery
To install Audio Interface Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @GongRzhe/Audio-MCP-Server --client claudeManual Installation
Clone this repository or download the files to your computer:
git clone https://github.com/GongRzhe/Audio-MCP-Server.git
cd Audio-MCP-ServerCreate a virtual environment and install dependencies:
# Windows
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
# macOS/Linux
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtOr use the included setup script to automate installation:
python setup_mcp.pyConfiguration
Claude Desktop Configuration
To use this server with Claude Desktop, add the following to your Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"audio-interface": {
"command": "/path/to/your/.venv/bin/python",
"args": [
"/path/to/your/audio_server.py"
],
"env": {
"PYTHONPATH": "/path/to/your/audio-mcp-server"
}
}
}
}Replace the paths with the actual paths on your system. The setup script will generate this configuration for you.
Usage
After setting up the server, restart Claude Desktop. You should see a hammer icon in the input box, indicating that tools are available.
Try asking Claude:
"What microphones and speakers are available on my system?"
"Record 5 seconds of audio from my microphone."
"Play back the audio recording."
"Play an audio file from my computer."
Available Tools
list_audio_devices
Lists all available audio input and output devices on your system.
record_audio
Records audio from your microphone.
Parameters:
duration: Recording duration in seconds (default: 5)sample_rate: Sample rate in Hz (default: 44100)channels: Number of audio channels (default: 1)device_index: Specific input device index to use (default: system default)
play_latest_recording
Plays back the most recently recorded audio.
play_audio
Placeholder for text-to-speech functionality.
Parameters:
text: The text to convert to speechvoice: The voice to use (default: "default")
play_audio_file
Plays an audio file through your speakers.
Parameters:
file_path: Path to the audio filedevice_index: Specific output device index to use (default: system default)
Troubleshooting
No devices found
If no audio devices are found, check:
Your microphone and speakers are properly connected
Your operating system recognizes the devices
You have the necessary permissions to access audio devices
Playback issues
If audio playback isn't working:
Check your volume settings
Ensure the correct output device is selected
Try restarting the Claude Desktop application
Server connectivity
If Claude can't connect to the server:
Verify your configuration paths are correct
Ensure Python and all dependencies are installed
Check Claude's logs for error messages
License
MIT
Acknowledgments
Built using the Model Context Protocol
Uses sounddevice and soundfile for audio processing
Note: This server provides tools that can access your microphone and speakers. Always review and approve tool actions before they execute.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables text-to-speech conversion with smart language detection (using Google TTS for Chinese) and audio file playback with playback controls for Claude Desktop.Last updated1MIT
- AlicenseBqualityDmaintenancePlays sound effects (completion, newtype, and error sounds) in response to various situations like task completion, insights, or errors. Integrates with Claude Desktop to provide audio feedback for improved workflow efficiency and entertainment.Last updated2386MIT
- Alicense-qualityCmaintenanceEnables bidirectional voice interaction for Claude Code using local speech-to-text and text-to-speech models optimized for Apple Silicon. It provides tools to listen to user speech via microphone and speak responses aloud through system speakers.Last updated16Apache 2.0
- Alicense-qualityDmaintenanceEnables AI agents to manage macOS audio routing, device switching, volume control, and multi-zone playback.Last updatedMIT
Related MCP Connectors
Connect Claude to Fathom meeting recordings, transcripts, and summaries
AI-manageable audio CDN: upload, transcode, normalize, stream & deliver audio, plus grounded docs.
Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/GongRzhe/Audio-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server