Aqara MCP Server

Aqara's official MCP Server

Local serverstdioGo

What is the Aqara MCP Server?

Aqara's official MCP Server

What the server does

The recommended MCP integration today centers on Aqara Agent:

  • 🔍 Flexible device queries: Query device basics, real-time status, and control logs by home/space, device type, or device ID
  • ✨ Comprehensive device control: Control power, brightness, color temperature, temperature, fan speed, mode, curtain percentage, and more on Aqara devices
  • 🎬 Smart scene management: Query and run scenes, and review scene execution history
  • ⏰ Automation queries: Query automation rules and their execution history
  • 📈 Energy statistics: Query electricity usage and cost by room/space or device, with aggregated and detailed views
  • 💡 Lighting effect management: Query lighting scenarios/effects, apply specified effects, and query effect configuration parameters

Credentials and setup notes

  • An Aqara account with registered smart devices. - An application that supports remote MCP, such as Cursor or Codex App. - Aqara Agent credentials: aqara_api_key and aqara_mcp_url from the login page.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
all_homes_inquiry
position_base_inquiryQuery basic information for all rooms/spaces in the current home.
device_base_inquiryQuery device basic information by room/space and device type, without real-time status.
device_status_inquiryQuery real-time device status such as power, brightness, color temperature, temperature, fan speed, and mode.
device_status_controlControl state or attributes of specified devices, such as power, brightness, color temperature, temperature, fan speed, mode, and curtain percentage.
fuzzy_device_batch_controlBatch-control devices by room/space and device type—for example, “turn off all lights,” “turn off everything in the living room,” or “set all AC units to 26°.”
device_log_inquiryQuery device control logs within a time range, including control time, content, and result.
scene_base_inquiryQuery scene basic information, filterable by scene ID, position ID, or device ID.
scene_run

How to install the Aqara MCP Server

{
     "mcpServers": {
       "aqara": {
         "type": "http",
         "url": "https://agent.aqara.com/open/mcp",
         "headers": {
           "Authorization": "Bearer <YOUR_AQARA_API_KEY>"
         }
       }
     }
   }

Configuration as documented by the project. Restart the client after saving.

Configuration

  • An Aqara account with registered smart devices. - An application that supports remote MCP, such as Cursor or Codex App. - Aqara Agent credentials: aqara_api_key and aqara_mcp_url from the login page.
VariableDescriptionRequired
AQARA_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Aqara to Scenes.”
  • “Use Aqara to Automations.”
  • “Use Aqara to Firmware.”

Frequently asked questions

Aqara's official MCP Server Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.