Back to MCP directory
publicPublicdnsLocal runtime

mcp-decent-sampler-drums

促进了DecentSampler鼓组配置的创建,支持WAV文件分析和XML生成,以确保准确的采样长度和结构良好的预设。

article

README

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.

Decent-Sampler Drums Server MCP server

Demo Video

Watch a simple demo video on YouTube here!

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.

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 do not already have samples ready to go, here are some resources to get started:

Free and Low-Cost Sample Resources

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client