MA3-MCPのロゴ

MA3-MCP

コミュニティ
Pahegi

MCP server for controlling grandMA3 lighting consoles via AI assistants

公開者Pahegi
リポジトリma3-mcp
言語Lua
フォーク
7
スター
32
利用可能なツール
0
通信方式stdio
カテゴリ
リンク
  • ツールをAIワークフローに接続

    MA3-MCPは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには32件のスターと7件のフォークがあります。

MA3-MCP

⚠️ Prototype / Proof of Concept
This project is an experimental implementation demonstrating AI-assisted lighting control via MCP. It is not intended for production use. Use at your own risk.

MCP server for controlling grandMA3 lighting consoles via AI assistants (Claude Desktop, VS Code Copilot, etc.).

Features

  • Execute MA3 console commands directly
  • Control fixtures (dimmer, color, position, gobo, etc.)
  • Store and manage cues with timing and triggers
  • Playback control (Go, Back, Off, etc.)
  • Executor fader and button control
  • Query sequences, cues, and programmer contents
  • Read DMX output
  • Group support with batch operations

Project Structure

ma3_mcp/
├── config.py      # Configuration management
├── ma3_comm.py    # File-based IPC with grandMA3
├── server.py      # MCP tools (@mcp.tool() definitions)
└── __init__.py

plugin/
├── mcp_server.lua    # grandMA3 Lua plugin
└── MCP Server.xml    # Plugin configuration

Quick Start

1. Install Python Dependencies

bash
poetry install

2. Deploy the Lua Plugin to MA3

Copy .env.example to .env and configure your paths:

bash
cp .env.example .env
# Edit .env with your MA3 installation path

Then deploy:

bash
./deploy.sh

Or manually copy plugin/mcp_server.lua to your MA3 plugins folder:

  • macOS: ~/MALightingTechnology/gma3_X.X.X/shared/resource/lib_plugins/mcp_server/
  • Windows: %USERPROFILE%\MALightingTechnology\gma3_X.X.X\shared\resource\lib_plugins\mcp_server\

3. Start the Plugin in MA3

  1. In MA3, go to Menu → Plugins
  2. Create or select the "MCP Server" plugin
  3. Start the plugin (it will poll for commands in the background)

4. Configure Your AI Assistant

For VS Code (GitHub Copilot):

The workspace settings are already configured. Just open the project in VS Code.

For Claude Desktop:

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{
  "mcpServers": {
    "grandMA3": {
      "command": "poetry",
      "args": ["run", "python", "-m", "ma3_mcp.server"],
      "cwd": "/path/to/MA3-MCP"
    }
  }
}

Configuration

All configuration is done via environment variables. Copy .env.example to .env:

bash
# IPC paths (defaults work for most setups)
MA3_IPC_DIR=/Users/Shared/MA3

# Plugin deployment path
MA3_PLUGIN_DIR=~/MALightingTechnology/gma3_2.3.2/shared/resource/lib_plugins/mcp_server

# OSC reload settings
MA3_OSC_HOST=127.0.0.1
MA3_OSC_PORT=8000

Platform Defaults

PlatformIPC Directory
macOS/Users/Shared/MA3/
WindowsC:/ProgramData/MA3/

Communication Architecture

Uses file-based IPC for reliable cross-process communication:

MCP Client (Python)                    grandMA3 (Lua Plugin)
       │                                       │
       ├── Write command ──────────────────────┤
       │   mcp_command.txt                     │
       │                                       ├── Poll & Execute
       │                                       │
       ├── Read response ◄─────────────────────┤
           mcp_response.txt                    │

Available Tools

Fixture Control

  • ma3_list_fixtures - List all patched fixtures
  • ma3_select - Select fixtures by ID, range, or group
  • ma3_set_attribute - Set attribute on selection
  • ma3_set_color - Set RGB color on selection
  • ma3_set_position - Set pan/tilt on selection

Cue Management

  • ma3_store_cue - Store cue with timing and name
  • ma3_store_cue_part - Store cue part for complex timing
  • ma3_set_cue_timing - Modify existing cue timing
  • ma3_set_cue_trigger - Set cue trigger mode (Go/Time/Follow)
  • ma3_delete_cue - Delete a cue
  • ma3_goto_cue - Jump to a specific cue

Playback Control

  • ma3_playback - Control sequence (go, back, off, top)
  • ma3_executor_fader - Set executor fader level
  • ma3_executor_go - Trigger executor actions
  • ma3_assign_to_executor - Assign sequence to executor (with optional name)
  • ma3_label_executor - Set or change executor label/name

Inspection Tools

  • ma3_get_sequence_overview - List all cues in a sequence
  • ma3_get_cue_contents - Get cue details and timing
  • ma3_get_fixture_status - Get fixture programmer/output values
  • ma3_list_programmer_detailed - Detailed programmer contents

Query Functions

  • ma3_query - Query any MA3 object
  • ma3_get_property - Get object property
  • ma3_get_all_properties - Get all properties as JSON
  • ma3_list_children - List object children

Development

Deploy Changes

Use the deploy script to copy the Lua plugin and reload:

bash
./deploy.sh

This will:

  1. Copy plugin/mcp_server.lua to MA3
  2. Send OSC command to reload the plugin

VS Code Integration

The project includes VS Code settings for:

  • MCP server configuration
  • Terminal profiles for MA3 Command Line and System Monitor
  • Auto-approve for deploy script

Plugin Reload Setup

For the deploy script to hot-reload the plugin, you need to configure the plugin correctly in MA3. See this forum thread for detailed instructions:

License

This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0-or-later).

If you run a modified version of this software to provide a service over a network, you must make the complete corresponding source code available to the users of that service.

インストール

TypingMind
{
  "mcpServers": {
    "ma3-mcp": {
      "command": "poetry",
      "args": [
        "run",
        "python",
        "-m",
        "ma3_mcp.server"
      ]
    }
  }
}

MA3-MCPのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度MA3-MCPに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

MA3-MCPをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. MA3-MCPのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "ma3-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてMA3-MCPのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. MA3-MCPのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
MA3-MCPを使ってこのタスクを手伝ってもらえますか?
MA3-MCP
はい、読みました。
MA3-MCPで調べた結果をお伝えします。

よくある質問

MA3-MCP MCPサーバーは何に使いますか?

MA3-MCPは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでMA3-MCP MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでMA3-MCPを利用できます。

TypingMindでMA3-MCP MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。MA3-MCPを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

MA3-MCP MCPをTypingMindに接続するにはどうすればよいですか?

MA3-MCPはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでMA3-MCP MCPのどのようなツールを利用できますか?

MA3-MCPはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

MA3-MCP MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。MA3-MCPで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇