anthropics / anthropics/claude-code

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

Đang mở
#93,777 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:mcp bug external
Ngôn ngữ chính
Python
Star
145k
Fork
23.1k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
api, backend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
68/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.