DR

drohi-r/companion-mcp

Developer tools

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

10 stars 4 forks 品質 65 トレンド 18Apache-2.0

検証ボタン制御、スタイリング、プリセット、変数、および制御面自動化のための53ツールを備えたBitfocus Companion用のMCPサーバー.

概要

Bitfocus Companion 用の MCP サーバー。 検証されたボタン制御、スタイリング、ページ検出、ランタイムの要約、在庫の差分、チェックポイントされたロールバック/復元ワークフロー、プリセット管理、変数管理、およびバッチショープログラミングをカバーする53ツールを公開します。そのため、AIアシスタントは、現在のAPIを通じて、ストリームデッキのサーフェスやその他のコンパニオン接続デバイスを操作できます。 生きている生産のために造られる。 MCP, Resolume MCP, MADRIX MCP, Beyond MCP とのペアで、フルAI 主導のショーコントロールを実現します。 repo には、手動で MCP ツールの呼び出しを発行することなく、同じ検証フローを望む人のための軽量ローカルブラウザ UI も含まれています。 コンパニオンは、ライブプロダクションスタックを結びつける物理的なボタンレイヤーです。 オペレータは、ストリームデッキボタンを押し、グランドMA2キューを発射し、Resolumeクリップをトリガーするか、レーザーシーケンスを開始します。 しかし、これらのボタンを手動でプログラミングすることで、コンパニオンUI、一度に1つのボタンをクリックし、アクション、ラベル、色を設定できます.

概要(AI 翻訳)

Bitfocus Companion 用の MCP サーバー。 検証されたボタン制御、スタイリング、ページ検出、ランタイムの要約、在庫の差分、チェックポイントされたロールバック/復元ワークフロー、プリセット管理、変数管理、およびバッチショープログラミングをカバーする53ツールを公開します。そのため、AIアシスタントは、現在のAPIを通じて、ストリームデッキのサーフェスやその他のコンパニオン接続デバイスを操作できます。

生きている生産のために造られる。 MCP, Resolume MCP, MADRIX MCP, Beyond MCP とのペアで、フルAI 主導のショーコントロールを実現します。

repo には、手動で MCP ツールの呼び出しを発行することなく、同じ検証フローを望む人のための軽量ローカルブラウザ UI も含まれています。

なぜこれが存在しているのか

コンパニオンは、ライブプロダクションスタックを結びつける物理的なボタンレイヤーです。 オペレータは、ストリームデッキボタンを押し、グランドMA2キューを発射し、Resolumeクリップをトリガーするか、レーザーシーケンスを開始します。 しかし、これらのボタンを手動でプログラミングすることで、コンパニオンUI、一度に1つのボタンをクリックし、アクション、ラベル、色を設定できます。

このMCPサーバーでは、AIが動作するようになります。 現在のボタンのレイアウト、それらを適用する前に変更をプレビューし、秒単位でページ全体をバッチプログラムをバッチプログラムすることができます.

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

README

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

Companion MCP

An MCP server for Bitfocus Companion. Exposes 53 tools covering verified button control, styling, page discovery, runtime summaries, inventory diffing, checkpointed rollback/restore workflows, preset management, variable management, and batch show programming — so AI assistants can operate Stream Deck surfaces and other Companion-connected devices through Companion’s current APIs.

Built for live production. Pairs with grandMA2 MCP, Resolume MCP, MADRIX MCP, and Beyond MCP for full AI-driven show control.

The repo also includes a lightweight local browser UI for humans who want the same verified flows without manually issuing MCP tool calls.

Why this exists

Companion is the physical button layer that ties a live production stack together. An operator presses a Stream Deck button and it fires a grandMA2 cue, triggers a Resolume clip, or starts a laser sequence. But programming those buttons is manual — you click through the Companion UI, one button at a time, configuring actions, labels, and colors.

This MCP server lets an AI do that work. It can read your current button layout, preview changes before applying them, and batch-program entire pages in seconds. Combined with MA2 Agent and Resolume MCP, an AI assistant can program the entire show control surface from a single conversation.

Quick start

git clone https://github.com/drohi-r/companion-mcp && cd companion-mcp
uv sync
uv run python -m companion_mcp

Browser UI

Run the local operator UI:

uv run companion-mcp-ui

Then open:

http://127.0.0.1:8088

The UI is intentionally local-first. It sits on top of the same backend logic as the MCP tools, so verified writes, snapshots, presets, and rollback behave the same in the browser as they do through MCP.

Make sure Companion is running on the target host and port. Current Companion builds use:

  • HTTP endpoints for button actions and style writes
  • websocket tRPC at /trpc for richer reads, discovery, preview, and variable inspection

Configuration

Variable Default Description
COMPANION_HOST 127.0.0.1 Companion instance IP
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "companion": { "command": "uv", "args": ["run", "--directory", "/path/to/companion-mcp", "python", "-m", "companion_mcp"], "env": { "COMPANION_HOST": "127.0.0.1", "COMPANION_PORT": "8000" } } } }