Audio MCP Server logo

Audio MCP Server

Community
GongRzhe

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…

PublisherGongRzhe
RepositoryAudio-MCP-Server
LanguagePython
Forks
9
Stars
9
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Audio MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    9 stars and 9 forks from the linked repository.

Audio MCP Server

smithery badge

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)

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:

bash
npx -y @smithery/cli install @GongRzhe/Audio-MCP-Server --client claude

Manual Installation

  1. Clone this repository or download the files to your computer:
bash
git clone https://github.com/GongRzhe/Audio-MCP-Server.git
cd Audio-MCP-Server
  1. Create a virtual environment and install dependencies:
bash
# 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.txt
  1. Or use the included setup script to automate installation:
bash
python setup_mcp.py

Configuration

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.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
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 speech
  • voice: The voice to use (default: "default")

play_audio_file

Plays an audio file through your speakers.

Parameters:

  • file_path: Path to the audio file
  • device_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


Note: This server provides tools that can access your microphone and speakers. Always review and approve tool actions before they execute.

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "gongrzhe-audio-mcp-server": {
      "command": "",
      "args": []
    }
  }
}

Use Audio MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Audio MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Audio MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Audio MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "gongrzhe-audio-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "Audio-MCP-Server"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Audio MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Audio MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Audio MCP Server to help me with this task?
Audio MCP Server
Sure. I read it.
Here is what I found using Audio MCP Server.

Frequently asked questions

What is the Audio MCP Server MCP server used for?

Audio MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Audio MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Audio MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Audio MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Audio MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Audio MCP Server MCP to TypingMind?

Audio MCP Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Audio MCP Server MCP provide in TypingMind?

Audio MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Audio MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Audio MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇