dotnet/MQTTnet
MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/. observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 96
- Release rhythm 67
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 131.0
- age_days: 3457
- days_rel: 63
- days_push: 24
- n_releases_24m: 5
Adoption not part of the score
5062 stars · 1154 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
MQTTnet is a high-performance .NET library implementing the MQTT protocol (up to version 5), providing both an MQTT client and an embedded MQTT server (broker). It supports TCP, TLS, and WebSocket channels with a uniform async API across .NET Framework, .NET Core, and UWP.
Use cases
- connect IoT devices to an MQTT broker from .NET
- embed an MQTT broker in a .NET application
- publish and subscribe to MQTT topics with QoS support
- communicate with Azure IoT Hub over MQTT
- build a lightweight pub/sub messaging layer in C#
When to choose
- you need MQTT client or broker functionality in any .NET application
- you want high message throughput with no external dependencies
- you need support for MQTT 3.1.1 and 5.0 in one API
- you want automatic connection and subscription management via ManagedMqttClient
When to avoid
- you need a standalone production broker with clustering and persistence out of the box
- your project is not on a .NET platform
- you need an MQTT server on UWP with TLS, which is unsupported
Facets
library · maturity active
message-queue networking websocket sdk iot microservices developer-tools dotnet cross-platform windows mqtt mqtt-client mqtt-broker iot-communication tls pubsub csharp messaging linux macos
1 source
- readme: https://github.com/dotnet/MQTTnet · fetched 2026-08-28 · 78b120b9c271
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dotnet/MQTTnet | main | 87 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem