anthropics / anthropics/claude-ai-mcp

MCP connector URL validator rejects valid URLs with modern TLDs or deep subdomains

Aperta
#368 9 commenti 19 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Nessun dato sulla lingua
Stelle
471
Fork
77
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### What happened?

When trying to install the Metabase MCP connector in Claude, the server URL input field rejects a valid HTTPS URL with the error:

> L'URL du serveur ne correspond pas au format attendu.
> (The server URL does not match the expected format.)

The rejected URL is:
https://prod.metabase.eu-west-3.xxxx.xxxx/api/mcp

### What did you expect to happen?

The connector installer should accept any syntactically valid HTTPS URL, regardless of TLD or subdomain depth. Validation should rely on a standard URL parser (e.g. `new URL(input)` in JS) rather than a custom regex

### Steps to reproduce

1. Open Claude (web app and Windows Desktop Client).
2. Go to **Directory → Connectors** and select **Metabase**.
3. Click **Install**.
4. In the "Paste the server URL here" field, enter:

### Area

MCP Connector (adding/managing servers)

### MCP Server (if applicable)

_No response_

### Error messages or logs

```shell

```

### Additional context

_No response_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.