FmodStudioMCP
AI-powered game-audio authoring in FMOD Studio through the Model Context Protocol
Quick Start • Features • Tools Reference • Architecture • Changelog • Contributing • Troubleshooting
FmodStudioMCP connects any MCP-compatible AI assistant to FMOD Studio, the game-audio middleware, and gives it full control over the authoring tool. Talk to your AI and it creates events, imports audio, builds parameter cultures, routes mixer buses, assigns banks, and builds your project — while you watch the editor apply every change live.
It runs over FMOD Studio's built-in JavaScript scripting terminal (TCP, port 3663), so — like its sibling ReaperMCP — there is no plugin, no cloud, nothing to install inside the tool: FMOD Studio ships the bridge. The MCP server is the only new piece, and it talks to a stock FMOD Studio install.
If this is useful to you, a star helps other people find it.
Works With
- Claude Desktop, Claude Code, Cursor, or any MCP-compatible client
Quick Start
1. Get FmodStudioMCP
Install directly:
pip install xdarkzx-fmod-studio-mcp
or clone and pip install -e . for development (see CONTRIBUTING.md).
2. Enable FMOD Studio's Script Server (one time)
The scripting terminal is disabled by default, and opening the console with Ctrl+0 is not enough — that only shows output.
- Launch FMOD Studio and open your project (
.fspro). Edit → Preferences…(Windows) orFMOD Studio → Preferences…(macOS).- On the Interface tab, tick Enable Script Server (requires restart).
- Quit and relaunch FMOD Studio, then reopen the project. The port is
3663by default.
Confirmed it's listening? Check the newest log under
%LOCALAPPDATA%\FMOD Studio\Logs\for[Scripting] ScriptServer started on 127.0.0.1 (3663).
3. Register the server with your MCP client
{
"mcpServers": {
"fmod-studio": {
"command": "fmod-studio-mcp"
}
}
}
fmod-studio-mcp reads FMOD_STUDIO_HOST / FMOD_STUDIO_PORT (defaults 127.0.0.1:3663) if your setup differs.
4. Start authoring
"List every event in the project"
"Create an event called 'Player/Footsteps' with a SingleSound loop of footsteps.wav"
"Add a 'Fear' User parameter to it, range 0-1, initial 0"
"Assign it to the Master bank and build the project"
FMOD Studio must be running with a project open. The bridge cannot launch Studio for you, and the Script Server only binds once a project is open.
Features
Curated tool surface (not generated)
Unlike auto-generated "one tool per API member" servers, every tool here is hand-shaped around the real authoring workflow. 90+ tools in 13 modules —
| Module | Tools | Highlights |
|---|---|---|
| Project | 5 | Get info, save, save-all, build banks (optionally scoped to specific banks/platforms), modified-check |
| Events | 11 | Create/delete/list/lookup, rename, folders, group tracks, maxVoices, timeline scrub |
| Audition | 6 | Play/stop/pause/keyoff, return-to-start, playback status — hear the result, don't just read the tree |
| Markers | 11 | Marker tracks, named markers, loop regions, sustain points, transition markers/regions, list/rename/reposition/delete |
| Sounds | 8 | Import audio assets, place Single/Multi/Programmer/Scatterer/Event instruments, wire audioFile + owners |
| Parameters | 4 | Add game parameters (all 6 types), enumeration labels, initial values, list |
| Banks | 8 | Create/rename/delete, assign/remove events, list membership |
| Automation | 3 | Parameter/timeline-driven curves — the heart of evolving/interactive music |
| Snapshots | 6 | Mixer state presets the game activates as blendable layers |
| Mixer | 17 | Groups + routing, dB volume, effect chains (24 effects), master bus, VCAs, per-event sends/returns |
| Folders | 2 | Create hierarchies, list browser tree |
| Workspace | 4 | Browser/editor selection, navigate-to, roots |
| Utility | 6 | Generic lookup/list/delete/isValid, debug dump, project validation |
Typed, safe by default
- Every command is a named, schema-validated operation — no arbitrary-script escape hatch (same policy as ReaperMCP).
- Values are validated before they reach Studio (names, dB ranges, type whitelists, audio file paths/extensions).
- Params travel as inert JSON literals into a self-trapping JS wrapper — a hostile string can't break out of its quotes or reach the command body.
- Results are capped (
MAX_OBJECTS_READ, etc.) so a busy project can't flood your model's context window.
Profile-trimmable tool surface
Smaller/cheaper models truncate tool lists. Set FMOD_STUDIO_MCP_PROFILE in your client's server config to pick a workflow-specific subset:
| Profile | For |
|---|---|
full (default) |
All 13 modules |
events |
Building/editing events, sounds, parameters, audition, markers |
mixer |
Mixer structure, routing, effects, audition, markers |
banks |
Bank management + build plumbing |
minimal |
Read the project, verify the bridge |
Production-grade plumbing, same as ReaperMCP
- TCP bridge with read-until-idle framing + typed connection/timeout errors (never a silent hang).
- Cross-process file mutex so multiple MCP clients can share one Studio without their evals interleaving.
- Command history archive (30-day retention) for after-the-fact debugging.
- Startup UTF-8 stdio fix and a self-retiring parent watchdog — battle-tested client behaviour inherited from ReaperMCP.
Architecture
┌──────────────┐ stdio ┌──────────────┐ TCP 3663 ┌──────────────┐
│ MCP Client │◄──────────►│ FmodStudioMCP│◄──────────────►│ FMOD Studio │
│(AI assistant)│ (JSON-RPC) │ FastMCP │ (JS eval) │ (JS terminal)│
└──────────────┘ └──────────────┘ └──────────────┘
The Python server wraps every tool's command body in a self-evaluating, error-trapping JavaScript IIFE, sends it to the Script Server, and parses the string reply back into a structured result. No cloud. Nothing leaves your machine — Studio and the AI talk over localhost.
Full details — framing, wrapping, safety limits, lifecycle — in docs/ARCHITECTURE.md.
Troubleshooting
| Problem | Fix |
|---|---|
| "Cannot reach FMOD Studio's scripting terminal" | Script Server isn't enabled. Preferences → Interface → tick Enable Script Server → restart FMOD Studio, then open a project. |
| Enabled but nothing on 3663 | A project must be open before the server binds. Check %LOCALAPPDATA%\FMOD Studio\Logs\ (newest file) for ScriptServer started vs is disabled. |
| Port conflict | Set the same value in FMOD Studio's Preferences and FMOD_STUDIO_PORT. |
| Claude Desktop doesn't see it | Restart Claude Desktop after editing its config file. |
| "command not found: fmod-studio-mcp" | Reinstall with pip install xdarkzx-fmod-studio-mcp, or pip install -e . from the repo. |
Development
pip install -e ".[dev]"
pytest tests/ -x -q
ruff check .
Adding a tool
- Add a module in
fmod_mcp/tools/(or extend an existing one). - Export
register(mcp: FastMCP). - Define tools with
@mcp.tool(), using theclient.execute("js body", **params)helper. - Add the module name to
_EXPECTED_MODULESintool_registry.py. - Every new tool is automatically exercised by the test harness in
tests/test_tools_registration.py.
See CONTRIBUTING.md for full guidelines.
License
Apache License 2.0 — see LICENSE for details.
Built by Daniel Hodgetts (@xDarkzx).
Need a custom tool, plugin, or integration built like this? Open an issue.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xdarkzx_fmod_studio_mcp-0.3.0.tar.gz.
File metadata
- Download URL: xdarkzx_fmod_studio_mcp-0.3.0.tar.gz
- Upload date:
- Size: 71.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d25d3756441424ae49791ab5c2c58359e8a345100c7c426702d5ee2e31acadb0
|
|
| MD5 |
1b40e83b449a32f2f4b25f742ce689e9
|
|
| BLAKE2b-256 |
5bb5eb2f4d9e725a8866f78275b093fc5f17792a0d1ba531586a25f9432d951d
|
Provenance
The following attestation bundles were made for xdarkzx_fmod_studio_mcp-0.3.0.tar.gz:
Publisher:
publish.yml on xDarkzx/Dans_Fmod_Studio_MCP
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xdarkzx_fmod_studio_mcp-0.3.0.tar.gz -
Subject digest:
d25d3756441424ae49791ab5c2c58359e8a345100c7c426702d5ee2e31acadb0 - Sigstore transparency entry: 2539564672
- Sigstore integration time:
-
Permalink:
xDarkzx/Dans_Fmod_Studio_MCP@c36c11df3a02bd4601c719116a8ead30e14080d3 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/xDarkzx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c36c11df3a02bd4601c719116a8ead30e14080d3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xdarkzx_fmod_studio_mcp-0.3.0-py3-none-any.whl.
File metadata
- Download URL: xdarkzx_fmod_studio_mcp-0.3.0-py3-none-any.whl
- Upload date:
- Size: 56.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40819dfca0cf24decbb1a354963991ccc0e5bf92b30b480f3cdc1b25ff6ae60a
|
|
| MD5 |
367c265ac0cbc504c42974b65ed1c889
|
|
| BLAKE2b-256 |
15308d0366d4ecb662272c8b18f4ff83f7c0f72a847d70c8dbdfae50454b3b7d
|
Provenance
The following attestation bundles were made for xdarkzx_fmod_studio_mcp-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on xDarkzx/Dans_Fmod_Studio_MCP
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xdarkzx_fmod_studio_mcp-0.3.0-py3-none-any.whl -
Subject digest:
40819dfca0cf24decbb1a354963991ccc0e5bf92b30b480f3cdc1b25ff6ae60a - Sigstore transparency entry: 2539564740
- Sigstore integration time:
-
Permalink:
xDarkzx/Dans_Fmod_Studio_MCP@c36c11df3a02bd4601c719116a8ead30e14080d3 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/xDarkzx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c36c11df3a02bd4601c719116a8ead30e14080d3 -
Trigger Event:
push
-
Statement type: