HUSKYLENS 2 MCP Server

The article provides a comprehensive guide on setting up the HUSKYLENS 2 MCP Server, detailing system requirements, WiFi setup, API key registration, and Cherry Studio configuration. It explains how to activate the MCP service, connect the AI camera to a computer, and utilize the available tools for object tracking and multimedia control, offering an integrated solution for AI-driven camera applications.

MCP Server

Before using MCP, make sure the system version is V1.1.6 or above. To check or upgrade the system version, please refer to the Firmware Upgrade section.

Ensure that the WiFi module is properly inserted and connected to a WiFi network. For instructions on connecting to WiFi, see the System Settings – WiFi section.

Swipe the screen to find MCP Service, tap to enter, and turn on the switch.
Once enabled, a URL such as "http://192.168.xx.xx:3000/sse" will appear — this is used for client connection.

Interface Diagram

1.Get the LLM API Key

Here, Google Gemini is used as an example.

Register, Login and Create API: Google AI Studio

Interface Diagram

Record this API Key

2.Cherry Studio Configuration

  1. Download and install Cherry Studio Click to download.

  2. Cherry Studio offers two default layouts. All tutorials use the following layout: Go to 'Setting - Display Setting', set the navbar position as left.

    Interface Diagram

  3. Find Model Provider , search for Gemini in the search box, switch it on.

    Interface Diagram

  4. Input the API key you get from above step , API host is https://generativelanguage.googleapis.com.

    Interface Diagram

  5. Scroll down to the bottom of this page, click + Add.

    Interface Diagram

  6. Type in gemini-2.5-flash for model ID, click on Add model.

    Interface Diagram

  7. Scroll back to the top, click check and choose gemini-2.5-flash in the search box.

    Interface Diagram

  8. Click OK and wait for the verification to pass. If verification fails, please check your API key and API host address.

    Interface Diagram

  9. Enter MCP setting, click Add -Quick Create.

    Interface Diagram

  10. You can enter any name. The URL is the one displayed on the HUSKYLENS 2 screen (located at the very beginning of the MCP tutorial section). Click Save.

    Interface Diagram

  11. Ensure the HUSKYLENS 2 and computer are connected to the same WiFi network, then click to turn it on. After successful activation, you will see four tools displayed in the toolbar. If no tools appear in the toolbar, this indicates startup failure. Check the network connection and verify that the HUSKYLENS 2 has enabled the MCP service, then restart both Cherry Studio and the HUSKYLENS 2.

    Interface Diagram

  12. Return to the chat mode and click the model selection.

    Interface Diagram

  13. Search and choose gemini-2.5-flash

    Interface Diagram

  14. Find the small hammer icon below the chat box and select the HUSKYLENS 2 tool.

    Interface Diagram

  15. You can now chat normally and interact with HUSKYLENS.

    Interface Diagram

    Interface Diagram

    Interface Diagram

    Interface Diagram

3.MCP Tools description

Currently, the HUSKYLENS 2 MCP service offers four tools accessible via the following dialog. These tools are still undergoing optimization and currently provide only basic functionality.
With Cherry Studio, you can use them very conveniently and link multiple MCP services together. Feel free to explore them together.

  1. manage_applications

    • What models/algorithms are currently available?
    • Switch to object tracking algorithm (supports fuzzy recognition; e.g., "face detection" command will auto-switch to "face recognition" if needed).
    • What algorithm is currently running?
  2. multimedia_control

    • Take photo
  3. get_recognition_result

    • What do you see?
    • Tell me where is the keyboard?
  4. task_scheduler

    • Take a photo when the keyboard is detected (capture once on appearance; recapture only if it reappears after disappearing; stored in USB drive system's photo folder).

Was this article helpful?

TOP