mcmqtt/mosquitto.conf
Ryan Malloy 8ab61eb1df 🚀 Initial release: mcmqtt FastMCP MQTT Server v2025.09.17
Complete FastMCP MQTT integration server featuring:

 Core Features:
- FastMCP native Model Context Protocol server with MQTT tools
- Embedded MQTT broker support with zero-configuration spawning
- Modular architecture: CLI, config, logging, server, MQTT, MCP, broker
- Comprehensive testing: 70+ tests with 96%+ coverage
- Cross-platform support: Linux, macOS, Windows

🏗️ Architecture:
- Clean separation of concerns across 7 modules
- Async/await patterns throughout for maximum performance
- Pydantic models with validation and configuration management
- AMQTT pure Python embedded brokers
- Typer CLI framework with rich output formatting

🧪 Quality Assurance:
- pytest-cov with HTML reporting
- AsyncMock comprehensive unit testing
- Edge case coverage for production reliability
- Pre-commit hooks with black, ruff, mypy

📦 Production Ready:
- PyPI package with proper metadata
- MIT License
- Professional documentation
- uvx installation support
- MCP client integration examples

Perfect for AI agent coordination, IoT data collection, and
microservice communication with MQTT messaging patterns.
2025-09-17 05:46:08 -06:00

51 lines
968 B
Plaintext

# Mosquitto MQTT Broker Configuration for mcmqtt
# Listeners
listener 1883 0.0.0.0
protocol mqtt
# WebSocket support
listener 9001 0.0.0.0
protocol websockets
# Persistence
persistence true
persistence_location /mosquitto/data/
# Logging
log_dest file /mosquitto/log/mosquitto.log
log_dest stdout
log_type error
log_type warning
log_type notice
log_type information
log_timestamp true
# Connection settings
keepalive_interval 60
max_keepalive 65535
# Message settings
max_packet_size 268435456
message_size_limit 268435456
# Security (development settings - adjust for production)
allow_anonymous true
# Auto-save interval (seconds)
autosave_interval 1800
# Connection limits
max_connections -1
max_inflight_messages 20
max_queued_messages 1000
# Will delay interval
max_inflight_bytes 0
upgrade_outgoing_qos false
# Bridge configuration (if needed for external brokers)
# connection bridge_name
# address external_broker:1883
# topic # out 0
# topic # in 0