I spent nearly two days :smiling_face_with_tear: figuring this out, and I finally managed to get Claude Code installed on Windows and integrated into Cursor! In my case, even after successfully installing both Cursor and Claude Code, the /ide route still couldn’t detect Cursor — I tried all the usu… Answer from CCTTTCTCT on forum.cursor.com
🌐
Reddit
reddit.com › r/claudeai › claude code keeps disconnecting from cursor ide and creating duplicate sessions
r/ClaudeAI on Reddit: Claude Code keeps disconnecting from Cursor IDE and creating duplicate sessions
July 10, 2025 -

I’m running into a persistent issue with CC when using it with Cursor. It connects to the IDE initially, but after a few minutes it silently disconnects. When I type /ide again, it shows multiple Cursor sessions like:

1. Cursor  
2. Cursor (55455)  
3. Cursor (another PID)

Even when I connect to the base “Cursor” entry, it still disconnects shortly after. I’ve tried:

  • Reinstalling the Claude extension

  • Killing ghost Cursor processes

  • Clearing ~/.claude/local/.mcp

  • Migrating to the local Claude CLI install

Nothing fixes it. The IDE shows “Connected” briefly, but always drops after a few minutes. I’m using macOS and only running one Cursor window.

Anyone else facing this or know how to fully stabilize the connection?

🌐
GitHub
github.com › anthropics › claude-code › issues › 1399
[BUG] Claude Code IDE Connection Issue · Issue #1399 · anthropics/claude-code
May 29, 2025 - The CLI consistently shows "No available IDEs detected" even when IDEs are running with Claude Code extensions installed and functional.
Published   May 29, 2025
🌐
GitHub
github.com › anthropics › claude-code › issues › 4837
[BUG] Frequent IDE disconnections disrupting workflow in VS Code integration · Issue #4837 · anthropics/claude-code
July 31, 2025 - The IDE connection drops every few minutes, requiring manual reconnection. This disrupts workflow and reduces productivity as the connection needs to be re-established repeatedly.
Published   Jul 31, 2025
🌐
GitHub
github.com › anthropics › claude-code › issues › 2381
Claude Code does not connect to any IDE after upgrading to 1.0.28+ · Issue #2381 · anthropics/claude-code
June 20, 2025 - When I downgrade to 1.0.27 then it starts working in all IDEs. Install Claude Code via npm install -g @anthropic-ai/[email protected].
Published   Jun 20, 2025
🌐
Aiville
aiville.com › c › claude-ai › understanding-ide-disconnected-in-claude-code
Understanding 'IDE Disconnected' in Claude Code | Aiville
If you're seeing 'IDE disconnected' in Claude Code, you're not alone! This can be a bit confusing, especially when you're just starting out. Let's break it down step by step. First off, the IDE (Integrated Development Environment) is a tool that helps...
🌐
Reddit
reddit.com › r/claudeai › claude code constantly says ‘ide disconnected’
r/ClaudeAI on Reddit: Claude Code constantly says ‘IDE disconnected’
March 27, 2025 - The Claude Code extension on VSCode is the one communicating with Claude CLI. The disconnect is between them. Claude CLI works directly on files, so the state of extension on VSCode won't affect how it works.
🌐
GitHub
github.com › anthropics › claude-code › issues › 4854
Cursor IDE Connection Instability · Issue #4854 · anthropics/claude-code
July 31, 2025 - Bug Description The IDE keeps disconnecting in Cursor. Environment Info · Platform: darwin · Terminal: cursor · Version: 1.0.64 · Feedback ID: 9c131c4d-cb59-4cfe-82c8-df42a9900aa2 · Errors · [{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:882:11)\n at execSync (node:child_process:954:15)\n at t7 (file:///User
Published   Jul 31, 2025
Find elsewhere
🌐
Reddit
reddit.com › r/claudecode › ide disconnected in claude code on vs code
r/ClaudeCode on Reddit: IDE Disconnected in Claude Code on VS code
August 27, 2025 -

I have been using Claude Code - directly in VS code, and I am struggling with the IDE constantly disconnecting error in the status line. Do anyone else have the same issue here and have found fix aroun this ?

🌐
Anthropic
docs.anthropic.com › en › docs › claude-code › troubleshooting
Troubleshooting - Claude Code Docs
If you’re experiencing IDE integration problems on Windows, create an issue with the following information: Environment type: native Windows (Git Bash) or WSL1/WSL2 · WSL networking mode (if applicable): NAT or mirrored ... Shell type: Bash, Zsh, PowerShell, etc. If you’re using Claude Code in JetBrains terminals and the Esc key doesn’t interrupt the agent as expected, this is likely due to a keybinding clash with JetBrains’ default shortcuts.
🌐
Reddit
reddit.com › r/claudeai › claude code ide extension is distracting
r/ClaudeAI on Reddit: Claude Code IDE Extension is distracting
April 4, 2025 -

i like the extension because it allows me to do simple things that i care about such as highlighting lines, opening a file, and the AI would know where im at.

but i HATE that it interrupts my flow. i use the intellij extension, and i work in parallel, meaning i have other IDE tabs open in other files while Claude Code does its thing. everytime it writes something, i get teleported to the line of interest of Claude. i have it on dangerously-skip-permissions so i couldnt care less about what its doing. i wanna check on it whenever I WANT, not whenever it wants.

is there a way to disable this without uninstalling the extension?

🌐
Cursor
forum.cursor.com › discussions
Cursor + Claude code: IDE is not connected - Page 2 - Discussions - Cursor - Community Forum
June 15, 2025 - Hi, i solved this by opening cursor in WSL. Within Terminal, cd to the path of the repo within WSL, will look something like /mnt/c/ and then open cursor from there (cursor .) with full path.
🌐
Cursor
forum.cursor.com › discussions
Cursor + Claude code: IDE is not connected - #16 by danperks - Discussions - Cursor - Community Forum
June 9, 2025 - As mentioned, Claude Code is built to (at least in VSCode) automatically install it’s extension when you run it in the terminal. I can’t speak to the specifics of installing it on Windows in WSL, but this would be something to raise on the Claude Code side I believe.
🌐
Reddit
reddit.com › r/claudecode › why do i keep seeing 'ide disconnected' message?
r/ClaudeCode on Reddit: Why do i keep seeing 'IDE disconnected' message?
July 31, 2025 -

Hi,

For some reason (really no reason to my perspective), I keep seeing the message IDE disconnected.

I searched this error on google and i found the video "Use Claude Code in Cursor. Get the best of both worlds" and it fixed the problem but shortly after my claude ide connected to cursor IDE shows the error again. how do I fix this?

🌐
GitHub
github.com › anthropics › claude-code › issues › 1279
[BUG] Claude Code doesn't detect that the IDE is cursor · Issue #1279 · anthropics/claude-code
May 23, 2025 - > Select IDE │ │ Connect to an IDE for integrated development features. │ │ │ │ No available IDEs detected. Make sure your IDE has the Claude Code extension or plugin installed and is running.
Published   May 23, 2025
🌐
Claude
claude.ai › public › artifacts › 3f9b7523-e7a0-463c-a1fa-f027a81460a3
Claude Code VS Code Extension Integration Issue
The CLI works fine without the extension, but you won't have IDE integration features. ... # Check the file size (macOS/Linux) ls -la ~/.claude/local/node_modules/@anthropic-ai/claude-code/vendor/claude-code.vsix # Check the file size (Windows) dir %USERPROFILE%\\.claude\\local\\node_modul...
🌐
Anthropic
docs.anthropic.com › en › docs › claude-code › ide-integrations
Visual Studio Code - Claude Code Docs
The legacy integration auto-installs when you run claude from VS Code’s integrated terminal. Run claude from the terminal and all features activate. For external terminals, use the /ide command to connect Claude Code to your VS Code instance. To configure, run claude, enter /config, and set the diff tool to auto for automatic IDE detection.
🌐
GitHub
github.com › anthropics › claude-code › issues › 4871
[BUG] Claude Code IDE connectivity issues with the latest update (1.0.64) · Issue #4871 · anthropics/claude-code
July 31, 2025 - Tracker for connectivity issues starting at: #1399 (comment) We are getting more reports of VSCode IDE extensions disconnecting with the latest Cursor + Claude Code updates. We are actively investigating this now. If this is happening to...
Published   Jul 31, 2025
🌐
GitHub
github.com › anthropics › claude-code › issues › 1232
[BUG] Claude Code does not detect Jetbrains IDE on Windows WSL · Issue #1232 · anthropics/claude-code
May 22, 2025 - Restart multiple times IntelliJ as per the docs https://docs.anthropic.com/en/docs/claude-code/ide-integrations
Published   May 22, 2025