Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.325 Latest v2.1.331 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-docs

Open external links from MCP Apps changedconnectors/building/mcp-apps/external-links

Nearest release: v2.1.332, published 5 hours after 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 24 Nov 2026 16:50 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 24 Nov 2026 17:07 UTC.

Upstream edited
Recorded here
Lines+9added
Lines−9removed
From line 2 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits7to this page, all time

The whole hunk

from line 2, old and new numbered
/
lines
from line 2
22 
33> Declare allowed link destinations so ui/open-link requests from your directory connector's MCP App open without Claude's confirmation modal.
44 
5When your MCP App sends a `ui/open-link` request, Claude shows an **Open external link** confirmation modal before navigating. The modal protects users from being silently redirected by an embedded app.
5When your MCP App sends a `ui/open-link` request for a web URL, Claude shows an **Open external link** confirmation modal before navigating. The modal protects users from being silently redirected by an embedded app.
66 
7If your connector is published in the [Connectors Directory](https://claude.com/docs/connectors/directory.md), you can declare a set of trusted destinations that open immediately without the modal. Custom connectors and locally configured servers always show it. To skip the modal for a directory connector, [allowlist your destinations](#allowlist-link-destinations) and send each request after a [real user gesture](#user-activation-requirement), then [design your app](#design-for-the-modal) for the cases where the modal still appears.
7If your connector is published in the [Connectors Directory](https://claude.com/docs/connectors/directory.md), you can declare a set of trusted destinations that open immediately without the modal. Custom connectors and locally configured servers can't declare them. To skip the modal for a directory connector, [allowlist your destinations](#allowlist-link-destinations) and send each request after a [real user gesture](#user-activation-requirement), then [design your app](#design-for-the-modal) for the cases where the modal still appears.
88 
99## Default link behavior
1010 
11A `ui/open-link` request displays a confirmation modal showing the destination URL. If the user confirms, the link opens in a new tab. If they dismiss the modal, the request resolves as cancelled.
11A `ui/open-link` request for a web URL displays a confirmation modal showing the destination URL. If the user confirms, the link opens in a new tab. On the web and in Claude Desktop, if they dismiss the modal, the result has `isError: true`. There, while an approval request is waiting, Claude can also refuse a `ui/open-link` request without showing the modal, with the same result.
1212 
1313## Allowlist link destinations
1414 
from line 19
1919| Entry shape | Example | Matches |
2020| - | - | - |
2121| HTTPS origin | `https://docs.example.com` | Any `https://` URL whose hostname is exactly `docs.example.com`, case-insensitive. Subdomains don't match implicitly, so list each one you need. Port isn't compared. |
22| Custom URI scheme | `example-app` or `example-app:` | Any URL with the scheme `example-app:`, typically a deep link into your native mobile or desktop app. |
22| Custom URI scheme | `example-app` or `example-app:` | Any URL with the scheme `example-app:`, typically a deep link into your native mobile or desktop app, though Claude Desktop doesn't open these links. |
2323 
2424Entries that don't fit one of these shapes are ignored. This includes bare hostnames such as `example.com`, `http://` origins, and malformed values.
2525 
from line 37
3737 
3838* `https://example.com/pricing`
3939* `https://docs.example.com/getting-started?ref=claude`
40* `example-app://open/project/123`
40* `example-app://open/project/123`, except in Claude Desktop
4141 
4242These destinations still show the confirmation modal:
4343 
from line 53
5353 
5454Claude bypasses the modal only when the `ui/open-link` request follows a real user gesture in your app, such as a button click.
5555 
56If your app sends `ui/open-link` without a preceding gesture, for example programmatically, on a timer, or after the browser's activation window has expired, Claude shows the modal so the user's confirmation click supplies the gesture the browser requires to open a new tab.
56If your app sends `ui/open-link` without a preceding gesture, for example programmatically, on a timer, or after the browser's activation window has expired, Claude doesn't bypass the modal, whose confirmation click supplies the gesture the browser requires to open a new tab.
5757 
5858> [!NOTE]
5959>
from line 63
6363 
6464Even with an allowlist configured, the modal still appears in some cases, so your app should remain usable when it does:
6565 
66* Custom and local connectors always show the modal, and your app may run outside the directory during development or in self-hosted deployments
67* Destinations not on your allowlist, or added since your last published directory update, show the modal
68* Requests without user activation show the modal
66* Custom and local connectors can't declare an allowlist, and your app may run outside the directory during development or in self-hosted deployments
67* Web destinations not on your allowlist, or added since your last published directory update, show the modal
68* Requests without user activation don't bypass the modal
6969 
7070Provide enough context in your UI that the destination URL shown in the modal is recognizable to the user.
7171 
Feedback