MCP RiR
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., "@MCP RiRa stairwell, mic near the wall, quite reverberant, put it in my samples folder"
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.
MCP RIR
Room impulse responses from a plain description, via pyroomacoustics.
An MCP server that lets any compatible agent generate an IR from natural language and write it where you want. Describe a space in any language and the calling model turns it into room dimensions, an absorption coefficient and mic/source positions.
Useful for matching a room you no longer have access to (dry foley or dialogue recorded on location, with no IR captured at the time), and for building reverbs that are realistic, impossible, or somewhere between.
Example
"a stairwell, mic near the wall, quite reverberant, put it in my samples folder"
2.4 × 4.8 × 11.2 m · absorption 0.06 (wet) · mic near wall · source near wall
2.33 s stereo, 48000 Hz
/Users/you/Music/samples/medium_near_wall_wet_b7b2.wavThe result loads into any convolution reverb.
Anything left unspecified is randomised. Values you do supply are used as given, but exact mic placement and per-wall absorption are redrawn on every call, so the same numbers twice produce a different take. Call again to reroll.
Related MCP server: AudioGen MCP Server
Setup
Requires uv. Add the
following to your MCP client configuration
(~/Library/Application Support/Claude/claude_desktop_config.json on macOS)
and restart the client:
{
"mcpServers": {
"rir": {
"command": "uvx",
"args": ["--from", "git+https://github.com/tbimbato/MCP_RiR", "mcp-rir"],
"env": {
"RIR_OUTPUT_DIR": "~/Music/IRs"
}
}
}
}The first launch takes a minute while pyroomacoustics is fetched.
RIR_OUTPUT_DIR sets the default destination. Without it, files land in
~/RIR-MCP/. A destination can also be given per request ("put it in my
samples folder", "call it hallway.wav").
The tool
generate_room_ir. Every argument is optional.
argument | description |
| room size in metres, 0.5 to 40 |
| surface reflectivity, 0.02 to 0.95. Bare tile or concrete around 0.05, plaster 0.15, carpeted 0.3, heavily treated 0.5 |
|
|
| a folder, or a full path ending in |
Output is a stereo 48 kHz 24-bit WAV, peak-normalised, capped at 20 seconds. Out-of-range values are clamped rather than rejected, and the reply says so.
Ranges, defaults and the parameters that shape the sound are in
src/mcp_rir/config.py.
Roadmap
Stereo output, 48 kHz 24-bit, peak-normalised.
Per-request output path, so files land where you ask.
Microphone directivity. The pair is currently two omnidirectional capsules, the weakest option for stereo image. Cardioid, hypercardioid and figure-of-eight patterns would allow real techniques (XY, ORTF, Blumlein) and widen the image considerably.
Multichannel output. Quad and octophonic. Adding microphones to the same simulation is inexpensive; the work is picking layouts that convolvers actually accept.
Ambisonic B-format (first order, W/X/Y/Z). Higher priority than a fixed quad, since it decodes to any speaker arrangement afterwards.
Room rendering. An image of the simulated geometry with mic and source positions, written next to the WAV, to see what was generated without loading the file.
Non-shoebox geometry. Arbitrary polygonal footprints extruded to 3D: L-shaped rooms, narrow corridors, concave spaces that focus reflections. No new dependencies needed.
Post-processing tool. Reshaping an existing impulse response: reversed decay, gated tails, extreme time stretch. Taking a file path means it would work on impulse responses not generated here.
Tuning. The default ranges are informed guesses, not yet adjusted by ear.
Suggestions and contributions welcome.
Development
git clone https://github.com/tbimbato/MCP_RiR
cd MCP_RiR
pip install -e .Point the configuration at that checkout:
{
"mcpServers": {
"rir": {
"command": "/path/to/your/python",
"args": ["-m", "mcp_rir.server"]
}
}
}License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables AI assistants to generate and control real-time audio synthesis through natural language descriptions using SuperCollider. Features 10 built-in synth types, pattern sequencing, audio recording, and server lifecycle management for creating sounds from simple English descriptions.111
- Alicense-qualityCmaintenanceEnables users to generate sound effects from text descriptions using Meta's AudioGen model. Specifically designed for Apple Silicon Macs, it supports single and batch audio generation directly from natural language prompts.1MIT
- Alicense-qualityDmaintenanceA comprehensive audio MCP server that enables AI agents to generate speech, transcribe audio, clone voices, analyze speech quality, design soundscapes, and manage audio assets through a standardized interface.2MIT
- Alicense-qualityBmaintenanceProvides audio inspection, conversion, processing, and generation capabilities via SoX, enabling AI agents to 'hear' and manipulate audio files through structured JSON interfaces.MIT
Related MCP Connectors
Generate images, video, and audio with Glif's media-generation agent
Generate images, video, music and voice from your CLI or AI agent. On-brand AI media toolkit.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
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/tbimbato/MCP_RiR'
If you have feedback or need assistance with the MCP directory API, please join our Discord server