FE

ftupas/elektron-mcp

API development

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

0 stars 7 forks 品質 44 トレンド 0

LLM を用いた Elektron デバイスの制御に MCP を重ねる

概要

Claude と MCP 互換 LLM が MIDI を介して Elektron のシンセサイザーとやり取りし、制御できるモデルコンテキストプロトコル (MCP) サーバー。 - [x] Elektron Digitoneのシンセサイザーのための完全なMIDI制御インターフェイス - [ ] Elektron Digitaktのサンプラーのための完全なMIDI制御インターフェイス - [x]すべてのディジドンのサウンドエンジンのための構成されたコントローラー: - [x] Wavetone (波動の統合) - [ ] FMの調子(FMの統合) - [ ] FMのドラム(percussive FMの統合) - [ ] Swarmer(unison/swarm 合成) - [x] 包括的なパラメーター制御: - [x] すべてのフィルタタイプ - [x] マルチモード - [ ] Lowpass4 - [ ] エクアライザー - [ ] LegacyLpHp - [ ] CombMinus - [ ] CombPlus - [ ] BaseWidth - [x] 振幅と封筒の設定 - [x] 効果処理(遅延、リバーブ、コーラス、ビットダウンなど).

概要(AI 翻訳)

Claude と MCP 互換 LLM が MIDI を介して Elektron のシンセサイザーとやり取りし、制御できるモデルコンテキストプロトコル (MCP) サーバー。

##特徴

  • [x] Elektron Digitoneのシンセサイザーのための完全なMIDI制御インターフェイス
  • [ ] Elektron Digitakt のサンプラーのための完全な MIDI 制御インターフェイス
  • [x]すべてのディジドンのサウンドエンジンのための構成されたコントローラー:
  • [x] Wavetone(波動合成)
  • [ ] FMトーン(FM合成)
  • [ ] FMドラム(粘度FM合成)
  • [ ] 戦士 (unison/swarm 合成)
  • [x]:
  • [x] すべてのフィルター タイプ
  • [x] マルチモード
  • [ ] ローパス4
  • [ ] エクアライザー
  • [ ] レガシーLpHp
  • [ ] コンムミナス
  • [ ] コムプラス
  • [ ] ベース幅
  • [x] 振幅と封筒の設定
  • [x] 処理効果(遅延、リバーブ、コーラス、ビット削減など)
  • [ ] LFO制御
  • [x] MCP サーバーは、LM 用のツールとしてすべての同期パラメータを公開
  • [x] Pydantic を使用したタイプセーフなパラメーター検証
  • [x] 他のエレクトロンデバイスへの容易な拡張のためのモジュラーアーキテクチャ

デモ

リアルタイムでElektron Digitoneシンセサイザーを制御するClaudeを見る:

インストールと使用

前提条件

  • Python 3.10 +
  • パッケージ管理のためのuv

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Elektron MCP

A Model Context Protocol (MCP) server that allows Claude and other MCP-compatible LLMs to interact with and control Elektron synthesizers via MIDI.

Features

  • [x] Complete MIDI control interface for the Elektron Digitone synthesizer
  • [ ] Complete MIDI control interface for the Elektron Digitakt sampler
  • [x] Structured controllers for all Digitone sound engines:
    • [x] Wavetone (waveshaping synthesis)
    • [ ] FM Tone (FM synthesis)
    • [ ] FM Drum (percussive FM synthesis)
    • [ ] Swarmer (unison/swarm synthesis)
  • [x] Comprehensive parameter control for:
    • [x] All filter types
      • [x] MultiMode
      • [ ] Lowpass4
      • [ ] Equalizer
      • [ ] LegacyLpHp
      • [ ] CombMinus
      • [ ] CombPlus
      • [ ] BaseWidth
    • [x] Amplitude and envelope settings
    • [x] Effects processing (delay, reverb, chorus, bit reduction, etc.)
    • [ ] LFOs control
  • [x] MCP server exposing all synth parameters as tools for LLMs
  • [x] Type-safe parameter validation using Pydantic
  • [x] Modular architecture for easy extension to other Elektron devices

Demo

Watch Claude control the Elektron Digitone synthesizer in real-time:

Installation and Usage

Prerequisites

  • Python 3.10+
  • uv for package management
  • An Elektron Digitone connected via USB
  • Claude Desktop app (for full integration)

Installing Dependencies

uv is mandatory for this project so start by installing it:

For macOS:

brew install uv

For Windows:

Follow the instructions here

3. Installing with Claude Desktop

To use with Claude AI, add the MCP server configuration in Claude Desktop:

Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:

{
  "mcpServers": {
    "Digitone 2": {
      "command": "uvx",
      "args": ["elektron-mcp"]
    }
  }
}

Architecture

The library is designed with a clean, object-oriented architecture:

  • Base Controllers: Common functionality abstracted into base classes
  • Specialized Controllers: Dedicated controllers for each synth engine and module
  • MCP Tools: Direct interface between LLMs and the synth’s parameters
  • MIDI Interface: Reliable communication with Digitone hardware

Implementation Details

This library uses:

  • FastMCP: For exposing synth controls to LLMs
  • Pydantic models: For data validation, serialization, and type safety
  • mido: For MIDI communication

Use Cases

  • Allow Claude and other LLMs to create and modify sounds on the Digitone
  • Programmatically control Digitone parameters for automated sound design
  • Bridge between AI-generated music and hardware synthesis

Future Extensions

  • Support for additional Elektron devices (Analog Four, Octatrack, etc.)
GitHub で README 全文を見る

インストール

uvx elektron-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "Digitone 2": { "command": "uvx", "args": ["elektron-mcp"] } } }