
derwin12/xlights-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
音楽解析からxLightsライトショーシーケンスを生成するためのMCPサーバー
概要
現在、ベータ版でプロジェクトを進めています。 機能が変更される可能性があり、バグが発生する可能性があります。 フィードバックと貢献を歓迎します! MCP (Model Context Protocol) サーバーで、音楽を分析し、xLights のライトショーのシーケンスを生成します。 GitHub Copilot CLI、Claude Desktop、 Cursor、VS Code + Copilot Chat、Windsurf、Clineなど、あらゆるMCPに対応したAIツールで動作します。 .mp3 を指定し、ビート、ソング構造、エネルギーを分析し、すべてのライトモデルにエフェクトを置き、音楽に同期した有効な .xsq シーケンスファイルを生成します.
概要(AI 翻訳)
**************** ベータ版:** 現在、ベータ版でプロジェクトを進めています。 機能が変更される可能性があり、バグが発生する可能性があります。 フィードバックと貢献を歓迎します!
xLights MCP サーバー
MCP (Model Context Protocol) サーバーで、音楽を分析し、xLights のライトショーのシーケンスを生成します。 GitHub Copilot CLI、Claude Desktop、 Cursor、VS Code + Copilot Chat、Windsurf、Clineなど、あらゆるMCPに対応したAIツールで動作します。
[.mp3] とすると、ビート、ソング構造、エネルギーを解析し、有効な [.xsq] のシーケンスファイルをすべてのライトモデルに置き、音楽に同期します。
お問い合わせ
それが何をしているか
音声解析
- ビート&テンポ検出 — あらゆるビート、ダウンビート、バー境界を識別します -Song構造 — イントロ、逆、コーラス、ブリッジ、およびアウトロセクションを検出
- 周波数スペクトラム — 低音、中音、高エネルギーの曲線を時間をかけて -エナジープロファイリング — ラウドネスダイナミクス、ピーク検出、ダイナミックレンジ
- 出典 — Demucsによるボーカル、ドラム、ベースおよび他の茎を分離します(任意)
##################### ###############################################################################################################################################################
- **xLightsで直接開く有効な[[
.xsq]ファイルを生成中にxLights GUIが不要
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
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"]
}
}
}