# MCP Apps

An MCP server can attach an interactive view to a tool (the MCP Apps extension).

A tool card titled counter__show_counter. Inside it, the server's view shows the number 5 and a +1 button. Clicking +1 calls the server's increment tool, and the view shows the new number.

Nothing to switch on: servers that ship views send them, and the view's buttons call that server's tools.

| Question | Answer |
| --- | --- |
| Where it shows | Web and desktop chat, inside the tool card; the card opens by default and you can fold it. The terminal UI shows the text result only. |
| Size | The card grows with the view, up to 800 px tall |
| Theme | The view receives the App's colors, fonts and light or dark mode |
| What its buttons can call | Only tools of the server that sent the view, and only those the server marks for the view |
| Approval | The conversation's [permission mode and rules](https://openprogram.io/docs/capabilities/permissions.html) apply. In Ask or Auto mode a call that needs asking shows the conversation's usual approval card; it runs once you allow it. |
| Messages | A view can send a message into the conversation as you would. If the agent is still answering, the message waits in the queue like one you type. |
| What the model sees | A view can tell the model what it shows. The next turn receives it, up to 16 KB with secrets removed; nothing new appears in chat. |
| Server files | A view can read its own server's resources, not another server's |
| Links | A view may open `http` and `https` links in a new tab |
| Tools only for the view | Never offered to the model |

## What a view cannot do

Each view runs in its own sandbox with no access to the App:

- Read the App's storage, cookies or sign-in, or the page around it
- Navigate the App's window, or open pop-ups
- Contact any site the server did not declare for the view
- Call or read from another server, or call OpenProgram's own tools
- Use the camera, microphone, location or clipboard

The view appears as soon as the tool starts and shows the result when it lands. It always stays inside the card.

[MCP](https://openprogram.io/docs/capabilities/mcp.html)
