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-10-12
Health v2 · maintenance only
85/100
- Activity 97
- Release rhythm 60
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 147
- age_days: 3505
- days_rel: 111
- days_push: 20
- n_releases_24m: 4
Adoption not part of the score
5071 stars · 1154 forks observed · 2026-10-12
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-10-12 · 78b120b9c271
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dotnet/MQTTnet | main | 85 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem