Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

mqtt-cli

> 开发工具
Open source

MQTT CLI is a useful command line interface for connecting various MQTT clients supporting MQTT 5.0 and 3.1.1

361 stars0 likes0 views
WebsiteGitHub

About

MQTT CLI is a useful command line interface for connecting various MQTT clients supporting MQTT 5.0 and 3.1.1

Getting Started

  • Installation instructions
  • Building from source
  • Full documentation

Publish

  • Publish a message
  • Quick start: mqtt pub -t your-topic -m "your message" -h your-mqtt-broker.com
  • Further documentation

Subscribe

  • Subscribe to topics and receive output directly on the console
  • Quick start: mqtt sub -t your-topic -h your-mqtt-broker.com
  • Further documentation

Shell

  • Enter the mqtt-cli shell mode to access more MQTT functionality
  • Quick start: mqtt sh
  • Further documentation

Test

  • Run tests against a broker to find out its features and limitations
  • Quick start: mqtt test -h your-mqtt-broker.com
  • Further documentation

How to Contribute

  • If you want to request a feature or report a bug, please create a GitHub Issue using one of the provided templates
  • If you want to make a contribution to the project, please have a look at the contribution guide

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javacliiotjavamqtt

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具