Audacity MCP Server
Provides MCP tools to control Audacity through mod-script-pipe, exposing Audacity scripting commands for audio editing and automation.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Audacity MCP Server
MCP (Model Context Protocol) server for controlling Audacity through mod-script-pipe.
This server communicates with Audacity over named pipes and exposes many Audacity scripting commands as MCP tools.
Features
Connects to Audacity via
mod-script-pipeExposes a broad set of Audacity commands as MCP tools
Uses
stdiotransport (works with Codex/Claude/Desktop clients)Auto-detects pipe suffixes in
/tmp(for example.501)
Related MCP server: Audacity4MCP
Requirements
Audacity 3.x+
Python 3.10+
mod-script-pipeenabled in Audacity
Install
git clone https://github.com/An-3/mcp-audacity.git
cd mcp-audacity
./scripts/setup.shQuick local test (no MCP host needed)
# 1) Start Audacity and enable mod-script-pipe (see section below)
# 2) Verify local connectivity:
./scripts/smoke_test.sh
# 3) Start MCP server:
./scripts/run.shIf you prefer manual setup instead of scripts:
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install "mcp[cli]>=1.6.0" "httpx>=0.28.1"Optional (install as package + CLI entrypoint):
pip install .
audacity_mcp_serverEnable mod-script-pipe in Audacity
Open Audacity.
Open the Modules preferences page:
Windows/Linux:
Edit -> Preferences -> ModulesmacOS:
Audacity -> Settings... -> Modules(orAudacity -> Preferences -> Modulesdepending on build)
Set
mod-script-pipefromNew(orDisabled) toEnabled.Restart Audacity.
Note: In current Audacity versions, this is configured in Modules, not in a separate "Scripting/Remote Control" section.
Verify pipes exist:
ls -l /tmp/audacity_script_pipe.to.* /tmp/audacity_script_pipe.from.*If the files are present, Audacity is ready.
Run the server manually
./scripts/run.shExpected startup logs include:
Audacity MCP server starting upOpened Audacity mod-script-pipeConnected to Audacity mod-script-pipe
Connect from Codex
Add server to Codex MCP config:
codex mcp add AudacityMCP -- /absolute/path/to/mcp-audacity/.venv/bin/python /absolute/path/to/mcp-audacity/audacity_mcp_server.pyList configured MCP servers:
codex mcp listConnect from Claude Desktop
Example claude_desktop_config.json:
{
"mcpServers": {
"audacity": {
"command": "/absolute/path/to/mcp-audacity/.venv/bin/python",
"args": [
"/absolute/path/to/mcp-audacity/audacity_mcp_server.py"
]
}
}
}Troubleshooting
Failed to open Audacity pipes:Confirm Audacity is running.
Confirm
mod-script-pipeisEnabled.Confirm pipe files exist in
/tmp.
spawn uv ENOENT:Use absolute paths in client config, or use the Python command shown above instead of
uv.
Server starts but tools behave inconsistently:
Ensure you are using this latest version, which sends commands in
Command:form and reads full responses untilBatchCommand finished.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Remote MCP server for audio stem separation, denoise, reverb, and MIDI export.
Audio, music, video, image, PDF, speech, text and web-check tools callable from any MCP client.
Audio, music, video, image, PDF, speech, text and web-check tools callable from any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLM-driven audio pipelines by controlling Audacity through mod-script-pipe, allowing generative audio, effects, and export via MCP tool calls.MIT
- AlicenseAqualityBmaintenanceEnables MCP-compatible AI assistants to control Audacity 4 locally for audio editing, effects, VST3 plugins, and cleanup pipelines via a TCP JSON-RPC bridge, with no cloud or API keys.1565Apache 2.0
- AlicenseBqualityCmaintenanceEnables AI agents to run shell commands, execute Python code, read and write files, search text, and create or delete folders through MCP stdio tools.9MIT
- AlicenseAqualityBmaintenanceEnables controlling REAPER digital audio workstation through MCP, providing tools for transport, track, MIDI, FX, project, render, action, and batch operations.148MIT