mosquitto

Administer Eclipse Mosquitto MQTT brokers with installation, configuration, authentication, TLS, ACLs, bridging, and WebSocket listeners.

6|1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/L3DigitalNet/Claude-Code-Plugins --skill mosquitto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mosquitto
Source: https://github.com/L3DigitalNet/Claude-Code-Plugins/tree/main/plugins/linux-sysadmin/skills/mosquitto
Command: npx skills add https://github.com/L3DigitalNet/Claude-Code-Plugins --skill mosquitto

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill simplifies the complex task of managing Eclipse Mosquitto MQTT brokers, ensuring reliable and secure message brokering for IoT and messaging applications.

Core Features & Use Cases

  • Installation & Configuration: Guides through setting up Mosquitto, including authentication and TLS.
  • Operational Management: Provides commands for checking status, publishing/subscribing, and monitoring broker health.
  • Troubleshooting: Offers solutions for common connection, authorization, and configuration issues.
  • Use Case: Securely configure your Mosquitto broker for TLS connections, set up user authentication, and troubleshoot why new clients cannot connect.

Quick Start

Check the status of the mosquitto service on your system.

Frequently Asked Questions about mosquitto

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure an MQTT broker for TLS connections and user authentication?

To configure an MQTT broker for TLS, you need to set up certificates and modify the Mosquitto configuration file to enable secure authentication and encrypted client connections. This involves defining listener ports and specifying certificate paths.

Why are my MQTT clients unable to connect to the Mosquitto broker?

MQTT clients fail to connect to the Mosquitto broker due to misconfigured authentication, restrictive ACL rules, or network errors. Troubleshooting involves checking broker logs, verifying password files, and ensuring clients have correct network access.

What's the best way to manage access control lists for an IoT messaging broker?

The best way to manage IoT messaging broker access control lists is by defining topic patterns and client permissions in the Mosquitto configuration file. This restricts publish and subscribe actions to authorized clients only.

Can I set up WebSocket listeners on an Eclipse Mosquitto broker?

Yes, you can set up WebSocket listeners on an Eclipse Mosquitto broker by adding a specific listener port configuration with the websockets protocol. This allows web-based IoT clients to connect and exchange messages directly.

How do I bridge two Mosquitto MQTT brokers together?

To bridge two Mosquitto MQTT brokers together, configure a connection block in the primary broker's configuration file specifying the remote broker's address, topic mappings, and authentication details to forward messages seamlessly.

Do I need Linux system administration knowledge to install and manage a Mosquitto broker?

Yes, Linux system administration knowledge is required to install and manage a Mosquitto broker. You must navigate the file system, manage background services, edit configuration files, and set file permissions for secure operation.