Design guidelines changedconnectors/building/mcp-apps/design-guidelines
Nearest release: v2.1.326, published under an hour before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 16 Nov 2026 19:22 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 16 Nov 2026 19:37 UTC.
Upstream edited
Recorded here
Lines+45added
Lines−4removed
From line
16
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits8to this page, all time
### Declare an app icon for Claude
The whole hunk
from line 16, old and new numbered
/
from line 16
1616
1717## Design for the conversation
1818
19Design your app as an extension of the conversation rather than a separate app that appears alongside it. Your app inherits conversational context and helps users accomplish meaningful tasks without breaking flow. These principles follow from that:
19Design your app as an extension of the conversation rather than a separate app that appears alongside it. Your app helps users accomplish meaningful tasks without breaking flow. These principles follow from that:
2020
2121* **Conversational**: fit naturally into dialogue, and don't force users to learn new interaction patterns
22* **Contextual**: use conversation history to inform what you display and when
22* **Contextual**: use the arguments that Claude passes to your tool to inform what you display and when
2323* **Integrated**: inherit styling and conventions from the containing environment
2424* **Adaptive**: handle variable sizing, mobile viewports, and diverse accessibility needs gracefully
2525
from line 133
133133* A fullscreen request from your app opens the side panel where there is one, and users go on to full screen from the panel
134134* The composer is always visible, so design your UX to work with it
135135* No floating panels, so use collapsible sidebars, tabs, or pagination to disclose details
136* The chat sheet maintains conversational context
137136
138137On mobile, your app fills the entire screen with the chat input and navigation bar overlaid on top, so keep critical UI within the safe area. Use the full viewport width, and support both portrait and landscape where it makes sense.
139138
from line 140
141140
142141## Mobile guidelines
143142
144MCP Apps on mobile follow the same principles as on web, but the constrained viewport and touch-based interaction require specific adaptations. On mobile, Claude renders apps in a native WebView, `WKWebView` on iOS and `WebView` on Android, rather than a sandboxed iframe. Apps on mobile have no camera, microphone, or location access, and users must add a connector on web or desktop before it appears on mobile.
143MCP Apps on mobile follow the same principles as on web, but the constrained viewport and touch-based interaction require specific adaptations. On mobile, Claude renders apps in a native WebView, `WKWebView` on iOS and `WebView` on Android.
145144
145On Android, apps have no camera, microphone, or location access. On iOS, an app that requests the camera or the microphone in `_meta.ui.permissions` can use it after the user allows it. A view that Claude allows to embed a site [can't use either](https://claude.com/docs/connectors/building/mcp-apps/embedded-sites.md#device-features-in-views-that-embed-sites). Claude on mobile doesn't report these features in `app.getHostCapabilities()?.sandbox?.permissions`, so call the browser API, such as `getUserMedia()`, without checking that field, and handle a refusal.
146
146147### Host context for layout
147148
148149The host passes layout hints to your app through `hostContext`. Apps always fill the container width, with no fixed breakpoints, so design responsively from 320px up to fullscreen using container queries and the `hostContext` CSS variables.
from line 272
271272
272273
273274
275### Declare an app icon for Claude
276
277Claude can show an icon of your own for an MCP App, in place of your connector's icon or your listing's logo. The icon can appear in the title bar over a view in the side panel and in full screen. Where the app has an [entry point](https://claude.com/docs/connectors/building/mcp-apps/entry-points.md), the icon can also appear on the app's tile on the [**Artifacts**](https://claude.ai/artifacts) page. Declared icons aren't available in every organization or conversation.
278
279Declare the icon in the `icons` list of your server's `serverInfo`, as an inline `data:` URI:
280
281```ts theme={null}
282import { readFileSync } from "node:fs";
283import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
284
285const icon = {
286 src: `data:image/png;base64,${readFileSync("icon.png").toString("base64")}`,
287 mimeType: "image/png",
288};
289
290const server = new McpServer({
291 name: "board",
292 version: "1.0.0",
293 icons: [icon],
294});
295```
296
297Your server's `initialize` result then holds the icon in `serverInfo.icons`.
298
299These have to hold:
300
301* **Source**: an inline `data:` URI in `src`. Claude doesn't fetch an icon from a URL. An `https:` entry for other clients can stay in the list, after the inline one
302* **Format**: `data:image/png;base64,` or `data:image/jpeg;base64,`. Claude removes an inline SVG entry from `serverInfo`
303* **Size**: keep the icon to 64 to 128 px and under 10 KB. Declare one inline icon in `serverInfo`, where the whole object, icons included, can take about 16,000 characters of JSON. Beyond that, Claude drops all of it
304* **Connector**: the connector has a [Verified](https://claude.com/docs/connectors/verification.md#verified) listing, or it's a custom connector whose address matches no directory listing
305* **Names**: the tool's [title](https://claude.com/docs/connectors/building/mcp-apps/entry-points.md#set-the-title-name-and-description-of-the-marked-tool), and a custom connector's name, leave out Claude's name and Anthropic's name
306
307When no declared icon meets the requirements, Claude shows the listing's logo or the connector's icon, and shows no error. If your icon meets the requirements and doesn't appear, your organization may not have access, or the conversation may not offer it.
308
309To give each app its own icon, add an `icons` list to the tool that opens the app, in your server's `tools/list` result. Claude uses the tool's icon before the server's. To check that the field is there, [list your server's tools](https://claude.com/docs/connectors/building/testing.md#validate-with-mcp-inspector).
310
311Version 1 of the TypeScript SDK (`@modelcontextprotocol/sdk`), which the [quickstart](https://claude.com/docs/connectors/building/mcp-apps/quickstart.md) uses, doesn't send a tool's `icons` through `registerTool` or `registerAppTool`. With it, use `serverInfo`, which gives all your apps one icon, or answer `tools/list` yourself. Version 2 (`@modelcontextprotocol/server`) sends them through `registerTool`, and through `registerAppTool` in JavaScript.
312
274313### Spacing
275314
276315Maintain generous padding and logical groupings. Balance information density with readability, adapting to viewport constraints.
from line 341
302341* Anything that benefits from Claude's interpretation
303342
304343If the interaction requires language understanding or generates a response from Claude, it goes through chat. If it's a direct UI action on content your app already controls, handle it in the app.
344
345When your app loads again, it starts from your HTML, so store on your server anything that you need to keep.
305346
306347### Reveal complexity progressively
307348
No line in this hunk matches that.