mcp-husqvarna-automower

mcp-husqvarna-automower

1

The Husqvarna Automower MCP Server is designed to interface with the Husqvarna connected automower API, allowing for real-time status queries of automowers. It uses the Model Context Protocol to provide comprehensive status updates sourced from the official Husqvarna API.

Husqvarna Automower MCP Server

A Model Context Protocol (MCP) server that provides access to Husqvarna connected automower API, allowing AI assistants to query information about your automower status.

This calls the husqvarna remote API. You need to create credentials at https://developer.husqvarnagroup.cloud

Features

Returns full status from Husqvarna Automowers as specified in their API

Prerequisites

You need a ClientID and ClientSecret generated through the Husqvarna developer portal

  1. Go to https://developer.husqvarnagroup.cloud
  2. Sign up/sign in
  3. Go to My Applications at https://developer.husqvarnagroup.cloud/applications
  4. Click "Create App", enter a name, leave localhost, click create
  5. You will receive an Application Key (ClientID) and Application Secret (ClientSecret)

Available Tools

husqvarna_automowers_status

Get detailed information about all automowers.

Parameters:

None

With Docker

The easiest way is with docker. Make sure Docker Desktop is running, then run: docker build -t husqvarna-automower .

Then in Claude Desktop or your favorite MCP Client

{
  "mcpServers": {
    "automower": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "HUSQVARNA_CLIENT_ID",
        "-e",
        "HUSQVARNA_CLIENT_SECRET",
        "am"
      ],
      "env": {  
        "HUSQVARNA_CLIENT_ID": "YourClientID",
        "HUSQVARNA_CLIENT_SECRET": "YoutClientSecret"
      }
    }
  }
}

With a golang environement, without Docker

If not using Docker, you will need a Go development environment then go build *.go -o husqvarna-automower

Then in Claude Desktop or your favorite MCP Client:

{
  "mcpServers": {
    "automower": {
      "command": "husqvarna-automower",
      "env": {  
        "HUSQVARNA_CLIENT_ID": "YourClientID",
        "HUSQVARNA_CLIENT_SECRET": "YoutClientSecret"
      }
    }
  }
}