Pinter
ENID
Build agents
View as Markdown

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:

PartMeaning
MCP App badgeThe view is supplied by an MCP server, not by Pinter.
Server nameThe MCP server registered in /mcp-servers.
Tool nameThe 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

  1. Register the MCP server

    Open MCP servers (/mcp-servers) and add a server that supports MCP Apps. Use the streamable_http or sse transport. See Tools and MCP servers.

  2. 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.

  3. 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 stdio transport 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 visibility is 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

SymptomLikely cause
Only text appears, no appThe 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 emptyThe app does not handle ui/notifications/tool-result. See the developer guide.
Buttons inside the app failThe tool they call is blocked by the server’s tool filter.