anthropics / anthropics/claude-ai-mcp

[BUG] Custom-connector install link: prefill modal never opens on iOS Safari; sign-in redirect drops the prefill params on all platforms

Aberta
#895 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Sem dados de linguagem
Estrelas
471
Forks
76
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

## Summary

The documented install-link format for custom connectors ([Share an install link](https://claude.com/docs/connectors/building/directory-vs-custom)):

```
https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=NAME&connectorUrl=ENCODED_URL
```

works as documented on desktop web (dialog opens prefilled, external-link notice shown). On a real iPhone (iOS Safari, tested 2026-08-19) it never opens the dialog, and on every platform the prefill is lost if the user has to sign in first.

## Repro 1 — iOS Safari, signed in: modal never opens

Device: iPhone, mobile Safari, signed in to claude.ai in the browser. Three URL formats tested from the same session:

| URL format | Result |
|---|---|
| `https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=…&connectorUrl=…` (documented) | Lands on the Connectors settings screen. **No dialog opens; nothing is prefilled.** User must tap `+` → Add custom connector and gets an empty form. |
| `https://claude.ai/new?modal=add-custom-connector&…#settings/customize-connectors` (the URL desktop resolves to) | **Hijacked by the native Claude iOS app** via universal links — the app opens instead of Safari, and the app has no add-connector UI, so the flow dead-ends. (The help article "Open the Claude mobile app with a link" documents only `/code` routes as app links; `/new` appears to be claimed as well.) |
| `https://claude.ai/settings/connectors?modal=add-custom-connector&…` | A "connectors have moved to customize" page; params dropped. |

Expected (per the docs): "The dialog opens with the connector name and URL prefilled."

Note: Chrome-engine mobile *emulation* (390×844, touch, iPhone UA) DOES open the prefilled dialog — the failure only reproduces on real WebKit, so it is easy to miss in testing.

## Repro 2 — signed-out user: sign-in redirect drops the params (all platforms)

Docs say: "If the user isn't signed in, Claude prompts them to sign in and then takes them to the prefilled dialog."

Observed (real device, iOS Safari, signed out): tapping the documented link prompts sign-in as expected, but after completing login the user lands on a plain chat screen. The `modal`/`connectorName`/`connectorUrl` params are gone; no dialog, no prefill. Re-tapping the original link from the source tab is required (which then hits Repro 1 on iOS).

This matters disproportionately on mobile: most phone users have their Claude session in the native app, not in Safari, so the signed-out path is the *common* case there.

## Impact

Developers pointing mobile users at the install link (the only mobile-capable install path while in-app custom-connector install is in beta) currently have to ship a manual copy-paste fallback and platform-conditional copy. A working prefill on mobile web — or at minimum params surviving the login redirect — would restore true one-tap install.

## Environment

- iPhone, current iOS Safari, 2026-08-19, consumer account
- Desktop Chrome (macOS): works as documented ✅
- Connector used for testing: a standard remote MCP server over Streamable HTTP with OAuth (DCR + CIMD)

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.