Decent-Sampler Drums MCP Server

by dandeliongold
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Supports MIDI controls for multi-mic routing and other drum kit parameters

  • Generates XML files for Decent Sampler drum kit configurations

  • Provides a demo video hosted on YouTube showing the server's capabilities

Decent Sampler Drums MCP Server

A Model Context Protocol server for generating Decent Sampler drum kit configurations.

This TypeScript-based MCP server provides specialized tools and prompts for creating DecentSampler drum kit presets, including WAV file analysis and XML generation.

Demo Video

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

Documentation

Installation

Prerequisites

  • Node.js (v14 or higher)
  • npm (usually comes with Node.js)
  • Claude Desktop app (for use with Claude)

Setup

  1. Install dependencies:
npm install
  1. Build the server:
npm run build
  1. 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.

Both prompts will ask you to provide a samplesDirectory argument - this should be the absolute path to your drum samples folder (e.g., "C:/Users/username/Documents/DrumSamples"). The prompt will then automatically use this directory in all examples and configurations, making it easier to follow along with the correct paths for your system.

About Decent Sampler

Decent Sampler is a FREE sampling plugin that allows you to play samples in the Decent Sampler format.

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

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Facilitates the creation of DecentSampler drum kit configurations, supporting WAV file analysis and XML generation to ensure accurate sample lengths and well-structured presets.

  1. Demo Video
    1. Features
      1. Documentation
        1. Installation
          1. Prerequisites
          2. Setup
        2. Development
          1. Usage Guidelines
            1. About Decent Sampler
              1. Useful Links
              2. Sample Sources