MA3-MCP logo

MA3-MCP

Community
Pahegi

MCP server for controlling grandMA3 lighting consoles via AI assistants

PublisherPahegi
Repositoryma3-mcp
LanguageLua
Forks
7
Stars
32
Available tools
0
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    MA3-MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    32 stars and 7 forks from the linked repository.

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.

Installation

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

Use MA3-MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once MA3-MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add MA3-MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the MA3-MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "ma3-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the MA3-MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the MA3-MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use MA3-MCP to help me with this task?
MA3-MCP
Sure. I read it.
Here is what I found using MA3-MCP.

Frequently asked questions

What is the MA3-MCP MCP server used for?

MA3-MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use MA3-MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use MA3-MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use MA3-MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With MA3-MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect MA3-MCP MCP to TypingMind?

MA3-MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does MA3-MCP MCP provide in TypingMind?

MA3-MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use MA3-MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If MA3-MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇