MCP Apps

Open interactive views from MCP servers in your client or the Gatana dashboard

ClaudeHow is ACME trading today?trading_show_quoteACME CorpNASDAQ: ACME$182.40+3.26 (1.82%)1D1W1M1Y5Y9:3012:0016:00Quantity20Est. cost$3,648BuySellACME is up 1.8% today. Choose a quantityto buy or sell.Reply…GeminiWhat is left before the launch?tasks_show_boardLaunch v27 tasks, due Dec 12+ Add taskTo do3Release notesDocsPricing pageWebLaunch emailEmailIn progress2QA on stagingQADemo videoVideoDone2Freeze scopePlanSign-in fixBugFive tasks are left before the launch.QA on staging is in progress.Reply…ChatGPTHow did the spring campaigns do?ads_show_reportSpring campaignsLast 30 days, all channelsSpend$12.4k+8%Click rate3.2%+0.4Return4.1×+0.6Return on ad spend by channelSearch5.2×Social4.6×Video3.1×Display1.8×Search returns $5.20 for each $1 spent.Display has the lowest return.Reply…

An MCP App is a web page attached to a tool. When the model calls the tool, a compatible client opens the page in a sandboxed frame in the chat. The client gives the app the tool arguments and result. See the MCP Apps extension (SEP-1865).

Beta

MCP Apps require Gatana v1.55.0 or later.

Quick start

  1. Add an MCP server with an app, such as https://mcp.draw.io/mcp.
  2. Connect a client that supports MCP Apps to your Gatana MCP URL.
  3. Ask the client to use the tool. For draw.io, ask it to create a diagram.

Turn MCP Apps on or off for a server

MCP Apps are on by default.

  1. Open the server and select Settings.
  2. Under Features, change Enable MCP Apps.
  3. Save.

When you turn off MCP Apps, Gatana stops serving the pages and removes app metadata and app-only tools from tool lists. A client can still use a page it has cached.

Open an app in the dashboard

  1. Open the server and select Apps. This tab appears when the server has a tool with an app.
  2. Select Open app for the tool.
  3. If the tool needs arguments, enter them and select Open app again.

You can also open the app from the Call Tool dialog on the Tools tab. Opening an app runs the tool and creates an audit record. You need permission to call the tool.

Code Mode

The model must call a listed tool directly to open its app. Calls inside execute_code do not open apps.

Gatana adds tools to the list for clients that support MCP Apps. The server must have MCP Apps enabled, and you must have access to at least one app. Set Code Mode Policy in the server settings.

PolicyTools Gatana adds
Promote all tools (default)All tools you can use on that server, plus app-only tools and app names
Promote only MCP app toolsTools that open apps, plus app-only tools and app names

The policy also applies in automatic Code Mode. Tools that a profile promotes stay in the list for all clients. See Code Mode and Promoted Tools.

App-only tools

A server can reserve a tool for its app. Compatible clients hide these tools from the model. The CLI, HTTP API, Gatana assistant and Code Mode scripts also exclude them.

To let the model use an app-only tool, change its settings.

  1. Open the server and select Tools.
  2. Select Edit Overrides for the tool.
  3. Check Allow models to use this tool and save.

App names

An app can call a tool by its original name, such as increment. If two servers use the same app tool name, Gatana drops that name from the tool list. Actions that use the shared name fail. The prefixed tool names, such as counter_increment, stay available.

Output compression

If an app shows no data after a large tool result, turn off Enable Output Compression in the server settings. Compression can replace the data the app needs with a summary.

Apps in Claude

When a server requests a fixed web origin, Gatana sets it from the URL you use to connect Claude. If the app's API accepts only its original origin, ask the server owner to allow the Gatana origin. In a single-tenant installation, connect Claude through the configured public URL.

Security

Use apps from servers you trust

The client runs HTML from the connected server. Gatana serves it without scanning or changing it. Turn off Enable MCP Apps for servers you do not trust.

If your client allows it, an app can call tools you have access to on other servers in Gatana. Gatana applies its access checks, firewall, protection checks and audit logging to these calls.

Gatana reads app pages with your credentials. The audit log records the page address, size and digest. Protection checks still scan tool results.

In the dashboard, apps can call tools only on their own server and contact only the domains they declare. Gatana asks before opening links. An app can request clipboard write access. It cannot use the camera, microphone or location.

Limits

  • Gatana serves app pages with ui:// addresses. Apps that need resources such as file:// cannot read them through Gatana.
  • Gatana opens a new server connection for each call. Apps cannot keep state in that connection between calls.
  • Tools that the server offers only to MCP Apps clients cannot run from the CLI, HTTP API, execute_code or a client without MCP Apps support.
  • In the dashboard, apps cannot use browser storage or embed other sites.

Page addresses

Gatana adds the server slug to each page address. For example, ui://dashboard/view.html becomes ui://<slug>.server/dashboard/view.html.

Last updated on

On this page