[GH-ISSUE #342] Ability to connect to a MQTT broker #127

Closed
opened 2026-03-16 13:35:53 +03:00 by kerem · 11 comments
Owner

Originally created by @debjeetsarkar on GitHub (Nov 26, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/342

Originally assigned to: @rahulnpadalkar on GitHub.

Is your feature request related to a problem? Please describe.
There is no comprehensive tooling while working with MQTT brokers.

Describe the solution you'd like
A simple interface to connect to an MQTT broker.
Subscribe to topics
Publish to topics

Describe alternatives you've considered
MQTT Lens

Originally created by @debjeetsarkar on GitHub (Nov 26, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/342 Originally assigned to: @rahulnpadalkar on GitHub. **Is your feature request related to a problem? Please describe.** There is no comprehensive tooling while working with MQTT brokers. **Describe the solution you'd like** A simple interface to connect to an MQTT broker. Subscribe to topics Publish to topics **Describe alternatives you've considered** MQTT Lens
kerem 2026-03-16 13:35:53 +03:00
Author
Owner

@liyasthomas commented on GitHub (Nov 26, 2019):

Will consider implementing this 👍

<!-- gh-comment-id:558506333 --> @liyasthomas commented on GitHub (Nov 26, 2019): Will consider implementing this 👍
Author
Owner

@liyasthomas commented on GitHub (Nov 26, 2019):

@debjeetsarkar can you provide a MQTT server address for testing?

<!-- gh-comment-id:558511416 --> @liyasthomas commented on GitHub (Nov 26, 2019): @debjeetsarkar can you provide a MQTT server address for testing?
Author
Owner

@debjeetsarkar commented on GitHub (Nov 26, 2019):

@liyasthomas , for testing we can use the following:
server: mqtt.eclipse.org
port: 1883

<!-- gh-comment-id:558515628 --> @debjeetsarkar commented on GitHub (Nov 26, 2019): @liyasthomas , for testing we can use the following: server: mqtt.eclipse.org port: 1883
Author
Owner

@NBTX commented on GitHub (Nov 26, 2019):

It is impossible to work with raw TCP sockets in the browser (this would require a standalone application - though could be implemented with the proxy), however you can use a websocket implementation in postwoman: https://postwoman.io/realtime

<!-- gh-comment-id:558683090 --> @NBTX commented on GitHub (Nov 26, 2019): It is impossible to work with raw TCP sockets in the browser (this would require a standalone application - though could be implemented with the proxy), however you can use a websocket implementation in postwoman: https://postwoman.io/realtime
Author
Owner

@debjeetsarkar commented on GitHub (Nov 26, 2019):

MQTT can communicate over WebSockets and the current implementation of PW works fine to connect to a broker (Example: wss://test.mosquitto.org:8081). However, the only thing missing is the UI ability to publish/subscribe to topics. Since these actions require sending Mqtt messages itself, it will be very useful to allow doing the same via UI.

Something similar to MQTTLens in chrome store.

<!-- gh-comment-id:558700229 --> @debjeetsarkar commented on GitHub (Nov 26, 2019): MQTT can communicate over WebSockets and the current implementation of PW works fine to connect to a broker (Example: wss://test.mosquitto.org:8081). However, the only thing missing is the UI ability to publish/subscribe to topics. Since these actions require sending Mqtt messages itself, it will be very useful to allow doing the same via UI. Something similar to MQTTLens in chrome store.
Author
Owner

@liyasthomas commented on GitHub (Nov 26, 2019):

I think this could be implemented.

<!-- gh-comment-id:558701037 --> @liyasthomas commented on GitHub (Nov 26, 2019): I think this could be implemented.
Author
Owner

@NBTX commented on GitHub (Nov 26, 2019):

image
I see, I was looking at this page and pointing out that the raw TCP (1883 and 8883) could not be implemented.

If all you need is a better interface / UX for working with Mqtt, that's easy enough to implement.

<!-- gh-comment-id:558703734 --> @NBTX commented on GitHub (Nov 26, 2019): ![image](https://user-images.githubusercontent.com/43181178/69651424-ac678d00-1035-11ea-9d2a-5957795a4a17.png) I see, I was looking at this page and pointing out that the raw TCP (1883 and 8883) could not be implemented. If all you need is a better interface / UX for working with Mqtt, that's easy enough to implement.
Author
Owner

@rahulnpadalkar commented on GitHub (Mar 8, 2020):

I would like to contribute.

<!-- gh-comment-id:596182151 --> @rahulnpadalkar commented on GitHub (Mar 8, 2020): I would like to contribute.
Author
Owner

@liyasthomas commented on GitHub (Mar 8, 2020):

Here is a Vue example with MQTT server. We can clone this: https://codepen.io/fenwick/pen/XjZPPj

@rahulnpadalkar shall I assign this to you?

<!-- gh-comment-id:596182629 --> @liyasthomas commented on GitHub (Mar 8, 2020): Here is a Vue example with MQTT server. We can clone this: https://codepen.io/fenwick/pen/XjZPPj @rahulnpadalkar shall I assign this to you?
Author
Owner

@rahulnpadalkar commented on GitHub (Mar 8, 2020):

Yes sure!

<!-- gh-comment-id:596183758 --> @rahulnpadalkar commented on GitHub (Mar 8, 2020): Yes sure!
Author
Owner

@95jinhong commented on GitHub (Jul 17, 2025):

Hi, @liyasthomas

I'm using Hopscotch 2025.06 and I have the desktop version installed and using it.
In the official documentation, it seems to support only ws and wss for MQTT.
Maybe it doesn't support TCP-based mqtts yet?

Cheers,
Hong

<!-- gh-comment-id:3082948030 --> @95jinhong commented on GitHub (Jul 17, 2025): Hi, @liyasthomas I'm using Hopscotch 2025.06 and I have the desktop version installed and using it. In the official documentation, it seems to support only ws and wss for MQTT. Maybe it doesn't support TCP-based mqtts yet? Cheers, Hong
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#127
No description provided.