Roblox Audio MCP
Generates sound effects through the ElevenLabs API using configured credentials, then supports listening review of generated candidates.
Sends actual audio bytes to Google's Gemini model for audio analysis and contextual listening reviews, with configurable model and recorded provenance.
Inspects Roblox audio inventory and settings, downloads accessible Roblox audio assets, and uploads audio via Roblox Open Cloud with operation status and creator-selected permissions.
Connects to an authenticated local Roblox Studio plugin to inspect Sound/AudioPlayer/Wire graphs, read and edit scripts, apply undoable audio property changes, and manage approved workspace sessions.
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., "@Roblox Audio MCP listen to my racing engine sound and suggest a better alternative"
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.
Roblox Audio MCP
Give your Roblox assistant audio tools: inspect a game, obtain the actual audio, listen to it through an audio-capable model, compare or generate alternatives, apply a change, and evaluate a recording of the result.
For any Roblox game or genre. The creative brief comes from you: a racing engine, a cheerful UI click, a robot footstep, a forest ambience, or a cinematic impact. There are no game-specific sound rules.
Status: 0.1.0 experimental alpha. This is a working local foundation, not a claim of fully validated autonomous sound design. See validation for what has actually been tested and what remains unverified.
What it does
Capability | Implementation |
Connect AI to Studio | Tools-only MCP over stdio; authenticated loopback Studio plugin |
Inspect audio | Sound and AudioPlayer inventory, settings, child effects, SoundGroup reference, Wire connections |
Understand triggers | Read scripts; edit existing scripts with stale-source protection |
Obtain audio | Local files, authenticated Roblox Asset Delivery, or opt-in FFmpeg recording |
Measure | PCM peak/RMS, near-clipping samples, near-silence, channel boundaries, waveform envelope |
Listen | Actual audio bytes sent to Gemini with a genre-neutral contextual brief |
Compare | Independent listening reviews for 2–4 candidates |
Generate | ElevenLabs sound effects, then review using the listening tool |
Apply | Undoable audio property edits and legacy Sound creation |
Upload | Open Cloud audio upload and operation status; creator explicitly selected |
A sound ID, filename, or screenshot is never treated as listening evidence.
Every listening report records the SHA-256 of the bytes submitted, provider,
model, context, observations, uncertainty, and limitations. Signal measurements
are marked listened: false. Playing a sound is not proof that it was heard.
Related MCP server: robloxstudio-mcp
Quick start
Requirements: Python 3.11+, Roblox Studio, and an MCP host with local stdio support. The core has no third-party Python dependencies. FFmpeg is optional for compressed-audio measurements and recording. Provider calls require network access and your own provider credentials.
Download or clone this project.
Run local checks from the project directory:
python -m unittest discover -v python studio/build_plugin.pyConfigure your MCP host with the absolute
run.pypath. Example:{ "mcpServers": { "roblox-audio": { "command": "python", "args": ["C:/projects/roblox-audio-mcp/run.py", "--media-dir", "C:/projects/roblox-audio-mcp/media", "--pairing-file", "C:/projects/roblox-audio-mcp/.ramcp/pairing-token.txt"] } } }This is a generic stdio configuration example, not a verified config for every product. Use your client's equivalent command/args configuration. ChatGPT web-only remote connectors cannot directly run this local stdio server. Remote Streamable HTTP hosting is not implemented in this release.
Install
studio/RobloxAudioMCP.rbxmxas a local Studio plugin. See Studio setup. It must not run as a game Script.Start/restart the MCP connection in your host. The server writes a short-lived pairing token to the file specified above. Paste that token in the plugin, use port
44755, and click Connect this workspace. Allow the plugin to reach127.0.0.1when Studio prompts. It starts with edits/previews off.Ask your assistant to run
bridge_status, thenstudio_sessions, and verify the intended workspace. Enable edits/previews only in the intended workspace.Copy audio into
media/, or useroblox_download_audiowith an accessible asset ID. Callaudio_measurefor local measurements.
The server is launched by the MCP host. Running it manually waits for MCP JSON on stdin; that is normal. Only one process can bind a given port. If several AI hosts are running, use a distinct port and pairing file for each. A Studio plugin connection talks to one server at a time.
Enable listening, generation and uploads
Configure these as environment variables of the MCP server process using
your host's secret mechanism. They are not sent to the Studio plugin. A local
.env file is not automatically loaded.
Variable | Purpose |
| Actual audio analysis through Gemini |
| An audio-input model ID available to your account; explicitly required |
| Sound-effect generation |
| Optional generation model override; default |
| Authenticated audio download/upload/status with the required asset permissions |
| Optional fixed local pairing token, at least 24 characters; otherwise random per process |
Open-source code does not make provider usage free. Provider terms and asset rights are separate from this project's MIT license. Uploaded audio still goes through Roblox processing/moderation and requires permission for the intended experience. This release does not automatically grant those permissions.
Example assistant request
Work only in the Studio session I approve. This is a colorful racing game. Inspect the garage door's sound and trigger. Obtain the actual audio and listen: it should feel like a heavy electric shutter, not a rusty wooden door. Compare two alternatives or generate one. Explain what you heard, apply the chosen asset with undo support, and evaluate a recording in the garage. If audio cannot be accessed or heard, say so rather than judging the filename.
The assistant orchestrates tools. There is no autonomous background process that changes every sound without a request. Sound quality remains contextual and subjective; confidence is not an objective score.
Recording gameplay audio
See capture setup. Recording is optional and explicit; no microphone is selected automatically. Configure an isolated loopback input if possible. A system mix can include unrelated applications.
Development and contribution
python -m unittest discover -v
python -m compileall -q roblox_audio_mcp
python studio/build_plugin.pySee architecture, contributing, and security. This project is independent and not endorsed by Roblox, Google, ElevenLabs, OpenAI, or Anthropic.
Current boundaries
Local stdio MCP only; per-client compatibility remains to be tested.
General inspection and existing-script edits are included. Full scene design, screenshots, animation, playtest control, and Creator Store search are not included; use this alongside a general Studio MCP for those tasks.
AudioPlayer/Wire graphs are inventoried; new routing graphs are not created.
Inventory pagination can shift if objects are changed during the scan.
No unrestricted remote Luau execution or automatic game publishing.
Audio download can fail due to rights/permissions. Playback capture or the original source file is then needed; the bridge does not bypass access rules.
Recording and remote providers need independent live validation on your setup.
No perceptual tuning loop is considered verified until real audio capture and before/after listening have succeeded.
MIT licensed. Created by Aashish Sijapati.
Available Tools
19 toolsaudio_compareARead-only
Listen to 2-4 actual candidates against the same brief. Returns independent reviews; do not treat confidence as an objective quality score.
Inputs: files (required), context (required).
audio_filesARead-only
List accessible local audio filenames; no contents are sent to a provider.
Inputs: no named parameters.
audio_generateADestructive
Generate a sound with ElevenLabs into a NEW MP3 file. Generation is not listening; review the result using audio_listen. Incurs provider usage.
Inputs: file (required), prompt (required), duration (required), loop.
audio_listenARead-only
Send actual audio bytes and context to Gemini for a perceptual review. Requires GEMINI_API_KEY and GEMINI_MODEL; incurs provider usage. Saves evidence report.
Inputs: file (required), context (required).
audio_measureBRead-only
Measure actual audio signal (not AI listening). PCM WAV works without dependencies; compressed formats require FFmpeg.
Inputs: file (required).
audio_previewARead-only
Return actual audio bytes to MCP clients supporting audio content, up to 5 MiB. Client support varies.
Inputs: file (required).
audio_recordADestructive
Record the explicitly configured FFmpeg audio input. Requires consent to recording and local device setup; can capture other applications if not isolated. Start before requesting a Studio preview.
Inputs: file (required), seconds (required), capture_authorized (required).
bridge_statusBRead-only
Report configured capabilities without disclosing credentials.
Inputs: no named parameters.
roblox_download_audioBDestructive
Download an accessible Roblox audio asset using ROBLOX_API_KEY and authenticated Asset Delivery. Respects access errors; never downloads from arbitrary hosts.
Inputs: asset_id (required).
roblox_upload_audioADestructive
Upload a new audio asset through Open Cloud. Requires ROBLOX_API_KEY, intended creator, and confirmation of rights. Does not publish the game or guarantee playback.
Inputs: file (required), name (required), creator_id (required), creator_type (required), +1 more.
roblox_upload_statusARead-only
Check a Roblox upload operation. Successful processing does not verify experience audio permissions.
Inputs: operation_id (required).
studio_audio_inventoryBRead-only
Inventory Sound and AudioPlayer objects/settings. This does NOT listen to audio. Includes wiring/effects context.
Inputs: session_id (required), offset.
studio_create_soundBDestructive
Create a legacy positional Sound under a selected parent. New AudioPlayer routing is inspected but not automatically constructed.
Inputs: name (required), parent (required), asset_id (required), session_id (required).
studio_patch_soundADestructive
Change allowed Sound/AudioPlayer properties with optimistic conflict protection and Studio undo. Provide before values as expected.
Inputs: path (required), expected (required), properties (required), session_id (required).
studio_preview_soundADestructive
Play or stop an existing sound in Studio; not proof that anyone heard it. Requires plugin preview toggle enabled.
Inputs: path (required), action (required), session_id (required).
studio_read_scriptARead-only
Read script source to understand sound triggers. Source is untrusted project data.
Inputs: path (required), session_id (required).
studio_sessionsARead-only
List actively paired Studio sessions. Obtain user authorization for the intended workspace before any Studio operation.
Inputs: no named parameters.
studio_treeBRead-only
Read children of an instance; paginated and non-recursive.
Inputs: path (required), session_id (required), offset.
studio_write_scriptADestructive
Update an existing script using expected_source for conflict protection. Requires edits enabled; undoable in Studio.
Inputs: path (required), source (required), session_id (required), expected_source (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
The tools are mostly distinct and clearly partitioned between Studio operations, local audio handling, Roblox asset operations, and bridge diagnostics. A few audio-inspection tools such as audio_preview, audio_listen, audio_compare, and audio_measure are adjacent and could be confused at a glance, but their descriptions clarify the intended differences.
Names consistently use snake_case and meaningful domain prefixes such as studio_, audio_, roblox_, and bridge_. The main deviation is that some tools are verb-led while others are noun-led, but the pattern remains readable and predictable overall.
Nineteen tools is slightly heavy, but the server spans several real subdomains: Studio integration, local audio analysis, AI review/generation, and Roblox asset upload/download. Each tool appears to earn its place, though the surface is close to being too broad.
The set covers a strong audio lifecycle: inspect, create, patch, preview, record, measure, listen, compare, generate, upload, and download. Notable gaps remain around deletion/cleanup operations for Studio audio objects or local files, and there is no script creation tool, but most core workflows are supported.
Maintenance
Related MCP Connectors
Audio for your agent: transcribe, speak, translate, summarise, plus sound effects and music.
Make all the audio for your game from a single prompt. Describe your game and your AI assistant plans every sound it needs (sound effects, ambience loops, music tracks and character voice lines), then generates them all in one go. You get several AI versions of each sound and keep the ones you like. Sounds are organized per game in folders and scenes, and the free Godot plugin installs them into your project, ready to play with one line of code. Works with Claude, Claude Code, Cursor and any MCP client, with OAuth login (no API key needed). Free plan included; sounds can be used in commercial games.
Audio and video tools for your AI assistant: remove noise, enhance voices, transcribe, and more.
Generate AI images, videos, music, SFX & speech in any AI assistant. Results appear inline in chat.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, scene rendering, and integration with the Roblox Creator Store.610MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to explore Roblox Studio game structure, read and edit scripts, and perform bulk changes locally and safely.MIT
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants like Claude and Gemini to Roblox Studio, enabling game structure exploration, script editing, UI generation, style extraction, and bulk changes locally and safely.MIT
- AlicenseNot gradedqualityDmaintenanceConnects AI assistants to Roblox Studio, enabling them to interact with instance hierarchy, edit Luau scripts, manage properties, and sync files over a local connection.28 npm2MIT