MCP Apps
See interactive dashboards, charts, and forms from MCP servers directly in the chat.
An MCP App is an interactive view that an MCP server attaches to one of its tools. When an agent calls that tool, Pinter shows the view in the conversation, next to the normal tool result.
Use MCP Apps when a table or a paragraph is not enough: dashboards, charts, filters, forms, and anything the user should be able to click.
What you see in chat
When an agent uses a tool that has an app, the app appears under the tool step. A header identifies where it came from:
| Part | Meaning |
|---|---|
| MCP App badge | The view is supplied by an MCP server, not by Pinter. |
| Server name | The MCP server registered in /mcp-servers. |
| Tool name | The tool the agent called to produce the data. |
The view receives the tool arguments and result automatically. It can also call the server’s tools itself, for example when you press a refresh button, without another message to the agent.
Open beside the chat
Select the expand icon in the app header to open it in a resizable side panel, in the same way as an artifact. Use the close icon to dismiss it. Opening an app closes an open artifact, and the other way round.
Use an MCP App
- Register the MCP server
Open MCP servers (
/mcp-servers) and add a server that supports MCP Apps. Use thestreamable_httporssetransport. See Tools and MCP servers. - Give the server to an agent
In the agent builder, add the MCP server as a tool. If the server has a tool allowlist, the app’s tool must be allowed.
- Ask for it in chat
Ask for something the tool provides, for example “show the sales dashboard”. The agent calls the tool and the app loads.
Security
- Each app runs in an isolated, sandboxed frame. It cannot read your Pinter session, cookies, or local storage.
- The app can only reach its own server through Pinter. Pinter checks that you have access to the server, and that the tool is allowed by the server’s tool filter, on every call.
- Servers using the
stdiotransport cannot provide apps. - App HTML is limited to 1 MiB.
- Only connect MCP servers you trust. An app is code supplied by that server.
Current limitations
Pinter implements the core of the MCP Apps specification. These parts are not supported yet:
- Content Security Policy and permission hints declared by the server (
_meta.ui.csp,_meta.ui.permissions) are not applied. Do not rely on them. - Tool
visibilityis not enforced. A tool marked app-only can still be offered to the agent. - The host does not stream partial arguments, push theme changes after load, or handle
ui/message,ui/open-link, or display-mode requests. - Apps cannot be exported to PDF from the header.
Troubleshooting
| Symptom | Likely cause |
|---|---|
| Only text appears, no app | The tool has no _meta.ui.resourceUri, or the server was not attached to the agent. |
| “Failed to load the MCP App” | The ui:// resource cannot be read, is larger than 1 MiB, or you lack access to the server. |
| The app loads but stays empty | The app does not handle ui/notifications/tool-result. See the developer guide. |
| Buttons inside the app fail | The tool they call is blocked by the server’s tool filter. |