You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[MCP] Vercel MCP not supported - OpenCode not in approved clients list #27761
Vercel MCP is not working in OpenCode. Even with a valid API token configured, the server returns an authentication error.
According to the official Vercel MCP documentation, Vercel maintains a whitelist of approved MCP clients and OpenCode is not on the list. Clients like Claude Code, Cursor, ChatGPT, etc. are supported, but OpenCode is not recognized even when using a valid Full Account Access token.
Error received:
{"jsonrpc":"2.0","error":{"code":-32000,"message":"Not Acceptable: Client must accept both application/json and text/event-stream"},"id":null}
Reference: https://vercel.com/docs/agent-resources/vercel-mcp
This issue might be a duplicate of an existing issue. Please check:
MCP client doesn't send Accept header required by Context7 (causes 406 Not Acceptable error) #6972: Same root cause — OpenCode MCP client not sending the required Accept: application/json, text/event-stream header, resulting in the identical error message: Not Acceptable: Client must accept both application/json and text/event-stream. That issue covers Context7 but the underlying fix (adding the Accept header) would likely resolve Vercel MCP connectivity as well.
Activity
github-actions commentedon May 15, 2026
This issue might be a duplicate of an existing issue. Please check:
Accept: application/json, text/event-streamheader, resulting in the identical error message:Not Acceptable: Client must accept both application/json and text/event-stream. That issue covers Context7 but the underlying fix (adding the Accept header) would likely resolve Vercel MCP connectivity as well.rekram1-node commentedon Jun 9, 2026
we aren't in the docs for whatever reason but vercel mcp does work in opencode:
opencode mcp auth vercel
-> opencode
It works just tested