
derwin12/xlights-mcp-server
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
MCP-сервер для генерации последовательностей световых шоу xLights из анализа музыки
Обзор
В настоящее время проект находится в бета-версии. Функции могут меняться, и вы можете столкнуться с ошибками. Отзывы и вклады приветствуются! Сервер MCP (Model Context Protocol), который анализирует музыку и генерирует последовательности световых шоу xLights. Работает с любым MCP-совместимым инструментом ИИ — GitHub Copilot CLI, Claude Desktop, Cursor, VS Code + Copilot Chat, Windsurf, Cline и др. Дайте ему .mp3, и он проанализирует ритмы, структуру песни и энергию, а затем сгенерирует действительный файл последовательности .xsq с эффектами, размещенными во всех ваших легких моделях, синхронизированных с музыкой.
Обзор (машинный перевод)
:️ Бета-версия В настоящее время проект находится в бета-версии. Функции могут меняться, и вы можете столкнуться с ошибками. Отзывы и вклады приветствуются!
XLights MCP Server
Сервер MCP (Model Context Protocol), который анализирует музыку и генерирует последовательности световых шоу xLights. Работает с любым MCP-совместимым инструментом ИИ — GitHub Copilot CLI, Claude Desktop, Cursor, VS Code + Copilot Chat, Windsurf, Cline и др.
Дайте ему [T0], и он проанализирует ритмы, структуру песни и энергию, а затем сгенерирует действительный файл последовательности [T1] с эффектами, размещенными во всех ваших легких моделях, синхронизированных с музыкой.
Что это делает
###Аудиоанализ Обнаружение бита и темпа - идентифицирует каждый бит, бит и границу бара
- ** Структура песни ** - обнаруживает интро, стих, хор, мост и аутро секции ** Частотный спектр** — кривые баса, средней и высокой энергии с течением времени ** Профилирование энергии** — динамика громкости, пиковое обнаружение, динамический диапазон Source separation — изолировать вокал, барабаны, бас и другие стебли через Demucs (факультативно)
###Поколение последовательности
** Создает действительные .xsq файлы**, которые открываются непосредственно в xLights — не требуется графический интерфейс xLights во время генерации
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
⚠️ Beta: This project is currently in beta. Features may change, and you may encounter bugs. Feedback and contributions are welcome!
xLights MCP Server
An MCP (Model Context Protocol) server that analyzes music and generates xLights light show sequences. Works with any MCP-compatible AI tool — GitHub Copilot CLI, Claude Desktop, Cursor, VS Code + Copilot Chat, Windsurf, Cline, and more.
Give it an .mp3, and it will analyze the beats, song structure, and energy — then generate a valid .xsq sequence file with effects placed across all of your light models, synced to the music.
What It Does
🎵 Audio Analysis
- Beat & tempo detection — identifies every beat, downbeat, and bar boundary
- Song structure — detects intro, verse, chorus, bridge, and outro sections
- Frequency spectrum — bass, mid, and high energy curves over time
- Energy profiling — loudness dynamics, peak detection, dynamic range
- Source separation — isolate vocals, drums, bass, and other stems via Demucs (optional)
💡 Sequence Generation
- Generates valid
.xsqfiles that open directly in xLights — no xLights GUI required during generation - Reads your actual show config — knows your models, controllers, channel counts, and model types
- Intelligent effect selection — picks effects based on model type (arches get chases, trees get spirals, etc.) and musical features (beats → shockwaves, choruses → high energy, verses → gentle)
- Theme-aware palettes — Christmas (red/green/gold) and Halloween (orange/purple) color schemes
- Three generation modes:
- Automatic — AI picks everything, you review in xLights
- Guided — AI shows song structure, you choose effects per section
- Template — define reusable effect recipes, AI places them on beat
- Never overwrites — existing sequences are safe; generated files get a
(generated N)suffix
📦 Sequence Import & Remapping
- Import community sequences — take any
.xsqor.zippackage from the xLights community and remap it to your show layout - Intelligent model matching — automatically maps imported models to yours by name, type, and pixel count
- Zip package support — extracts audio, video, shader, and image assets; rewrites hardcoded file paths
- Singing model awareness — singing face models only match to other singing models
- Full mapping report — see exactly what matched, how, and what was skipped
- Manual overrides — correct any mapping before the remapped sequence is generated
📡 FPP Integration
- Check status of your Falcon Pi Player
- Upload sequences (.fseq + audio) to FPP
- Manage playlists — list, start, stop
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"xlights": {
"command": "uv",
"args": ["run", "--directory", "/path/to/xlights-mcp-server", "xlights-mcp-server"]
}
}
}