eWeLink MCP Server Setup Guide

With the release of eWeLink WEB V3.21, a new Prime-exclusive feature, MCP Server is now available. It enables AI clients to integrate with smart devices in the eWeLink ecosystem.

This guide walks you through generating your eWeLink MCP Server URL and configuring it inside an MCP-compatible AI client or AI coding companion tools, such as Cursor. Once connected, the AI client can query and control supported devices through natural-language instructions.

1. Generate your MCP Server URL in eWeLink Web (web.ewelink.cc)

1.1 Log in to eWeLink WEB, go to Tools → MCP Server.

1.2 Click Get URL and copy the generated MCP Server URL.

The URL is tied to your account and contains an authorization token. If unused, it remains valid for 30 days. Please store it securely to prevent unauthorized access.

1.3 URL Management(If need):

Refresh: Generate a new MCP Server URL if the current one becomes invalid.

Revoke Authorization: Immediately disable the current URL. All AI clients will lose access until a new one is generated and used correspondingly.

2. Configure the MCP Server in your AI client (example: Cursor)

2.1 Open Cursor.Go to Settings - Tools & MCP - Add New MCP Sever

2.2 Add a new remote server entry using the following JSON:

{

"mcpServers": {
 
 "ewelink": {

  "type": "http",

  "url": "***The eWeLink MCP server URL generated from eWeLink WEB tools***"

}

}

}

2.3 Save the configuration and open a new chat session. Enabling the “Auto” option in the toolbar is recommended. (Since different AI agent modes may vary in their support of MCP for now, “Auto ”helps select the most appropriate one.)

2.4 Here you may enter prompts such as: “How many devices do I have?” or “Turn on the living-room light.”

* Notes on Compatibility and Limitations

The current MCP Server supports only a subset of devices in this initial release. Unsupported devices will not be returned in device-query results, and their capabilities will not be accessible. More devices will be added in upcoming updates.

In addition, different AI agent mode may handle MCP tools with varying levels of compatibility. The same instruction may produce different outputs or fail in certain modes.

Does Claude Desktop for Mac function the same as Cursor when using MCP? Which is preferred?

–

4 Answers

4

Style over substance. Do I need “artificial intelligence” to turn off a light bulb? Perhaps we can engage in a philosophical discourse with artificial intelligence: “To turn it off or not, that is the question…” :wink:

I think the meaning or the debate is not "whether we need AI to turn off a bulb", it's about how we can leverage the capabilities if AI to make the smart gadgets really smart, especially the nature conversation, like we don't want to memorize all the names of the devices, just want to say i feel dark in the living room, then the AI turn on the light according the environment sensor detected.

–

Embrace the world of AI.

Maybe Sonoff's creators should discover this and finally start creating complete software thanks to artificial intelligence, instead of making endless promises and justifying themselves with "well, you know, it's Chinese New Year soon, but we'll deal with it later..." ;P

–

Aha, have you try new Alexa+ or Google Gemini in Home? we are working closely with them to take AI to smart speakers.

–

is it possible to connect Gemini or chatgpt?

I haven't check for Gemini to see if there have a MCP mode/connector, but we are working closely with Google smart home team to deliver the Gemini for Google home, as for GPT, they use a different way of MCP authorization, and we are on the developing stage to adapt to that.

–

Es posible conectarlo

–

The integration for Gemini still doesn’t fully work. You can control the device but you can’t read its status, such as on/off, temperature, humidity, or log data, such as when the door was closed or how many lights are on at home.

Qualcuno mi può spiegare in modo pratico come inserire l'URL generato su Gemini?

–