decent-sampler-drums MCP Server
A Model Context Protocol server for generating DecentSampler drum kit configurations.
This TypeScript-based MCP server provides tools for working with DecentSampler drum kit presets, including WAV file analysis and XML generation.
Warning: Creating complex presets may end up exceeding Claude Desktopβs maximum message length. We are still working on streamlining this tool to work around this limitation. If you are creating simple presets without a lot of mics or other variations, the xml file should be small enough for Claude to write to a file.
Features
- WAV file analysis and validation
- Global pitch and envelope controls
- Multi-mic routing with MIDI controls
- Round robin sample playback
- Flexible velocity layer handling
- Muting group support
- Auxiliary output routing
Documentation
- How do I use these tools? - Step-by-step workflows with real examples
- Tools Documentation - Detailed information about each available tool
- Input Schemas - TypeScript interfaces and parameter descriptions
Installation
Prerequisites
- Node.js (v14 or higher)
- npm (usually comes with Node.js)
- Claude Desktop app (for use with Claude)
Setup
- Install dependencies:
npm install
- Build the server:
npm run build
- Add to your Claude Desktop config:
Windows: %APPDATA%/Claude/claude_desktop_config.json
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"decent-sampler-drums": {
"command": "npx",
"args": [
"-y",
"@dandeliongold/mcp-decent-sampler-drums"
],
"env": {}
}
}
}
Development
For development with auto-rebuild:
npm run watch
For debugging, use the MCP Inspector:
npm run inspector
Usage Guidelines
When using this MCP server to generate simple presets, you should always reference the simple_preset_guidelines
prompt.
For more complex presets (including sections such as buses, effects, etc.), reference the advanced_preset_guidelines
prompt. Note that creating complex presets with a large number of samples can still be unstable and may exceed Claude Desktopβs maximum message length.
About Decent Sampler
Decent Sampler is a FREE sampling plugin that allows you to play samples in the Decent Sampler format.
Useful Links
Sample Sources
The goal of this MCP server is to make it easier to set up your own presets, whether youβre playing your kitchen utensils into your phone, or recording a full kit in a studio. To create your own drum kits, youβll also need samples.
If you donβt already have samples ready to go, here are some resources to get started:
Free and Low-Cost Sample Resources
-
99sounds.org
- Drum Samples Collectionβ - Various drum kits and percussion samples
- Dub & Reggae Soundsβ - Specialized collection of reggae drum sounds
-
Archive.org: Sample Pack Collectionβ - Community-contributed drum samples, sorted by popularity. Includes some cool stuff like vintage drum machines and CMI Fairlight samples.
-
Sample Pack Nation: Oberheim DMX/DX Drumkitsβ - Classic drum machine sounds (Under 10 USD/EUR)