HTTP MCP servers fail discovery in Agent CLI sessions: tools/list is never sent

,

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

Inside a Cursor Agent CLI session, every Streamable HTTP MCP server in my config fails with “This MCP server failed during live tool discovery”. The same servers work from agent mcp list and agent mcp list-tools in the same environment.

I traced one session through a local logging proxy:

  1. POST initialize: 200
  2. POST notifications/initialized: 202
  3. GET opens the event stream three times: 200 text/event-stream, same session ID
  4. The session never sends tools/list

Three unrelated HTTP servers fail the same way, including GitHub’s and Render’s hosted servers. CLI 2026.11.19 listed and used these servers on 2026-11-19 and now fails too, so this may be a backend or feature-flag change.

This looks different from the Windows project-approval bug in Cursor CLI can see my MCP servers, but Agent sessions still can't use them because this is Linux and the session does connect and initialize.

Steps to Reproduce

  1. Add a Streamable HTTP MCP server to mcp.json (GitHub’s or Render’s hosted server shows this).
  2. Run agent mcp list. The server shows ready.
  3. Run agent mcp list-tools <server>. Its tools are listed.
  4. Start an agent session and ask it to use one of that server’s tools.

Expected: the session discovers the tools and can call them.
Actual: discovery fails with the error above.

Operating System

Linux

Version Information

2026.11.22-e9042b2, and it also fails on 2026.11.19

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @AriMahpour, the repeated GETs are just the event stream reconnecting, so the missing tools/list is the real issue. I couldn’t reproduce it yet though.

Interactive sessions load MCP servers differently from agent mcp list-tools, so could you try a couple of things?

  1. In the same folder, run agent -p "List the MCP tools you can see for <one of the HTTP servers>. Do not call any of them." and see if the tools show up.
  2. Start agent normally, let the discovery error happen, then type /logs to get the log file path.
  3. Send back the result from step 1 and any MCP lines from that log. If the CLI is signed in with a different email than your forum one, let me know which (a DM is fine).

If step 1 lists the tools, -p should work as a workaround for now.