anthropics / anthropics/claude-ai-mcp

Better Error Messages for Invalid URLs

Offen
#243 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Keine Sprachdaten
Sterne
471
Forks
77
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Problem Statement

I bashed my head against a wall for quite some time, not realising that you didn't accept non-standard ports in your MCP server URLs.

The error message you get if someone has put a port number in the Connector URL is useless in understanding why the connection failed.

### Proposed Solution

Validate the URL field - either before or after hitting the 'Add' button - and tell the user when their MCP server URL is invalid.

You already check for structural validity (ie. contains https), it just needs to also report an error if the URL contains a colon before the 3rd slash.

### Alternatives Considered

_No response_

### Area

MCP Connector (adding/managing servers)

### Priority

Medium - Would be helpful

### Additional Context

_No response_

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.