BUSLOOM MANUAL

MCP operation reference

Connection setup, operation groups, mutation rules, prompts, and safe agent workflows.

23 · AGENT REFERENCE

MCP operation reference

The MCP server exposes the currently open Busloom desktop session over loopback-only Streamable HTTP. Every request requires the generated bearer token. Tools adapt visible Busloom operations; they do not maintain a shadow project, second connection, or independent register cache.

Client connection contract

PropertyRequirementOperational note
TransportStreamable HTTPUse the URL shown in Application Preferences → MCP
Network127.0.0.1 onlyRemote machines cannot connect directly; do not proxy the listener casually
AuthenticationAuthorization: Bearer <token>Regenerating the token restarts the enabled server and invalidates existing clients
Desktop lifetimeBusloom remains openThe MCP server controls the open session and stops with it
EntitlementProfessionalThe native server verifies the feature rather than relying only on the settings UI

Operation groups

GroupRepresentative capabilitiesState boundary
ProjectCreate, open, inspect, validate, replace, save, Save As, list recent/discoverable projectsMutations enter ordinary undo/history; saving remains explicit
Profiles and connectionCreate/update/duplicate profiles, enumerate serial ports, connect, disconnect, read statusOne shared selected profile and serialized native connection
DiscoveryRTU Unit-ID discovery, TCP/TLS subnet and port discovery, progress pollingInputs and result sizes are bounded; long work can be started and polled
Views and tagsCreate/edit/delete views and groups, import/export maps, start/stop/run once, read decoded valuesUses the same project validation and native value store
Public device catalogRefresh/search entries, fetch definition, preview and apply atomic mergeNo definition can carry endpoints, credentials, automation, or executable code
WritesWrite one decoded tag or run write-capable automationVisible prompt by default; read-only profile always blocks
DiagnosticsAuto Scan, Device Info, Connection Health, Protocol Diagnostics, Raw TrafficSame transaction journal and source attribution as the UI
Trends and alarmsManage series, observe samples, create rules, read state/history, acknowledge, export, render reportDefinitions may be project-owned; samples and acknowledgement are session-owned
AutomationManage resources, validate, dry-run, execute, stop, inspect and export reports, compare resultsSame runner, limits, cancellation, and connection priority as the desktop
Replay and GitOpen session/report artifacts, inspect replay, read file status/history, create project-only versionNever opens a replay transport; Git remains local and project-file scoped

Mutation and prompt rules

Project edit
Validated and applied to the open document. It may make the project dirty but does not silently write the file.
Device change
Tag writes and real write-capable automation require visible approval unless Allow changes without prompts is explicitly enabled.
Read-only profile
The final native guard. It blocks changes even when prompts are disabled or a client asks for a direct write.
Fingerprint guard
A complete project replacement can require the expected project fingerprint so stale clients cannot overwrite a newer document accidentally.
Absolute artifact path
MCP file operations require explicit absolute paths so a background tool never blocks on a native file picker.

Build a bounded agent workflow

  1. Inspect before mutation

    Read current project summary, active profile, connection state, and the target resource before changing it.

  2. Bound discovery

    Name the interface, subnet or Unit-ID range, timeout, and intended scan mode. Start long work asynchronously and poll its status.

  3. Preview imports

    Fetch a device definition or table mapping, inspect additions/updates/issues, then make a separate apply request.

  4. Prove acquisition

    Start the required sources, observe a bounded number of samples, and retain raw or health evidence before interpreting changes.

  5. Dry-run changes

    Validate or dry-run write-capable automation, then request explicit approval for the real operation.

  6. Save deliberately

    Review the ordinary dirty project in Busloom and call save only when the requested mutation should persist.