Skip to content

Arrange an EspControl Dashboard with AI ​

Use your AI assistant to arrange cards on your EspControl display. Connect Home Assistant to find the right devices for each room. Start a local AI session that can reach both over your home network or private VPN.

Connect your AI assistant ​

  1. On your display, open System > MCP Server and turn on Allow AI layout access. It’s off by default.
  2. Open Setup prompt, select Copy prompt, and paste it into your AI assistant. For manual setup, open Manual setup, select Copy URL, and add it to your AI client as espcontrol using Streamable HTTP.
  3. Ask your assistant what’s on the display. On the S3, close the display’s settings tab before testing the connection.

If you connected an earlier build, use Copy URL to update the server address in your AI client.

Choose your AI client ​

Codex (ChatGPT desktop app, CLI or IDE)

In the ChatGPT desktop app, go to Settings > MCP servers > Add server. Choose Streamable HTTP, enter the name and URL, then save and restart.

For the CLI or IDE, add this entry to ~/.codex/config.toml (%USERPROFILE%\.codex\config.toml on Windows). Use your display’s URL.

toml
[mcp_servers.espcontrol]
url = "PASTE_DISPLAY_URL_HERE"

Check the connection with /mcp. Codex MCP configuration

Claude Code

Add this entry to your project’s .mcp.json using your display’s URL. Approve the server when prompted, then check it with /mcp. Claude Code MCP configuration

json
{
  "mcpServers": {
    "espcontrol": {
      "type": "http",
      "url": "PASTE_DISPLAY_URL_HERE"
    }
  }
}
GitHub Copilot in VS Code

Open Chat: Open Customizations > MCP Servers from the Command Palette. Add an HTTP server and save it under Global > Copilot Global. VS Code setup

Cursor

In your personal ~/.cursor/mcp.json, add an espcontrol entry under mcpServers. Set url to the display’s Server URL, then check the server in Customize. Cursor MCP configuration

Google Antigravity

Open the MCP configuration for your Antigravity client. In your personal mcp_config.json, add an espcontrol entry under mcpServers. Set serverUrl to the display’s Server URL and reload the client.

ChatGPT on the web

For a display on your local network, use a local Codex session. ChatGPT custom MCP requirements

Claude on the web

For a display on your local network, use a local Claude Code session. Claude remote connector requirements

Connect Home Assistant for room and entity information ​

  1. In Home Assistant, go to Settings > System > AI and enable Model Context Protocol. If it’s missing, add the integration under Settings > Devices & services. Home Assistant MCP setup
  2. Select Configure next to Main URL. Turn off Expose all AI tools, choose Device control, and turn on Read-only. Save and copy the Main URL, which ends in /api/mcp. MCP options
  3. In the same AI client, add the URL as a second Streamable HTTP server named homeassistant. Sign in when prompted. Home Assistant client examples
  4. Assign your devices to areas such as Living Room, and make the relevant entities available to Assist under Settings > Voice assistants > Expose. Entity exposure

Build a room dashboard ​

Set up this display to show controls for the living room.

Make the Lights card wider.

If your assistant gives you a review link, open it and select Apply layout when you’re ready. For a missing card, use the display’s Layout tab to add it with the verified Home Assistant entity ID. Card types