Design · MODEL CONTEXT PROTOCOL

CorefluxCommunity CorefluxMCPServer

Coreflux MQTT MCP Server

WHAT IT CONNECTS

CorefluxCommunity CorefluxMCPServer 为 AI Agent 提供什么

  • 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
  • Standalone setup assistant for configuration
  • You need to create an initial configuration (.env file)
  • You want to update your existing configuration
  • You're experiencing connection issues and need to reconfigure
  • Create or update the `.env` file with your configuration
  • Configure MQTT broker settings (host, port, credentials)
  • Set up TLS configuration if needed
  • Configure logging options
  • Create or edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS/Linux) or `%USERPROFILE%\AppData\Roaming\Claude\claude_desktop_config.json` (Windows)
  • Add the following configuration (adjust the paths accordingly):
  • Restart Claude Desktop
  • `add_rule`: Add a new permission rule
  • `remove_rule`: Remove a permission rule
  • `add_route`: Add a new route connection
  • `remove_route`: Remove a route connection
  • `add_model`: Add a new model structure
  • `remove_model`: Remove a model structure
  • `add_action`: Add a new action event/function
  • `remove_action`: Remove an action event/function
  • `run_action`: Run an action event/function
  • `remove_all_models`: Remove all models
  • `remove_all_actions`: Remove all actions
  • `remove_all_routes`: Remove all routes
  • `list_discovered_actions`: List all discovered Coreflux actions
  • `request_lot_code`: Generate LOT code based on natural language prompts
  • Verify your MQTT broker credentials in your Claude configuration
  • Ensure the broker is accessible
  • Run the setup assistant to verify or update your configuration:
  • Check Claude Desktop logs:
  • Run the server with debug logging:
  • [MCP Quickstart for Server Developers](https://modelcontextprotocol.io/quickstart/server)
  • [MCP Official Documentation](https://modelcontextprotocol.io/)

SECURITY

MCP 收录不等于安全审核

MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。