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
Exa MCP endpoint (mcp.exa.ai) timing out while REST API works #6878
The Exa MCP remote endpoint (https://mcp.exa.ai/mcp) experiences frequent timeouts and 520 Cloudflare errors when used with OpenCode, while the REST API (api.exa.ai) works without issues.
The 520 error is a Cloudflare error meaning "web server returns an unknown error" - this occurs when Exa's origin server (behind Cloudflare) returns an empty or unexpected response.
I might be an opencode "issue". In v1.1.1 was introduced a default timeout of 5000 ms, so you should try adding the timeout property to your config like this:
OpenCode v1.1.1 introduced a 5000ms default timeout. Adding "timeout": 31000 to the config resolves timeout errors.
2. 520 Cloudflare Error (Exa-side)
The 520 error is a Cloudflare error meaning "web server returns an unknown error" - this occurs when Exa's origin server (behind Cloudflare) returns an empty or unexpected response. This is an Exa infrastructure issue, not OpenCode.
Activity
kevoconnell commentedon Jan 4, 2026
I can replicate the same issue
cravenceiling commentedon Jan 4, 2026
I might be an opencode "issue". In
v1.1.1was introduced a default timeout of5000ms, so you should try adding thetimeoutproperty to your config like this:chindris-mihai-alexandru commentedon Jan 4, 2026
Update after investigation:
There appear to be two separate issues here:
1. Timeout Issue (OpenCode-related)
OpenCode v1.1.1 introduced a 5000ms default timeout. Adding
"timeout": 31000to the config resolves timeout errors.2. 520 Cloudflare Error (Exa-side)
The
520error is a Cloudflare error meaning "web server returns an unknown error" - this occurs when Exa's origin server (behind Cloudflare) returns an empty or unexpected response. This is an Exa infrastructure issue, not OpenCode.Reference: https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/
Workarounds
The local server uses the REST API (api.exa.ai) directly, which is working fine.
Related Issues
i-m-sid commentedon Jan 5, 2026
There is issue with Exa server, nothing to do with OpenCode
connorads commentedon Jan 5, 2026
Can confirm that using the local exa MCP server instead of remote has fixed the issue for now
https://docs.exa.ai/reference/exa-mcp#configuring-claude-desktop
Use local exa server
JakubHojsan commentedon Jan 5, 2026
We are investigating the Cloudflare issue on Exa's side
JakubHojsan commentedon Jan 5, 2026
It looks like the 520 might be resolved. Feel free to tag me in any Exa issue
JakubHojsan commentedon Jan 5, 2026
sones3 commentedon Jan 5, 2026
Resolved indeed!
chindris-mihai-alexandru commentedon Jan 5, 2026
Works again for me too!