Documentation Index
Fetch the complete documentation index at: https://docs.coreflux.org/llms.txt
Use this file to discover all available pages before exploring further.
The Bridge Between AI and Your Coreflux Environment
Modern AI assistants are powerful — but they don’t natively understand LoT (Language of Things) syntax, Coreflux broker configuration, or the nuances of industrial IoT architecture. Without access to the official documentation, an AI assistant will guess, often producing code that looks plausible but uses invented syntax. The Model Context Protocol (MCP) solves this. MCP is an open standard that lets AI assistants — like Claude, GitHub Copilot, or any MCP-compatible client — call external tools during a conversation. The Coreflux MCP Server exposes the entire Coreflux documentation as a set of tools your assistant can query in real time. When you ask “how do I create a time-based LoT Action?”, your assistant doesn’t guess — it looks up the answer in the official docs and responds with verified syntax and working examples. The result: you stay in your editor, describe what you want in plain English, and get accurate LoT code grounded in real documentation.When to Use This
- You want your AI assistant to answer Coreflux questions accurately using official documentation
- You need LoT syntax help while coding in an AI-powered editor (Cursor, VS Code with Copilot)
- You want to search the documentation through natural language without leaving your workflow
- You’re building with Coreflux and want your assistant to have up-to-date reference material
How It Works
MCP (Model Context Protocol) is a standard created by Anthropic that defines how AI assistants communicate with external services. It works like a plugin system: an MCP server exposes a set of tools, and an MCP client (your AI assistant) discovers and calls those tools during conversation. Here is what happens when you ask your AI assistant a Coreflux question:| Step | What Happens |
|---|---|
| 1. You ask | You type a question in natural language — “Create a LoT Action that monitors temperature sensors” |
| 2. AI recognizes the domain | Your assistant detects this is a Coreflux question and decides to consult the MCP tools |
| 3. MCP tool call | The assistant calls the Coreflux MCP Server — searching the documentation or asking the docs assistant |
| 4. Documentation responds | The MCP server returns relevant documentation snippets, syntax references, and code examples |
| 5. AI synthesizes | Your assistant combines the documentation with your specific requirements to produce accurate, grounded LoT code |
| 6. You review | You receive a response with correct syntax, proper patterns, and source references you can verify |
| Component | Role |
|---|---|
| MCP Server | Coreflux’s hosted service that exposes documentation tools |
| MCP Client | Your AI assistant (Claude, Copilot, etc.) that calls those tools |
| Transport | HTTP connection between client and server |
Setup
Connect your AI assistant to the Coreflux documentation MCP server. Choose Native to install from the contextual menu on any documentation page, or Manual to paste the server URL into your editor’s configuration file.- Native
- Manual
The fastest way to connect is through the contextual menu at the top of every documentation page. It copies the hosted MCP server URL or installs the server directly in supported editors — no JSON editing required.

| Menu option | What it does |
|---|---|
| Copy MCP Server | Copies the hosted MCP server URL to your clipboard |
| Copy MCP install command | Copies the npx add-mcp command to install the server |
| Connect to Cursor | Opens Cursor and installs the MCP server |
| Connect to VS Code | Opens VS Code and installs the MCP server |
- VS Code
- Cursor
- Other clients
Open the contextual menu
On any Coreflux documentation page, click Copy page (top right) to expand the menu.
Connect to VS Code
Select Connect to VS Code. VS Code opens the MCP server installation flow for Coreflux Documentation.
Install the server
On the MCP server page, click Install (current window) or Install in Workspace (project only). Confirm trust if prompted.

Verify Your Connection
After setup, confirm the MCP is working by sending a test prompt to your AI assistant. The specific prompt doesn’t matter — what matters is that the assistant calls the Coreflux MCP tools rather than answering from memory.Quick Test
Send this prompt to your AI assistant:It’s working if your assistant calls one of the MCP tools during its response. In Cursor, you’ll see the tool calls in the assistant’s output. In Claude Desktop, look for the hammer icon indicating tool usage.
What a Connected Response Looks Like
When the MCP is active, your assistant’s response will:- Reference specific LoT syntax from the documentation (not invented patterns)
- Include working code examples that match the official docs
- Cite source pages you can open to verify the information
- Use correct terminology — LoT, Actions, Models, Rules, Routes — exactly as defined in the documentation
Best Practices
Be Specific with Your Questions
Be Specific with Your Questions
The more specific your question, the better the results. Instead of asking “tell me about routes,” try “how do I configure a PostgreSQL data storage route with authentication.” Specific queries help the tools return more relevant documentation.
Ask for Source References
Ask for Source References
When you need to verify information, ask your assistant to include documentation source links. The Coreflux MCP tools can return references to official pages so you can open and verify the answer yourself.
Use for Code Review
Use for Code Review
Before deploying LoT code, ask your assistant to validate the syntax against the documentation. For example: “Check the Coreflux docs — is this the correct syntax for a Modbus TCP route?” This ensures your code follows the latest documented patterns.
Leverage Conversation Context
Leverage Conversation Context
The documentation assistant supports multi-turn conversations. Ask follow-up questions to drill deeper into a topic without repeating context — the assistant remembers what you discussed previously in the same conversation.
Next Steps
Developing LoT Using AI
A guide on utilizing AI agents to write, debug, and deploy LoT scripts directly through the MCP interface.
AI-Assisted Development Best Practices
Strategic advice on prompt engineering, security guardrails, and maintaining consistency when using AI to manage industrial assets.


