# Interactive views from MCP servers (MCP Apps)

> Some MCP servers ship their own small interface with a tool (the MCP Apps standard): a chart, a form, a map, a table you can sort.

- Area: Desktop app
- Plans: All plans
- Last checked against the product: 2026-11-25
- Web page: https://agentsroom.dev/docs/mcp-apps

## What it does

Some MCP servers ship their own small interface with a tool (the MCP Apps standard): a chart, a form, a map, a table you can sort. When an agent calls such a tool on a server declared in AgentsRoom, the conversation shows an **Interactive view** card right under the call. The view runs the server's page, receives the call's input and result, and follows the app's theme: switching between light and dark needs no reload.

**Video (1 min 21 s)**: a Claude Code agent calls the sales tool of a local MCP server; the terminal shows text, the Conversation view shows the live chart under the call, its filter and Refresh work, and Save report asks Allow once first: https://youtu.be/6xQ-JWLkEF8

## Where to find it

- In the agent's **Conversation** view, under the tool call: a card titled **Interactive view**, with the server and tool names in its header.
- **Expand** (the arrows button in the card header) shows the same view large, over the app.
- In the conversation of an agent that runs on another computer of your account (Remote Fleet): the same cards, with the same actions. That computer serves the view; yours draws it and asks you the questions.
- In the conversation of an agent that runs on a remote computer over SSH (Remote SSH): the same cards, with the same actions, on the computer and on the phone, for Claude Code and Codex agents.
- In the terminal: a block above the message box, **<server> returned an interactive view** (the tool name under it), with **Open** and a cross to dismiss it, and a badge on the **Conversation** button until you open the conversation. **Open** shows the view large, over the app; the **Conversation** button shows the card under the call.

## How to use it

1. Declare the MCP server in AgentsRoom (Settings > MCP servers, global, project or agent scope).
2. Ask the agent to use the tool ("Use the sales tool to show me last week's sales."). Once the call is made, open the **Conversation** view (the button with the badge, right of the terminal): the card is under the call, below the line that lists the call's steps.
3. Use the view in place, or **Expand** it. Escape or the cross closes the large view.

### What a view can do

A view can act, with guard rails:

- **Call a tool of its own server** (a "Refresh" button, a filter). A tool that declares it only reads runs at once. A tool that may change data asks first, in the card: **Allow once**, **Always for this view** (that tool, in that view) or **Refuse**. Refusing hands the view an error, nothing runs.
- **Read a resource of its own server.**
- **Write a message for the agent**: the text lands in the agent's message box as a draft, after what you already typed. Nothing is sent: you read it, edit it, send it or not.
- **Open a web link** (http or https only) in your browser, after you say yes: the card shows **The view wants to open <site> in your browser**, the full address under it, and **Open**, **Always for this site** (that site, in that view) or **Refuse**. An address on your computer or your local network (localhost, 192.168.x.x, a router) gets a warning and asks every time. One link question at a time, and at most one link every 2 seconds: a view cannot flood your screen with tabs.

Under the view, **N app actions** counts everything the view asked for, refused requests included: nothing it does is hidden from you. A view runs at most 4 calls at once, each for 60 seconds at most; closing, scrolling away or reloading the view cancels its calls.

At most 3 views run at the same time in a window, to keep the app fast. A card that lost its turn says so and shows **Reopen**. A card scrolled off screen stops its view and starts it again when you scroll back.

## Settings

None for the card itself. The switch that turns views on or off per server lives on the server's row in Settings > MCP servers.

## Agent tools (MCP)

None. The agent calls the server's tool as usual; AgentsRoom never calls the tool again by itself and never sends the view's content back to the model. A message the view writes only reaches the agent if you send it yourself.

## Providers

The card appears for Claude Code, Codex and Antigravity CLI calls, and for any CLI that names MCP tools `mcp__<server>__<tool>`. A Codex call made from its code mode (`exec`) names no tool in its transcript and gets no card.

## Mobile

The phone shows the same **Interactive view** card in the agent's conversation (iOS and Android), with the same words, and you can use it: its buttons, its tool calls (with the same **Allow once / Always for this view / Refuse** question), the message it drafts (it lands in the phone's message box, never sent) and its links (they open in the phone's browser). Inline, a view takes at most 60% of the screen; **Expand** shows it full screen, and the cross or Android's back button closes it.

The phone never talks to the MCP server: the computer that runs the agent opens the view and decides every action, the phone only draws the page. A computer that does not have this feature yet keeps the plain tool line on the phone.

## Limits

- Only servers declared in AgentsRoom have views, not a server set up in the CLI's own config or a plugin.
- When the view cannot be shown, the card says **View unavailable** and why: the server does not serve the page, sent something else than a view, an empty page or a page over 10 MB, the AgentsRoom MCP host is stopped, or the agent is stopped (the view comes back at its next launch).
- A result over 8 MB is not handed to the view: it shows the call's input only and says so. On the phone and for an agent of another computer, the page and the result travel through the encrypted relay, so the limits are lower (4 MB for the page, 2 MB for a result): past them, the card says the page or the result is too large to be sent to this device. Same for a call of a previous session whose result the CLI did not keep. With Antigravity CLI, such an old result is read as text only.
- The page comes from a third party and runs in a sandbox: it reaches only the web addresses its server declared, cannot read your files, cannot navigate the app or open windows, and gets no camera, microphone, location or clipboard. It never sees the app or your other views.
- A view only reaches its own server: never another server, and never a tool its server reserves for the model.
- Nobody at the computer (no keyboard or mouse for 5 minutes, for example an agent a trigger launched at night): the view shows, but none of its actions run until you are back; it gets an error instead.
- No view can change what the model knows of the conversation, nor go full screen.
- macOS, Windows and Linux, main and detached windows, iOS and Android.
- On the phone, a view of an agent of ANOTHER computer (seen through Remote Fleet) shows the tool line only for now.
- Agent on a remote computer over SSH: views work for Claude Code and Codex agents, when the SSH connection installs the AgentsRoom tools on that computer (**Install the AgentsRoom tools on this host**, on by default). Other CLIs and servers that sign in with OAuth have no view there; a call to one of them says **No interactive view for <server> on a remote computer**. When the connection to that computer is cut, the agent keeps its servers and the card says so with **Reopen**: once the connection is back, **Reopen** shows the view again.

## Common questions

- **How do I see the chart an MCP tool sends, instead of text?** Declare the server in AgentsRoom, ask the agent to use the tool, then open the agent's **Conversation** view: the **Interactive view** card under the call shows the chart, and its buttons work. A video shows it: https://youtu.be/6xQ-JWLkEF8
- **Is there a video that shows it?** Yes, 1 min 21 s: a Claude Code agent's sales tool call, the live chart under it, a filter, Refresh and Allow once: https://youtu.be/6xQ-JWLkEF8
- **An MCP tool of my agent returns a chart or a form. Can I use it in AgentsRoom?** Yes, when the server is declared in AgentsRoom and its tool ships an interactive view: the conversation shows an **Interactive view** card under the call.
- **I hid the tool calls. Is the card hidden too?** No: the card is a result for you and stays, like a question card.
- **The card says "View unavailable". Why?** The line after it says why. The tool call itself is untouched.
- **A view asks "wants to run a tool". What does it mean?** The tool may change data on its server. **Allow once** runs it this time, **Always for this view** stops asking for that tool in this view, **Refuse** runs nothing.
- **A view put text in my message box. Was it sent?** No. A view can only prepare a draft; you decide whether to send it.
- **A button of the view does nothing at night / after a long break.** Actions wait for someone at the computer. Move the mouse or click the view again.
- **Can I use an interactive view from my phone?** Yes: open the agent's conversation on the phone, the card is under the call. The computer that runs the agent must be on and up to date.
- **Can a view open web pages on its own?** No. Every link asks first in the card (**Open**, **Always for this site**, **Refuse**), one question at a time, and at most one link opens every 2 seconds. A local address (localhost, your router, a dev server) asks every time.
- **Why does a card say "Reopen"?** At most 3 views run at once in a window; the oldest one paused. **Reopen** starts it again. For an agent on a remote computer, it also shows when the connection to that computer is cut.
- **Do interactive views work for an agent running on my server over SSH?** Yes, for Claude Code and Codex agents, with the AgentsRoom tools installed on that server (on by default in the SSH connection). Secrets never appear in a command or a config file there.

## Related

- [Conversation View](https://agentsroom.dev/docs/conversation-view.md): the thread the cards sit in.
- [MCP Servers](https://agentsroom.dev/docs/mcp-servers.md): declaring an MCP server in AgentsRoom.
