Gemini pro 2.5 doesn't work in Agent mode

Describe the Bug

The Gemini 2.5 Pro model is not working in Agent mode. It’s been unstable since almost 2 days ago.

Getting this all the time:
“We’re having trouble connecting to the model provider. This might be temporary - please try again in a moment.”

I am forced to use Sonnet 4 which is an absolute mess with some tasks and just wastes tokens overthinking.

The last thing I saw was that it started infinite looping some text in a file. I stopped it and after that I get that message, it’s now been like this for about 4 hours.

Ask mode works with the model. If it’s in Ask mode and it tries to edit a file (like in agent mode) the model says it can’t process the request.

Steps to Reproduce

Not sure, I have not found a repeating pattern yet.
The last thing I saw was that it started infinite looping some text in a file. I stopped it and after that I get that message, it’s now been like this for about 4 hours.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:53:59.659Z
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.4.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, do you have MCP servers enabled? Try disabling them and check again.

I’m having the same issues since last week.
It’s indeed working by disabling the MCP servers, but that’s a very annoying limitation.

Any reason why MCP server would not work with gemini? I especially use Sentry & Notion

If you have MCP Git, disabling it should resolve the issue until we fix it.

Seems like the one causing issue is Notion. I’ll turn that off for now.
Thanks