Overview
What is Coreflux MQTT MCP Server?
An enterprise-grade Model Context Protocol (MCP) server that provides secure, scalable access to Coreflux MQTT brokers and comprehensive automation capabilities for Claude and other MCP-compatible AI assistants.
How to use Coreflux MQTT MCP Server?
Deploy with Docker using docker-compose up -d, or install manually by cloning the repository, installing dependencies, configuring the .env file, and running python server.py. Connect it to Claude Desktop by adding a JSON configuration to the Claude config file or using environment variables.
Key features of Coreflux MQTT MCP Server
- Seamless MQTT integration with full TLS support
- Full Coreflux API access (models, actions, rules, routes)
- LOT code generation via Coreflux Copilot API
- Dynamic discovery of available actions
- Comprehensive health monitoring and system checks
- Async processing with rate limiting and queue management
- Structured logging with rotation and security sanitization
Use cases of Coreflux MQTT MCP Server
- Querying and controlling Coreflux MQTT brokers through an AI assistant
- Generating and deploying LOT automation code with natural language
- Monitoring system health and performing diagnostics via Claude
- Managing MQTT topics and messages from a conversational interface
- Automating industrial IoT workflows using AI-driven commands
FAQ from Coreflux MQTT MCP Server
What is this server used for?
It connects Claude (or other MCP-compatible AIs) to Coreflux MQTT brokers, enabling secure messaging, automation, and system management through natural language commands.
How do I connect Claude to this server?
Add an entry to claude_desktop_config.json specifying the command (python), path to server.py, and environment variables for MQTT broker credentials and optional Copilot API key.
What are the prerequisites?
Python 3.11 or higher, access to a Coreflux MQTT broker, and optionally Docker and a Coreflux Copilot API key for AI assistance.
How can I deploy it?
Recommended deployment uses Docker Compose (docker-compose up -d). For development, you can install dependencies and run python server.py directly after configuring .env.
What MCP tools does it provide?
publish_to_coreflux (publish MQTT messages), get_broker_info (broker details), copilot_assist (AI assistance/code generation), and comprehensive_health_check (system health).