Cursor throws error while connecting to Claude 4 Sonnet

Describe the Bug

Cursor 1.3.9 version throws below error

We’re having trouble connecting to the model provider. This might be temporary - please try again in a moment.
(Request ID: 5f9e71f3-4e83-4dc7-8125-ef9761e02658)

Request ID: 5f9e71f3-4e83-4dc7-8125-ef9761e02658
{“error”:“ERROR_OPENAI”,“details”:{“title”:“Unable to reach the model provider”,“detail”:“We’re having trouble connecting to the model provider. This might be temporary - please try again in a moment.”,“additionalInfo”:{},“buttons”:},“isExpected”:false}
ConnectError: [unavailable] Error
at BWa.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4846:224431)
at wsr.S (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:495:17762)
at wsr.Q (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:495:17540)
at wsr.M (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:495:16628)
at wsr.L (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:495:15729)
at Wyt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:495:14521)
at we.B (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2398)
at we.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2617)
at Ynt.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4833:10379)
at u.onmessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7043:13881)

Steps to Reproduce

  1. install Cursor 1.3.9
  2. Create a mcp tool and connect with Cursor agent
  3. Switch to Claude 4 Sonnet model

Expected Behavior

Agent should work rather than throwing error

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.3.9 (Universal)
VSCode Version: 1.99.3
Commit: 54c27320fab08c9f5dd5873f07fca101f7a3e070
Date: 2025-08-01T20:27:38.378Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

1 Like

Hey, thanks for the report. Does starting a new chat resolve the issue?

No it doesn’t resolve the issue

same

but restart cursor resolve the issue

1 Like

For us it doesn’t resolve even after restarting the Cursor

Which MCP are you using? Also, check if everything is okay with its connection. Additionally, look into the logs: go to View → Output and select MCP Logs from the dropdown menu.

Which MCP server are you using? If you disable it, will the chat still work? If it’s your own server, check its functionality in the terminal, as there might be errors preventing Cursor from working.

How this error is related to MCP ? I think its something to do with connection between Cursor and Claude

Request ID: 5f9e71f3-4e83-4dc7-8125-ef9761e02658
{“error”:“ERROR_OPENAI”,“details”:{“title”:“Unable to reach the model provider”,“detail”:“We’re having trouble connecting to the model provider. This might be temporary - please try again in a moment.”,“additionalInfo”:{},“buttons”:},“isExpected”:false}
ConnectError: [unavailable] Error
at BWa.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4846:224431)

If you’re using a non-working MCP, it might interfere with Cursor, especially since you mentioned it in your first message.

When i use Agent with Auto mode then same mcp works fine but when i select a specific model then it throws error.

I have exactly the same problem, I wrote about it earlier. Only restarting Cursor helps.

@koystrubvs Did it work for you with mcp ?

I have those errors for a third day and no real help form Cursor

1 Like

Cursor - do you have any support or just ignore customers? Third day? Seriously?

1 Like

This is not MCP - I have removed every single MCP and still no luck. I did fresh installation of Cursor, no MCP and every single model is failing except Auto - for the last three days like that with no help

Same problem, started today.

Request ID: 62354330-0b70-412f-b9c5-926a1ab762a4
{“error”:“ERROR_OPENAI”,“details”:{“title”:“Unable to reach the model provider”,“detail”:“We’re having trouble connecting to the model provider. This might be temporary - please try again in a moment.”,“additionalInfo”:{},“buttons”:},“isExpected”:false}
ConnectError: [unavailable] Error
at BWa.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4846:224431)
at wsr.S (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:495:17762)
at wsr.Q (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:495:17540)
at wsr.M (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:495:16628)
at wsr.L (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:495:15729)
at Wyt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:495:14521)
at we.B (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2398)
at we.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2617)
at Ynt.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4833:10379)
at u.onmessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7043:13881)

1 Like

Removing the Figma MCP server did not solve it. Restarting Cursor did not solve it.

Only after starting a new chat after removing the MCP server brought it back. So definitely there is a connection to the MCP server but just removing or disabling the server is not enough. A new chat must be started, previous context must be discarded completely.

1 Like

In my case it didnt helped - I have removed all MCPs, removed cursor completely, deleted directories and installed it again. After your suggestion I have tried creating a new chat but result is similar - it doesn’t say it cannot connect to the model but gave me error 500 (internal server error):

Request ID: 39835613-2c6a-417a-b033-31b51827880e{“error”:“ERROR_UNSPECIFIED”,“details”:{“title”:“Internal server error.”,“detail”:“If the problem persists, please check your internet connection or VPN, or email us at [email protected].”,“additionalInfo”:{},“buttons”:},“isExpected”:false}ConnectError: [internal] Errorat BWa.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4846:224431)at wsr.S (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:495:17762)at wsr.Q (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:495:17540)at wsr.M (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:495:16628)at wsr.L (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:495:15729)at Wyt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:495:14521)at we.B (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2398)at we.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2617)at Ynt.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4833:10379)at u.onmessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7043:13881)

There is a lot of errors in the console as well

1 Like