IN THIS ARTICLE

MCP Integration

Incorrect email!

The article was successfully sent to the email

Summary

MCP (Model Context Protocol) lets an AI agent read live TRBOnet data to check system status, investigate communication issues, and find configured radios and users. Access is read-only, with no access to the database or historical data.

This article covers two options: install an agent on the TRBOnet computer, or install an MCP gateway and use an AI chat in a browser from another computer or phone.

• TRBOnet Server: Enterprise/Plus communication services, voice sessions, mobile client registration, and queues.
• TRBOnet Administrator: Enterprise/Plus radios, users, roles, groups, and other configured objects.
• TRBOnet Watch: network status, active alarms, repeater diagnostics, and monitored computer health.

License Requirements

The MCP option must be active in the license of each application you want to connect: TRBOnet Enterprise/Plus and TRBOnet Watch.

Choose how you want to connect:

• Local Agent: Install an agent on the TRBOnet Server computer.
• Browser Chat Through an MCP Gateway: use an AI chat in a browser from another computer or phone.

Local Agent

Install an MCP-compatible agent on the same computer as the TRBOnet server. Open the agent on that computer and ask questions about your system.

+TRBOnet Server computer-------------------------------------+
|                                                            |
| [TRBOnet] <---- MCP ----> [Local agent] <----> [User]      |
|                                                            |
+------------------------------------------------------------+

The app and its TRBOnet connection are local. The app may still use an online AI model.

Install a Local Agent

These agents are applications you download from the vendor's website and install on your PC. The following agents have been tested with the TRBOnet MCP feature:

• ChatGPT desktop app with Codex. Install the desktop app and open Codex.
• Kimi desktop app with Kimi Claw Desktop. Install Kimi and deploy Kimi Claw on your computer.
• Google Antigravity, tested with Claude Sonnet and Gemini.
The local example below uses a paid ChatGPT plan with Codex. Other MCP-compatible agents can also be used.

TRBOnet Enterprise/Plus Configuration

1. In TRBOnet Console, open Administration → System Settings → AI MCP Server, then select Configure.
2. Enable the MCP server and select any available TCP port. Make sure another application is not using it.
3. Select HTTP or HTTPS. HTTP is the simplest option for a local connection. Use HTTPS if your agent requires it or you want to encrypt local traffic. MCP endpoints accept local connections only, regardless of the selected protocol.
MCP settings in TRBOnet Console
4. Select OK to apply the settings. Open Administration → Server → State and check the endpoint URLs under Model Context Protocol Server. Use these URLs when connecting your AI agent.
MCP endpoint URLs in TRBOnet Console

The server address comes from TRBOnet Enterprise/Plus Server Configurator → Network.

TRBOnet Watch Configuration

1. In TRBOnet Watch Console, open the server menu and select Settings → AI MCP Server.
2. Turn on Enable the MCP server for live data.
3. Copy the URL from Endpoint.
TRBOnet Watch uses a fixed MCP address and port. The configurator has no setting to change the address. The port cannot be changed, so make sure another application is not using it. Only HTTP is supported.

Restarting the TRBOnet Watch service is not required.

MCP settings in TRBOnet Watch Console

Connect Codex

You do not need to edit the Codex configuration manually. Send the following prompt to Codex:

Find the MCP endpoints available in the installed TRBOnet Enterprise/Plus and TRBOnet Watch applications, then add them to my Codex configuration. Name the connections TRBOnet Server, TRBOnet Administrator, and TRBOnet Watch, as applicable. Preserve my existing connections and verify that each new connection works. If you cannot determine an endpoint URL, ask me for it.

Connect only the endpoints you want to use. If Codex requests a restart or approval to update its configuration, follow the prompt.

Optional Manual Configuration

You can also add the connections to %USERPROFILE%\.codex\config.toml. Replace each placeholder below with the full endpoint URL shown in the corresponding console.

[mcp_servers."TRBOnet Server"]
url = "TRBONET_SERVER_ENDPOINT_URL"

[mcp_servers."TRBOnet Administrator"]
url = "TRBONET_ADMINISTRATOR_ENDPOINT_URL"

[mcp_servers."TRBOnet Watch"]
url = "TRBONET_WATCH_ENDPOINT_URL"

For Enterprise/Plus, use the server address, available port, and protocol selected for your installation. For TRBOnet Watch, use the fixed HTTP endpoint shown in the console. See the Codex MCP documentation.

Browser Chat Through an MCP Gateway

For this option, install an MCP gateway on the TRBOnet computer instead of a local AI agent. Open an AI chat that supports remote MCP connections in a browser on another computer or phone.

The gateway is a bridge. It receives requests from the AI service, sends them to the local TRBOnet MCP endpoints, and returns the results. TRBOnet itself still accepts only local connections.

+TRBOnet computer--------------------------------------------+
|                                                            |
| [TRBOnet] <---- Local MCP ----> [MCP gateway]              |
|                                                            |
+-------------------------------------+----------------------+
                                      |
                                      |
                                      |
              +AI chat service--------+----------------------+
              | Receives requests and returns answers        |
              +-----------------------+----------------------+
                                      |
                                      |
                                      |
              +remote Browser chat----+----------------------+
              | [User] <----> [AI chat in a browser]         |
              +----------------------------------------------+

Gateway Examples

Several MCP gateway solutions are available. This example uses Supergateway and was tested with it. The gateways below are third-party tools, not TRBOnet components.

• Supergateway: a Node.js tool that forwards an existing MCP endpoint through another MCP endpoint. It supports Streamable HTTP and API key authentication.
• FastMCP Proxy: a Python option that forwards requests to existing MCP servers. It can combine several servers behind one endpoint and add authentication.

A gateway needs a reachable address. A reverse proxy or a tunnel, such as Cloudflare Tunnel, can provide the network route. A tunnel provides connectivity, while the MCP gateway forwards MCP requests.

What the Gateway Can Access

When configured to forward only the TRBOnet endpoints, the gateway does not expose personal files, the desktop, or other applications. It forwards only the tools and data available through TRBOnet MCP. Do not add file access, command execution, or desktop control tools to this connection.

The gateway is installed software and runs with its operating system account's permissions. It is not a sandbox. TRBOnet results sent through it are received by the selected AI service.

Set Up the Gateway

Open your AI chat in a browser on your remote computer or phone and send this prompt. It will guide you through creating the tunnel and connecting TRBOnet.

Help me connect this browser chat to the local TRBOnet MCP endpoints on my Windows computer without installing a local AI agent. Guide me through downloading and installing Node.js LTS, Supergateway, and the Cloudflare Tunnel client (cloudflared) on that computer. Provide official download links and help me configure the gateway and tunnel. Ask me for the endpoint URLs and confirm that this chat supports remote MCP connections. Give me simple PowerShell commands, one step at a time. Forward only the TRBOnet endpoints using Streamable HTTP. Set up a stable HTTPS address and authentication compatible with this chat. Keep the original TRBOnet endpoints local. Do not add tools for personal files, command execution, or desktop control. Show me how to add the gateway URL to this chat and verify the connection. Ask me for any missing details instead of guessing.

The chat will guide you through these steps:

1. Check your local TRBOnet MCP endpoint URLs and browser chat compatibility.
2. Install Node.js and Supergateway on the TRBOnet computer, then connect the gateway to the TRBOnet endpoints.
3. Install cloudflared and create a tunnel with a stable HTTPS address and authentication compatible with your chat.
4. Add the gateway's HTTPS URL to your browser chat and verify access to the TRBOnet tools.

If you prefer to install the components manually, use these official links:

• Node.js LTS for Windows: required to run Supergateway.
• Supergateway installation instructions: the MCP gateway used in this example.
• Cloudflare Tunnel client (cloudflared) for Windows: connects the local gateway to its external HTTPS address.

The browser chat provides instructions and commands for you to run on the TRBOnet computer. It cannot install software there by itself. Keep that computer, the gateway, and the tunnel running while using the connection.

Instructions for Your Agent

Use these instructions with either connection option:

Use the connected TRBOnet MCP tools for system checks. Start with the tools relevant to my question. Keep answers short and use device names. Separate confirmed problems from possible causes. If data is missing or incomplete, say so.

TRBOnet Enterprise/Plus Request Examples

Check mobile client registration and request queues using TRBOnet Server. Show any gateways with pending requests and summarize what needs investigation.

Find the radio named Warehouse using TRBOnet Administrator. Show its configured properties and current status where available.

TRBOnet Watch Request Examples

Check the current TRBOnet Watch network status. List disconnected repeaters and devices with active alarms, grouped by system.

Use TRBOnet Watch to show monitored computers with less than 20% free disk space. Include the computer name, disk, and free space.


Helpful?
We're glad this article helped.

Thanks for letting us know. What went wrong?