Claude Extension Fails to Initialize or Load on Cursor
Bug Description The Claude extension suddenly stopped working, not sure what happened
Environment Info
- Platform: darwin
- Terminal: cursor
- Version: 1.0.30
- Feedback ID: f9db7bbf-b0e8-4996-8ca4-a2fe209f84c3
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:892:11)\n at execSync (node:child_process:964:15)\n at NZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:699:3921)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:9014\n at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n at QX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:8160)\n at kS (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:7241)\n at L9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:622:11408)","timestamp":"2025-06-20T13:47:44.896Z"}]
I have the same exact error (Command failed: security find-generic-password ...), just tried again to verify it was the same... (see #2363)
Could you try updating your extension manually and seeing if this resolves the issue? If not, we'll dig into it.
Could you try updating your extension manually and seeing if this resolves the issue? If not, we'll dig into it.
I'll reply here instead of my original issue #2363. Tried everything I've found online:
- uninstalled old extension
- closed Cursor
- restarted mac
- reinstalled vsix extension manually (first cp the vsix from inside node_modules to Downloads folder, then used Install from vsix command in Cursor to install the new vsix)
- closed Cursor again
- restarted
- started Cursor and Claude Code inside Cursor or outside
- ran /ide command ... result NO IDE CONNECTED
Conclusion: it's broken, and it's not only me ;) PS: just updated to CC 1.0.31, forced update like before, and IDE connection still not working
Sorry for the break - we're digging into it and should have an update soon.
When launching Claude Code- can you make sure you do it by executing claude from a terminal window in Cursor? And before that, checking the version? Just want to make sure everything is reporting the right version.
Same issue, suddenly stopped working inexplicably, after having a great time with it over the previous few days. Also having the same issue with other IDEs like Webstorm which were also fine a day or so ago, so would assume that #2381 pertains to the same problem.
When launching Claude Code- can you make sure you do it by executing
claudefrom a terminal window in Cursor? And before that, checking the version? Just want to make sure everything is reporting the right version.
I start CC in the Cursor terminal window, and after having installed the extension, using the Claude icon in the editor top bar. Both Claude Code and the extension are on the 1.0.31 version, and it's not working since version 1.0.30. I don't really think it's only me, something in 1.0.30 must have broken the connection.
Update: see my comment here https://github.com/anthropics/claude-code/issues/2299#issuecomment-2994288126
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.