anthropics / anthropics/claude-code

Vercel MCP connector doesn't forward teamId/slug parameter to Vercel API — team-scoped token sees 0 projects

Aperta
#93,777 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:mcp bug external
Lingua principale
Python
Stelle
145k
Fork
23.1k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

The Vercel MCP connector's `list_projects` and `get_project` tools accept a `teamId` parameter (team ID or slug), but that value doesn't appear to reach the actual Vercel API request.

- `list_teams` correctly resolves my team (`team_OhRJgx3l28SST2A2mbkVjHPF`).
- `list_projects(teamId: "team_OhRJgx3l28SST2A2mbkVjHPF")` returns an empty project list, despite the team having active projects (confirmed visible in the Vercel dashboard under this same team).
- `get_project(projectId: "", teamId: "team_OhRJgx3l28SST2A2mbkVjHPF")` returns 404.
- Retested with the team **slug** instead of the ID in both calls — identical failure.
- Vercel's own support agent confirmed the personal-access token this connector uses is genuinely team-scoped, and that the fix is exactly to pass `teamId`/`slug` on the request — which I am already doing, in two different valid forms, with no change in behavior.
- Fully disconnected and reconnected the connector (not just reauthorized) — no change.

This points to the connector not threading its `teamId` parameter into the outgoing Vercel API call. Would appreciate someone checking the implementation.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by locating the Vercel MCP connector implementations for the list_projects and get_project tools, then trace how their teamId argument becomes an outgoing Vercel API request. Reproduce the calls with both the team ID and slug, and consider the issue done when team-scoped requests return the expected projects and project details instead of an empty list or 404.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
api, backend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
68/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.