ui/open-link request, Claude shows an “Open external link” confirmation modal before navigating. This protects users from being silently redirected by an embedded app.
Directory connectors can declare a set of trusted destinations that open immediately without the modal. Custom connectors and locally configured servers always show the modal.
Default behavior
Aui/open-link request displays a confirmation modal showing the destination URL. The link opens in a new tab when the user confirms; the request resolves as cancelled if they dismiss the modal.
Allowlisting link destinations
If your connector is published in the Connectors Directory, you can declare destinations that skip the modal. Provide them in the Allowed link URIs field when you submit or update your directory listing. Each entry must be one of two shapes:| Entry shape | Example | Matches |
|---|---|---|
| HTTPS origin | https://docs.example.com | Any https:// URL whose hostname is exactly docs.example.com (case-insensitive). Subdomains do not match implicitly; list each one you need. Port is not compared. |
| 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. |
example.com, http:// origins, and malformed values.
Example
Given the following allowlist:https://example.com/pricinghttps://docs.example.com/getting-started?ref=claudeexample-app://open/project/123
https://blog.example.com(subdomain not listed)http://example.com(not HTTPS)https://example.com.attacker.net(different hostname)
Restrictions on custom schemes
A custom-scheme entry must name a scheme your application registers and owns. Entries that name a generic, browser-internal, or platform-reserved scheme are rejected. This includeshttp, https, file, data, javascript, blob, mailto, tel, sms, intent, android-app, browser-extension schemes, and Windows shell schemes such as search-ms and shell.
User-activation requirement
The modal is bypassed only when theui/open-link request follows a real user gesture in your app, such as a button click.
If your app sends ui/open-link without a preceding gesture (programmatically, on a timer, or after the browser’s activation window has expired), the modal is shown so the user’s confirmation click supplies the gesture the browser requires to open a new tab.
A bypassed
ui/open-link request resolves successfully once the open is attempted; it does not indicate whether the browser actually opened the tab. Do not treat the response as confirmation that the user reached the destination.Design for the modal
Even with an allowlist configured, your app should remain usable when the modal appears:- Custom and local connectors always show the modal. Your app may run outside the directory during development or in self-hosted deployments.
- Destinations not on your allowlist, or added since your last published directory update, show the modal.
- Requests without user activation show the modal.