Apps
Some tools answer with a live view instead of text: stations on a globe you can turn, a paper you can page through, a ParaView scene you can rotate. CLIO calls these apps. An app comes from a connector, a plugin or another MCP server, and it follows the open MCP Apps standard, so the same app works in other hosts too.
The agent opens an app by calling one of its tools. You use the view directly, and the agent sees what the view reports, can look at it, and can act on it.
Walk-through: stations on a globe
Section titled “Walk-through: stations on a globe”This walk-through uses the Geo connector and a list of ten example GNSS stations
around Mount Rainier, example_stations_rainier.csv, in a workspace called
cascadia. Every step is a plain request or a click.
-
Ask. “Show the GNSS stations in example_stations_rainier.csv on a globe, coloured by station kind.” If Geo is not in the conversation yet, the agent offers it first; choose Add (see When the agent offers a connector or plugin). The globe then appears in a card in the conversation, in the same reply.
The view in its card. The layer list names what is drawn and how it is coloured. Click a dot for the station's details. -
Open it in a tab. Choose Open in tab on the card. The view moves to a tab in the workbench beside the conversation, and the card reads Open in a tab with Show tab. Return to conversation in the tab brings it back to its card.
The view is in one place at a time: here, in the tab. -
Maximize it. Choose the maximize control at the top right of the workbench, and collapse the left navigation if you want the whole window. Maximizing does not reload the view, so it keeps its camera and selection.
Maximized, the view fills the window. -
Let the agent look. Ask about what is on screen. In a second conversation the agent had also drawn the park’s boundary; asked “Look at it again and tell me what you see around CRBR”, it took a picture of the view as shown in its tab, read what the view reports, and answered from both.
The agent looked at the view, then answered, and said what the picture could not settle. -
Link it to a table. Ask for a dashboard: “Make a dashboard with this globe next to a table of the stations, linked so that picking a station in either one shows it in the other.” Pick a row and the globe turns to that station; click a dot and its row is highlighted. The dashboard says what is linked, here selected_feature linked both ways.
The globe and the table share the selection. Built from that request in another conversation over the same example stations. -
Come back later. CLIO keeps the call that opened each view. After CLIO restarts, your app tabs come back in the same browser and each reopens when you show it. A card whose view has closed offers Reopen.
Reopened after a restart. Geo replays the view from a saved view id, not from a copy of the page.
Comment on a region of a view
Section titled “Comment on a region of a view”Every app view has the Comments icon in its header, in a card, in a tab and in a dashboard. Comments on an app work by region, as on a figure:
-
Choose the Comments icon. Drag a box over the part you mean, or click a point.
-
Write your comment and choose Done. Each mark is labelled S1, S2 and so on.
-
Choose Add 1 mark to message (or the number you made) and send the message.
The agent receives a picture of the view with your marks drawn on it, a close-up of each mark, and what the view reported when you made it, such as the time step and camera. Marks are of what the screen showed. They do not move the view back to that state later. See Comment on results for comments on documents and figures.
In the conversation or in a tab
Section titled “In the conversation or in a tab”- Choose Open in tab on a card to give a view more room. Some apps ask for a tab themselves when they open; ParaView’s does.
- Choose Return to conversation in the tab, or close the tab, to bring the view back to its card.
- The view is in one place at a time. Moving it reloads it, and CLIO hands it the same input and result again, so it shows the same thing.
- On a phone, an app tab sits between the conversation’s header and the message box, so you can keep typing while it is open.
What stays live
Section titled “What stays live”An app keeps running while you can reach it:
- every app in a tab, until you close the tab,
- every app in a dashboard that is on screen,
- the newest app card in the conversation.
When a newer app opens in the conversation, the previous card’s view closes and the card reads View closed, with Reopen. Apps in tabs are never closed this way, and nothing closes a view you have open because time passed. A card nobody has used for an hour closes too.
What the agent sees
Section titled “What the agent sees”- What the view reports. Many apps report what they show: the selected station, the time step, the camera. That report goes to the agent with the next message you send. Ask “what did I select?” or “what am I looking at?” and it answers from it.
- The view itself. The agent can look at an open view and see it as you do, with
its
look_at_viewtool. The view must be on screen in a window that has the conversation open; if it is not, the agent’s look waits until you show it. - The view’s own tools. An app can offer tools of its own, such as Geo’s “fly to” or “select feature”. The agent can call them, and the change appears in the view you have open. If the view is closed, the call returns at once and names the tool that opens it again.
Calls the agent makes to an app follow your permissions, like any other tool.
Reopen a view
Section titled “Reopen a view”- To bring back a closed view, choose Reopen on its card. CLIO calls the same tool with the same arguments and shows the new view.
- After CLIO restarts, your app tabs come back in the same browser. Each one reopens when you first show it.
- If a reopen fails, the card or tab gives the reason and the call it tried, with Retry.
Reopening calls the tool again, so it may ask for your permission. What the view shows afterwards is what the service returns. ParaView brings back the scene with its filters, colouring and time step; Geo brings back its layers and styles.
Put an app in a dashboard
Section titled “Put an app in a dashboard”An app can sit in a dashboard beside charts and tables, linked to them. Ask for it in plain words, as in step 5 above, or “Put the ParaView view and charts of peak pressure and mean temperature over time in one dashboard, linked by time step.”
Linked parts share a value, such as a time step or a selection:
- Change the time in the view, and the charts follow.
- Pick a time on a chart, and the view moves to it.
The dashboard shows which values are linked, for example time linked both ways. Only settled values cross between them, at most ten times a second, so a drag does not flood the chart. An app in a dashboard stays in the dashboard; it does not open a tab. See App view for the component.
Links and downloads
Section titled “Links and downloads”- A link in a view opens in CLIO’s browser as a new page. Only
httpandhttpslinks open. - A file a view offers for download is saved in the conversation’s workspace folder and listed in Artifacts. A notice says where it went, with Open. An existing file is never overwritten: the new one gets a number. A file over 64 MB is refused.
Apps with a live service
Section titled “Apps with a live service”Some views, such as ParaView’s, need a service running behind them. CLIO carries that service through its own address, adds the service’s key on the way, and never shows the key to your browser or the agent. The view therefore works wherever your browser is, including on another computer that reaches CLIO over your network.
If you reach CLIO by a network name rather than localhost, set
gact.mcp_apps.sandbox_host (or CLIO_MCP_APP_SANDBOX_HOST) to a name for app views,
such as *.apps.example.lan with wildcard DNS. Until it is set, an app card says
which setting it needs. See Configuration.
Apps receive CLIO’s colours, fonts and corner radii through the standard MCP Apps theme variables, and again whenever you switch between light and dark. An app that reads them matches CLIO. One that does not keeps its own look; the globe’s map stays light in both themes.
Known limits
Section titled “Known limits”- Burette in a narrow frame. Burette’s own viewer draws nothing when its frame is 600 pixels wide or narrower, which includes a phone and a side panel at its usual width on a laptop screen. Maximize the side panel, or widen it. Burette’s card in the conversation is small; open it in a tab.
- Pictures of a view from another site. When the agent captures a whole dashboard,
a view that draws content from another site, such as the globe’s map, appears as an
empty area, and the agent says so. Its
look_at_viewsees the view itself. - A view that only the app understands. CLIO shows what the app draws. When a view looks wrong, the cause is usually in the app. Reopening it is a quick check.
- A conversation nobody is viewing. CLIO stops a conversation’s local services after it has been left alone for a while. Its views then read View closed; choose Reopen.