audio-mcp
Click on "Deploy 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 Generate a soothing rain sound effect for 5 seconds"
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
A mock-first Model Context Protocol server for audio generation. It creates deterministic placeholder WAV files locally, making it possible to develop and test an audio-tool workflow without credentials, network calls, or generation fees.
Tools
generate_music(prompt, duration_seconds=2.0)generate_sound_effect(prompt, duration_seconds=1.0)get_generation_status(generation_id)
Generation calls complete synchronously and return a generation ID plus a local asset containing its path, file URI, MIME type, format, and duration. Durations must be between 0.1 and 30 seconds.
Related MCP server: io.github.chicogong/ffvoice
Development
Python 3.10 or newer is required.
python -m venv .venv
. .venv/bin/activate
pip install -e '.[dev]'
pytestThe integration test launches the STDIO server, initializes an MCP client, lists the tools, calls every tool, and checks the generated WAV asset.
Run the server
The default transport is STDIO:
python -m audio_mcp.serverGenerated files are written to .audio-mcp/. Override that location with
AUDIO_MCP_OUTPUT_DIR.
To register a development checkout with Codex CLI:
codex mcp add audio-dev -- python -m audio_mcp.server
codex mcp listThe server intentionally has no paid provider integration. A production provider can later implement the same asset response contract once the MCP workflow has been validated.
Available Tools
3 toolsgenerate_musicB
Generate a mock music WAV from a text prompt.
Inputs: prompt (required), duration_seconds. Returns: object
generate_sound_effectB
Generate a mock sound-effect WAV from a text prompt.
Inputs: prompt (required), duration_seconds. Returns: object
get_generation_statusA
Return the state and asset metadata for a generation.
Inputs: generation_id (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a distinct purpose: generating music, generating sound effects, and checking generation status. The two generation tools are clearly separated by output type, and the status tool is orthogonal to the generation actions.
All tool names follow a consistent verb_noun pattern using snake_case: generate_music, generate_sound_effect, and get_generation_status. The naming is uniform and predictable.
Three tools is on the lean side but appropriate for a focused mock audio generation service. The set covers the essential operations without superfluous additions.
The tools cover the core workflow of starting a generation and checking its status. Minor gaps like canceling or listing generations exist but are not critical for a mock service.
Maintenance
Related MCP Connectors
AI-native mock API server with MCP. Create REST/SOAP mocks from Claude, Cursor, or Windsurf.
MCP server exposing the AceDataCloud Fish Audio API (text-to-speech with voice conditioning)
MCP server for Speech-to-Text
MCP server for Producer/Riffusion AI music generation
Related MCP Servers
- FlicenseCqualityCmaintenanceAn MCP server that exposes speech-to-text and text-to-speech capabilities using a local speaches instance, allowing AI assistants to transcribe audio and generate speech.2-
- AlicenseNot gradedqualityCmaintenanceMCP server for offline speech-to-text and speaker diarization, enabling AI agents to transcribe audio locally without cloud APIs.86 PyPI3MIT
- AlicenseNot gradedqualityDmaintenanceLocal-first speech-to-text and text-to-speech MCP server. Hot-swappable engines via config.yaml — no code changes, no API keys required.2MIT
- AlicenseNot gradedqualityBmaintenanceA text-to-speech MCP server with 48 voices across 9 languages, supporting emotion spans, SFX tags, and multi-speaker dialogue. Deployable via a single npx command with built-in guardrails and swappable backends.31 PyPIMIT