Skip to content

Feature: Test MQTT Connection for ESP Device #25

Description

@maitiSoutrik

Add a new MCP tool test_mqtt_connection(broker_url: str, port: int, username: str, password: str) to validate MQTT broker connectivity.

Functionality:

  • Takes MQTT broker details (URL, port, optional username/password) as input.
  • Attempts to connect to the MQTT broker.
  • Publishes a test message to a topic and subscribes to confirm receipt (optional).
  • Returns connection status and any errors.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions