BUSLOOM MANUAL

MCP integration

Authenticated local control from automation agents.

13 · PROFESSIONAL

MCP integration

Busloom can expose the open desktop session as a local Model Context Protocol server. Its 95 tools adapt the same project, connection, discovery, alarm, diagnostic, Trend, report, and automation paths—not a second hidden Modbus client.

Enable a client

  1. Open Application Preferences → MCP

    MCP is a Professional feature and is disabled by default.

  2. Enable the local server

    The listener binds only to 127.0.0.1 and Busloom must remain open.

  3. Copy URL and bearer token

    Configure the client for Streamable HTTP and send the token in the Authorization header.

  4. Keep prompts enabled first

    Read and project operations can proceed, while tag writes and real write-capable automation ask in Busloom.

  5. Regenerate after exposure

    Regenerating the token restarts the enabled server and disconnects existing clients.

What an agent can orchestrate

The MCP surface covers project creation/open/save, profiles, RTU and TCP/TLS discovery, connection, scans, views, tags, acquisition, bounded observation of changing values, writes, Protocol Diagnostics, Raw Traffic, runtime alarms, machine-readable exports, PNG/PDF Trend reports, automation, Replay, and Git. Mutations use the same project validator and undo/history path. Unsaved MCP edits remain unsaved until the project is explicitly saved.

New 0.4 workflows use the same boundaries

WorkflowWhat MCP doesBoundary
Public device catalogSearch reviewed definitions and preview the ordinary atomic mergeRepeat with apply enabled only after reviewing changes and issues
Tag alarmsCreate project-owned rules and inspect or acknowledge the shared session runtimeAcknowledgement and transition history reset with the runtime
Trend reportRender the selected visible window through the desktop PNG/PDF rendererProvide an absolute .png or .pdf path; an empty window is rejected
ControlProtectionOperator responsibility
Loopback bindingPrevents direct network exposureA local malicious process is still in scope
Bearer tokenAuthenticates every requestStore it only in the local MCP client configuration
Write promptsRequire visible approval for device changesCan be disabled explicitly; read-only profiles still win
Bounded operationsLimits payloads, observations, scans, and project discoveryExhaustive scan requires explicit confirmation