diff --git a/src/mcmqtt/main.py b/src/mcmqtt/main.py index 73025ff..36a24b1 100644 --- a/src/mcmqtt/main.py +++ b/src/mcmqtt/main.py @@ -49,6 +49,35 @@ def create_mqtt_config_from_env() -> Optional[MQTTConfig]: return None +def show_startup_banner(): + """Display the mcmqtt startup banner with version and contributor info.""" + version = get_version() + + banner = f""" +╭─────────────────────────────────────────────────────────────────╮ +│ 🚀 mcmqtt FastMCP MQTT Server │ +│ │ +│ Version: {version:<20} Transport: FastMCP Protocol │ +│ │ +│ 📡 Features: │ +│ • Instant MQTT broker spawning │ +│ • Real-time agent coordination │ +│ • Production-ready infrastructure │ +│ • Global ecosystem connectivity │ +│ │ +│ 👥 Created by: │ +│ • Ryan Malloy │ +│ • Claude (Anthropic) │ +│ │ +│ 🌍 Repository: https://git.supported.systems/MCP/mcmqtt │ +│ 📦 PyPI: https://pypi.org/project/mcmqtt/ │ +│ │ +│ Built with ❤️ for the AI developer community │ +╰─────────────────────────────────────────────────────────────────╯ +""" + console.print(banner, style="cyan") + + def main_server( transport: str = typer.Option("stdio", "--transport", "-t", help="Transport mode: stdio (default) or http"), host: str = typer.Option("0.0.0.0", "--host", "-h", help="Host to bind the server to (HTTP mode only)"), @@ -62,6 +91,9 @@ def main_server( ): """mcmqtt FastMCP MQTT Server - Enabling MQTT integration for MCP clients.""" + # Show startup banner + show_startup_banner() + # Create MQTT configuration mqtt_config = None