Coreflux MCP Server logo

Coreflux MCP Server

by CorefluxCommunity

The Coreflux MCP Server connects to a Coreflux MQTT broker, providing tools for Claude and other MCP-compatible AI assistants to interact with Coreflux actions. It leverages the Model Context Protocol (MCP) to enable seamless integration and control of Coreflux commands.

View on GitHub

Last updated: N/A

What is Coreflux MCP Server?

The Coreflux MCP Server is a bridge between Coreflux MQTT broker and AI assistants like Claude, enabling them to execute Coreflux commands through the Model Context Protocol (MCP). It provides a set of tools for managing models, actions, rules, and routes within the Coreflux environment.

How to use Coreflux MCP Server?

To use the server, configure it to connect to your Coreflux MQTT broker using the interactive setup assistant or command-line arguments. Then, configure your Claude desktop application to connect to the server using the provided configuration snippet. Once connected, Claude can use the available tools to interact with your Coreflux environment.

Key features of Coreflux MCP Server

  • Connects to Coreflux MQTT broker

  • Provides tools for all Coreflux commands (models, actions, rules, routes)

  • Discovers and lists available actions

  • Includes LOT language documentation as resources

  • Built with the official MCP SDK for seamless Claude integration

  • Interactive setup assistant for first-time configuration

Use cases of Coreflux MCP Server

  • Automating Coreflux model management through AI assistants

  • Integrating Coreflux actions into AI-driven workflows

  • Controlling Coreflux rules and routes using natural language commands

  • Generating LOT code based on natural language prompts

FAQ from Coreflux MCP Server

How do I configure the server?

Use the interactive setup assistant or configure the .env file with your MQTT broker settings.

How do I connect Claude to the server?

Add the server configuration to your claude_desktop_config.json file.

What if I encounter connection issues?

Verify your MQTT broker credentials, ensure the broker is accessible, and check Claude Desktop logs.

How do I enable debug logging?

Run the server with the --log-level DEBUG command-line argument.

What Coreflux commands are available as tools?

The server provides tools for adding, removing, and running models, actions, rules, and routes, as well as listing discovered actions and generating LOT code.