Indigo MCP Server Plugin
A Model Context Protocol (MCP) server plugin that enables AI assistants like Claude to interact with your Indigo home
automation system through natural language queries.
What It Does
Search, analyze, and control your Indigo devices using natural language:
- "Find all light switches in the bedroom"
- "Show me temperature sensors"
- "Turn on the garage lights"
- "What devices are currently on?"
- "Execute the bedtime scene"
Requirements
- Indigo Domotics: 2024.2 or later
- macOS: 10.15 (Catalina) or later
- CPU: Intel Mac (2013+) or Apple Silicon (M1/M2/M3/M4)
- Note: LanceDB (used for vector search) requires AVX2 CPU instructions
- Most Intel Macs from 2013 onwards support AVX2
- All Apple Silicon Macs are fully supported
- Node.js: Required for MCP client connection (Download)
- Provides
npx command used by Claude Desktop configuration
- Install via Homebrew: brew install node
- Or download from nodejs.org
- Claude Desktop: Primary MCP client (ChatGPT support coming to Plus plan)
- OpenAI API Key: Required for semantic search (Get API key)
- Sends device metadata to OpenAI for embeddings (minimal cost)
- Only device names, types, descriptions sent - no sensitive data
Installation
- Install Node.js: If not already installed, install Node.js for
npx command
- Via Homebrew:
brew install node
- Or download from nodejs.org
- Verify installation:
npx --version
- Install Plugin: Add MCP Server plugin to Indigo via Plugin Manager
- Configure Plugin: Enter OpenAI API key in plugin preferences
- Create MCP Server Device: Add new "MCP Server" device in Indigo
- Wait for Indexing: Plugin will index your Indigo database (takes time on first run)
- Configure Claude Desktop: Add configuration to
claude_desktop_config.json
Optional Features
- InfluxDB Connection information: Required for historical data analysis queries
- LangSmith: Optional debugging and tracing of AI prompts. Not needed for most people.
MCP Server Device Setup
The MCP Server Indigo device is what creates the actual MCP Server.
- Server Access: Configured via MCP Server device in Indigo
- Single Server: Plugin enforces one MCP Server device per installation
Authentication & Security
⚠️ IMPORTANT: All MCP connections require authentication using an Indigo API key as a Bearer token.
How to obtain API keys:
- Local/LAN access: Create a
secrets.json file
with local secrets
- Location: /Library/Application Support/Perceptive Automation/Indigo [VERSION]/Preferences/secrets.json
- See documentation link above for JSON format details
- Note: Restart Indigo Web Server after creating/modifying this file
- Remote access: Use your Indigo Reflector API key from your Reflector settings
Claude Desktop / MCP Client Configuration
For Claude Desktop -- Add one of the following configurations to
~/Library/Application Support/Claude/claude_desktop_config.json based on your use case:
In all cases, you will need an API Key. For this, you have two choices:
- Indigo Reflector API Key: Obtained from your Reflector settings
- Local Secret: Created in
secrets.json file (
see documentation)
Scenario 1: HTTPS via Reflector (Most Common, Enables remote access outside your home)
Use when:
- Accessing Indigo from outside your local network
- Security: Encrypted connection with valid SSL certificate
{
"mcpServers": {
"indigo": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://your-reflector-url.indigodomo.net/message/com.vtmikel.mcp_server/mcp/",
"--header",
"Authorization:Bearer YOUR_REFLECTOR_API_KEY"
]
}
}
}
Setup:
- Configure Indigo Reflector in Web Server Settings
- Use your Reflector API key
- Replace
your-reflector-url.indigodomo.net with your actual Reflector URL
- Replace
YOUR_REFLECTOR_API_KEY with your Reflector API key
Scenario 2: HTTPS on LAN with Self-Signed Certificate
{
"mcpServers": {
"indigo": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://your-local-hostname-or-ip:8176/message/com.vtmikel.mcp_server/mcp/",
"--header",
"Authorization:Bearer YOUR_LOCAL_SECRET_KEY"
],
"env": {
"NODE_TLS_REJECT_UNAUTHORIZED": "0"
}
}
}
}
Setup:
- Create a local secret (
see local secrets documentation)
- Create/edit:
/Library/Application Support/Perceptive Automation/Indigo [VERSION]/Preferences/secrets.json
- Restart Indigo Web Server after modifying
- Replace
your-local-hostname-or-ip with your Indigo server IP/hostname
- Replace
YOUR_LOCAL_SECRET_KEY with your generated local secret
NODE_TLS_REJECT_UNAUTHORIZED=0 disables certificate validation (required for self-signed certs)
- Replace port 8176 if you are not using the default Indigo Web Server port
Scenario 3: HTTP on Local/LAN
If you have HTTPS disabled on your Indigo Web Server.
{
"mcpServers": {
"indigo": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"http://your-local-hostname-or-ip:8176/message/com.vtmikel.mcp_server/mcp/",
"--allow-http",
"--header",
"Authorization:Bearer YOUR_LOCAL_SECRET_KEY"
]
}
}
}
Setup:
- Create a local secret (
see local secrets documentation)
- Create/edit:
/Library/Application Support/Perceptive Automation/Indigo [VERSION]/Preferences/secrets.json
- Restart Indigo Web Server after modifying
- Replace
YOUR_LOCAL_SECRET_KEY with your generated local secret
- Replace
your-local-hostname-or-ip with your server IP/hostname for LAN access
- Replace port 8176 if you are not using the default Indigo Web Server port
Available Tools
Search and Query
- search_entities: Natural language search across devices, variables, action groups
- list_devices: Get all devices with optional state filtering
- list_variables: Get all variables with current values
- list_action_groups: Get all action groups/scenes
- list_variable_folders: Get all variable folders with IDs
- get_devices_by_state: Find devices by state conditions
- get_devices_by_type: Get devices by type (dimmer, relay, sensor, etc.)
- get_device_by_id: Get specific device by exact ID
- get_variable_by_id: Get specific variable by exact ID
- get_action_group_by_id: Get specific action group by exact ID
Control
- device_turn_on/off: Control device power state
- device_set_brightness: Set dimmer brightness (0-100 or 0-1)
- variable_create: Create new variable with optional value and folder
- variable_update: Update variable values
- action_execute_group: Execute action groups/scenes
System
- query_event_log: Query recent Indigo server event log entries
- list_plugins: List all installed Indigo plugins
- get_plugin_by_id: Get specific plugin information by ID
- restart_plugin: Restart an Indigo plugin
- get_plugin_status: Check plugin status and details
Analysis
- analyze_historical_data: AI-powered historical analysis for devices and variables (requires InfluxDB)
Improving Results
- Be Specific: Use location and device type in queries
- Device Notes: Add descriptions to device Notes field - included in AI context
- State vs Search: Use
list_devices({"onState": true}) for state queries vs search_entities("lights")
Privacy & Security
Data Sent to OpenAI
When you first install the plugin and when devices are added or modified, the following device information is sent to
OpenAI to create semantic search capabilities:
For Devices:
- Device name
- Device description (Notes field)
- Device model
- Device type (dimmer, sensor, etc.)
- Device address
For Variables:
- Variable name
- Variable description
For Action Groups:
- Action group name
- Action group description
What is NOT sent:
- Device states or current values
- URLs, passwords, or authentication credentials
- IP addresses or network configuration
- Historical data or usage patterns
This data is used only to generate embeddings (mathematical representations) that enable natural language search. The
embeddings are stored locally on your Indigo server.
Network Security
- Authentication Required: All MCP connections require Bearer token authentication with Indigo API keys
- Local Access: HTTP on localhost/LAN is secure (traffic never leaves local network)
- Remote Access: Use Indigo Reflector for secure remote access with HTTPS and valid SSL certificates
- Self-Signed Certificates: If using HTTPS on LAN, set
NODE_TLS_REJECT_UNAUTHORIZED=0 (see Scenario 3 above)
Support
| v2025.0.2 |
Requires Indigo v2024.2.0+
|
Released Nov. 6, 2025 |
v2025.0.2 |
Changes in this release
Enhancements and Bug Fixes
Fixed
- Configuration Save Error: Fixed AttributeError when saving plugin configuration (#4)
- Removed obsolete server restart calls from when MCP ran as separate process
- MCP server now runs via Indigo Web Server and doesn't require restart on config changes
- Configuration changes take effect on next MCP request
Technical Details
- Removed non-existent
_restart_mcp_server_from_device() method calls
- Updated success messages to clarify config behavior
- Environment variables are updated immediately without server restart
Fixes https://github.com/mlamoure/indigo-mcp-server/issues/4