mcp-soundfx

mcp-soundfx

An MCP server that runs Stability AI's Stable Audio Open 1.0 locally on NVIDIA GPUs, enabling AI agents to generate broadcast-quality 44.1 kHz stereo WAV sound effects from text prompts fully offline with no API costs.

Category
访问服务器

README

mcp-soundfx

Local text-to-SFX generation for AI agents. An MCP server that runs Stability AI's Stable Audio Open 1.0 on your own NVIDIA GPU, so any MCP-capable agent (Claude Code, Claude Desktop, etc.) can generate broadcast-quality 44.1 kHz stereo WAV sound effects from text prompts — fully offline after the initial model download, no API costs, no usage limits.

Built and used in production at Core Epoch to generate shipping game audio: UI clicks, inhale/exhale foley, ambient loops, and achievement stingers, all authored by an agent iterating on prompts and auditioning seeds.

What it does

Exposes one tool, generate_sound:

Parameter Description
prompt Sound description, written like a brief to a sound designer ("glass shattering on a tile floor", "retro 8-bit coin pickup")
output_path Absolute path for the output .wav
negative_prompt Qualities to steer away from ("hiss, static, distortion")
duration_seconds Up to 47 s (UI clicks: 0.5–1.5 s, impacts: 2–5 s, ambience: 10–30 s)
steps 50 = fast draft, 100 = production, 200 = max fidelity
seed Deterministic per (prompt, seed) — change to audition variations

The tool's docstring embeds a full prompt-engineering and negative-prompt guide, so the agent reads how to write good audio prompts without any human in the loop. The model excels at SFX, foley, ambience, and musical phrases; it does not generate speech or vocals.

VRAM-friendly by design: the pipeline loads in float16 (~2.5 GB VRAM), generates, and is torn down after every call — so it coexists with games, renderers, or anything else that owns the GPU between generations.

Setup

Requirements: Windows/Linux, Python 3.10+, NVIDIA GPU with ~3 GB free VRAM, CUDA-capable torch.

  1. Accept the gated model license (one time): log into Hugging Face and accept the terms on the stable-audio-open-1.0 page, then create a Read token at Token Settings.

  2. Install:

    cd mcp-soundfx
    python -m venv .venv
    .venv\Scripts\activate          # Windows (source .venv/bin/activate on Linux)
    pip install torch --index-url https://download.pytorch.org/whl/cu121
    pip install -r requirements.txt
    
  3. Register the server with your MCP client. For Claude Code / Claude Desktop:

    {
      "mcpServers": {
        "mcp-soundfx": {
          "command": "powershell.exe",
          "args": ["-ExecutionPolicy", "Bypass", "-File", "C:\\path\\to\\mcp-soundfx\\run.ps1"],
          "env": { "HF_TOKEN": "hf_your_read_token" }
        }
      }
    }
    

    The launch scripts use .venv next to the script by default; set MCP_SOUNDFX_VENV to point elsewhere.

  4. Smoke test (optional, ~30 s on first run after model download):

    python test_generation.py
    

The first generation downloads the model weights (~2.5 GB) to your Hugging Face cache; everything after that is offline.

Why an MCP server instead of a script?

Because the interesting workflow is agentic: "give the pause menu a soft airy whoosh, try three variations, keep the least clicky one" is a conversation, not a command line. Putting the generator behind MCP means the agent owns the loop — prompt, generate, listen (via whatever playback tool it has), re-prompt — and sound design becomes something you delegate rather than operate.

License

The server code is MIT © 2026 Core Epoch LLC.

The model (Stable Audio Open 1.0) is gated and separately licensed by Stability AI under the Stability AI Community License — free for research, non-commercial, and commercial use by entities under $1M annual revenue; you accept those terms directly with Stability AI when you unlock the model, and generated outputs are yours. This project is not affiliated with or endorsed by Stability AI.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选