audio-mcp
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-mcpGenerate 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.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| duration_seconds | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description should disclose behavioral traits like side effects, authentication, or limitations. It only states the core function, failing to mention whether it is deterministic, asynchronous, or has any system impact. The word 'mock' hints at non-production intent, but no operational details are given.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence with no redundant information. It front-loads the action and resource immediately.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter tool with an output schema, the description conveys the core purpose but omits usage guidance and parameter semantics. The sibling tool generate_sound_effect creates ambiguity that the description does not explicitly resolve, so the context is not fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must explain parameters. It mentions 'text prompt' which maps to the prompt parameter, but duration_seconds is entirely unaddressed. The schema provides titles and a default, but the description adds no extra meaning beyond reinforcing prompt's semantics.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific action ('Generate') and resource ('music WAV') with a source ('text prompt'). The inclusion of 'mock' and 'music' distinguishes it from generate_sound_effect and get_generation_status.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage through 'music' vs the sibling 'generate_sound_effect', but it does not explicitly provide when-to-use guidance or mention alternatives such as get_generation_status. It does not state when NOT to use this tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_sound_effectB
Generate a mock sound-effect WAV from a text prompt.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| duration_seconds | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the full burden. The word 'mock' hints at non-real output, but the description does not disclose whether generation is synchronous or asynchronous, what the returned object contains, or any rate limits or side effects. Significant gaps remain.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is one short, front-loaded sentence that communicates core purpose without any filler. It is appropriately concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The presence of sibling get_generation_status strongly suggests this tool might return a job ID requiring polling, but the description omits this critical workflow context. Additionally, the duration_seconds parameter is not explained. While an output schema exists, the description fails to convey the overall generation lifecycle.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It clarifies prompt as a 'text prompt', but duration_seconds is not mentioned at all; the schema only provides a title and default, which is insufficient for understanding units, constraints, or behavior.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'Generate a mock sound-effect WAV from a text prompt.' It clearly distinguishes from get_generation_status and implies a different output than generate_music, though it doesn't explicitly contrast with that sibling.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The context is clear (use when you want a sound effect from a prompt), but there is no explicit guidance on when to choose this over generate_music, nor mention of asynchronous behavior that might require get_generation_status. It's implied rather than stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_generation_statusA
Return the state and asset metadata for a generation.
| Name | Required | Description | Default |
|---|---|---|---|
| generation_id | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description is the only behavioral signal, and it indicates a read-only operation via 'Return.' However, it does not mention error behavior, idempotency, or what happens when the generation_id is invalid, leaving the agent with limited understanding of the tool's side effects and failure modes.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no redundant information. Every word contributes to clarifying the tool's purpose, making it highly efficient for agent reading.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
This is a simple status-retrieval tool with one required parameter and an output schema, so the description does not need to explain return values. It covers the essential purpose, though it omits hints about polling behavior or invalid IDs; still, the overall context is adequate for a getter tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description refers to 'a generation,' which naturally maps to the generation_id parameter, but it does not explain how to obtain or format the ID. Given 0% schema description coverage, the description adds minimal value beyond the parameter name's self-evident meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'Return' and names the resource as 'state and asset metadata for a generation,' clearly defining the tool's action. This distinguishes it from sibling tools that generate music or sound effects, which are about creation rather than status retrieval.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is used to check on an existing generation, likely after using one of the generation siblings. It does not explicitly state when not to use it or name alternatives, but the context is clear enough for an agent to infer the appropriate scenario.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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.3MIT
- AlicenseNot gradedqualityBmaintenanceLocal-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 gradedqualityDmaintenanceA 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.MIT
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/narteyr/audio-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server