Requirements

  • Docker
  • Python 3.8+
  • Meshagent CLI
  • Husqvarna Automower API credentials

Required Environment Variables

  • HUSQVARNA_CLIENT_ID - Your Husqvarna API client ID
  • HUSQVARNA_CLIENT_SECRET - Your Husqvarna API client secret

Steps

  1. Install Meshagent and dependencies
    pip install "meshagent[all]"
    
  2. Sign up and authenticate
  3. Run the MCP server as an agent within a Meshagent room
    meshagent service test \
      --room=test \
      --role=agent \
      --image=meshagent/mcp-husqvarna-automower:latest \
      --env MESHAGENT_PORT=8001 \
      --env HUSQVARNA_CLIENT_ID=YOUR_CLIENT_ID_HERE \
      --env HUSQVARNA_CLIENT_SECRET=YOUR_CLIENT_SECRET_HERE \
      --port="num=8001 path=/webhook liveness=/ type=meshagent.callable" \
      --name=mcp-husqvarna-automower-service
    
    • This command starts the Husqvarna Automower MCP server in the cloud, wrapped in a Meshagent room.
    • Note: The room will close if there is no activity.
  4. Join the room with a chatbot that can use the Automower toolkit
    meshagent chatbot join \
      --room=test \
      --agent-name=sample \
      --name=sample \
      --toolkit=mcp-husqvarna-automower
    
    • This starts a chatbot inside the room with access to the Husqvarna Automower tool(s).
    • You can use multiple toolkits in the same room with the same agent.
    • After running this command, you’ll receive a web link to interact with your meshagent room, agent, and tools.

Tools Available

Tools Provided

ToolShort Description
Husqvarna Automowers StatusGet status of my husqvarna automowers

Tool: Husqvarna Automowers Status

Get status of my husqvarna automowers


Meshagent Resources