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 SSE client missing Accept header for text/event-stream #2651
When connecting to remote MCP servers that use SSE (Server-Sent Events), nanobot does not send the required Accept header that includes both application/json and text/event-stream.
Affected MCP Servers
This issue affects Z.ai MCP servers:
https://api.z.ai/api/mcp/web_search_prime/mcp
https://api.z.ai/api/mcp/web_reader/mcp
These servers require:
Accept: application/json, text/event-stream
Current Behavior
Nanobot sends only Accept: application/json, causing the server to reject the connection with an error like:
Accept header must include both application/json and text/event-stream
Activity
fix(tools): add Accept header for MCP SSE connections (HKUDS#2651)
fix(tools): add Accept header for MCP SSE connections (#2651)
chengyongru commentedon Mar 31, 2026
see: #2656
feat: rebase feishu and add rg skill (#1)
fix(tools): add Accept header for MCP SSE connections (HKUDS#2651)
fix(tools): add Accept header for MCP SSE connections (HKUDS#2651)