
Claude Code not showing in Cursor usually comes down to one of four things: the extension isn’t installed in Cursor itself, Cursor hasn’t reloaded since you installed it, no file is open (so the Spark icon stays hidden), or the folder is open in Restricted Mode. When you set up Claude Code in Cursor, each of these takes under a minute to check.
The quick fix: open Cursor’s Extensions view with Cmd+Shift+X (Mac) or Ctrl+Shift+X (Windows and Linux), search for “Claude Code”, and make sure the one from Anthropic is installed and enabled. Then run Developer: Reload Window from the Command Palette, open any file, and look for the Spark icon in the top-right corner of the editor, or click Claude Code in the Status Bar.
If you use the terminal version instead and /ide says “No available IDEs detected”, Claude Code can’t see a running extension in Cursor. The rest of this guide walks through every cause, with screenshots of the official docs and real terminal output from our Mac.
Browse all our Claude Code tutorials for more fixes and how-tos.
Checked with Claude Code v2.1.332 on macOS on December 6, 2026.
We didn’t install Cursor or sign in to it for this guide, so the Cursor steps come from Anthropic’s official VS Code extension docs, which include Cursor, and we say so each time. Our terminal screenshots show real, safe commands run in a throwaway demo folder.
We tested on macOS; the Windows and Linux steps follow Anthropic’s official instructions.
Quick Summary: Why Claude Code Is Not Showing in Cursor
Find what you see in the first column. Every fix is based on the official docs.
| What you see | Likely cause | Fix |
|---|---|---|
| Claude Code isn’t in Cursor’s Extensions list | It was installed in VS Code, not Cursor | Use the Install for Cursor link or search “Claude Code” in Cursor |
| Installed, but nothing appears | Cursor hasn’t reloaded | Run Developer: Reload Window or restart Cursor |
| No Spark icon in the editor toolbar | No file is open | Open a file, or click Claude Code in the Status Bar |
| Icon missing even with a file open | Workspace is in Restricted Mode | Trust the folder |
| Still hidden after all that | Another AI extension conflicts | Disable it for a test |
| Panel opens but is blank | Old extension version | Update the extension, reload, check Claude Code: Show Logs |
/ide says No available IDEs detected | Extension not running in Cursor | Install it, then start claude in Cursor’s terminal |
| Extension won’t install at all | Old editor build or install blocked | Update Cursor, check install permissions, try the store page |
How the Claude Code Extension Works in Cursor
Cursor is built on VS Code, so it runs the same Claude Code extension that VS Code uses. Anthropic’s VS Code docs even list a separate “Install for Cursor” link right next to the VS Code one.

There are really two ways to use Claude Code inside Cursor, and they fail in different ways:
- The extension gives you the graphical chat panel, opened from the Spark icon, the Activity Bar or the Status Bar. It bundles its own copy of Claude Code, so it works even if you never installed the CLI.
- The CLI is the
claudecommand you type in Cursor’s integrated terminal. It needs the standalone CLI install, and it connects to the extension for diffs and your current selection.
The docs point out that installing the extension doesn’t put claude on your shell PATH. So “Claude Code not showing” can mean the panel is missing, or it can mean the terminal can’t find Cursor. Pick the section that matches your case.

Fix 1: Install the Extension in Cursor, Not Just VS Code
This is the most common mix-up. Cursor keeps its own extensions, separate from VS Code. If you installed Claude Code in VS Code last week, Cursor won’t have it.
- Open the VS Code docs and click Install for Cursor. It opens Cursor and goes straight to the extension.
- Or, inside Cursor, press
Cmd+Shift+X(Mac) orCtrl+Shift+X(Windows and Linux) to open the Extensions view. - Search for “Claude Code” and pick the one published by Anthropic.
- Click Install, then reload the window (Fix 2).
Check the publisher name before you click Install. The docs say marketplaces are third-party software that Anthropic doesn’t audit, and that Anthropic publishes the extension to the Visual Studio Marketplace and the Open VSX Registry.

That publisher check matters in Cursor in particular. In late October, a tampered copy of the extension briefly reached Cursor’s marketplace, and we covered how to spot it in our extension backdoor check.
Installing Claude Code in VS Code doesn’t install it in Cursor. Each editor needs its own copy.
Check the editor version
The docs list VS Code 1.94.0 or later as the minimum. Cursor is a VS Code fork, so a very old Cursor build may be based on an older VS Code release. If the install fails or the extension won’t activate, update Cursor first.

Fix 2: Reload Cursor After Installing
The docs give one clear instruction for this: if the extension doesn’t appear after installation, restart the editor or run Developer: Reload Window from the Command Palette.
- Press
Cmd+Shift+P(Mac) orCtrl+Shift+P(Windows and Linux). - Type
Developer: Reload Windowand press Enter. - Wait a few seconds for Cursor to load extensions again.
A reload is quick and keeps your open files. If it doesn’t help, fully quit Cursor and open it again, so every extension starts fresh.
Fix 3: Find the Spark Icon (It Hides Without an Open File)
Many people install the extension correctly and then can’t find it. The Spark icon in the Editor Toolbar, at the top right of the editor, only appears when you have a file open.
The docs list three other ways to open Claude Code:
- Activity Bar: the Spark icon in the side bar opens the sessions list, and it’s always visible.
- Command Palette: type “Claude Code” and pick an option like Open in New Tab.
- Status Bar: click Claude Code in the bottom-right corner. This works with no file open.
If none of those show Claude Code, work through the docs’ troubleshooting list for a missing Spark icon. Two items on it are easy to miss.

Trust the workspace
The docs say the extension doesn’t work in Restricted Mode. When you open a folder you haven’t trusted, the editor can open it in Restricted Mode and hold back extensions. Trust the folder when the editor asks, and the extension can start.
Turn off other AI extensions for a test
The docs also suggest temporarily disabling other AI extensions, naming Cline and Continue as examples. Disable them, reload the window, and check again. If Claude Code appears, turn the others back on one at a time to find the conflict.
Fix 4: The Panel Is Blank or Won’t Load
Sometimes the panel opens but shows nothing, not even the prompt box. The docs say to update the extension to v2.1.309 or later in the Extensions view, then run Developer: Reload Window.
If you then see a “Claude Code couldn’t load” notice, follow its steps in order. If it’s still blank, run Claude Code: Show Logs from the Command Palette. The log names the real problem, and you can attach it to a bug report.
Remember the extension’s version number is the Claude Code version it bundles. If a feature in the docs needs v2.1.286 or later, your extension in Cursor needs version 2.1.286 or later too.
Fix 5: “No Available IDEs Detected” in Cursor’s Terminal
This one is for people who run claude in a terminal and want it to work with Cursor. When the CLI can’t find a running editor extension, /ide shows this real message:

The docs explain an important change. Claude Code v2.1.318 or later doesn’t install the extension for you when you start claude in the integrated terminal. Until you install it, /ide reports “No available IDEs detected” and /status shows the IDE as “Not connected”.

So the fix depends on where you run claude:
- In Cursor’s integrated terminal: install the extension in Cursor (Fix 1), reload, then start
claudeagain. It connects on its own. - In an outside terminal, such as Terminal or iTerm: keep Cursor open with the extension running, then type
/ideand pick Cursor from the list.
Why the CLI can’t see Cursor
When the extension starts, it writes a lock file to ~/.claude/ide/ with a random port and a fresh auth token. The CLI reads that file to find the editor. No lock file means no running extension, so there’s nothing to connect to.

You can check this yourself without changing anything. On our Mac, with no editor running the extension, the folder didn’t exist at all:

With Cursor open and the extension active, you should see a .lock file there. If CLAUDE_CONFIG_DIR is set, the docs say the lock file goes under that folder’s ide/ folder instead.
Connect automatically from an outside terminal
If you always start claude in a separate terminal app, there’s a setting for that. Type /config and search for “IDE” to find Auto-connect to IDE (external terminal).

/config setting that connects outside terminals to your editor on start.Fix 6: The Extension Won’t Install at All
If Cursor refuses to install the extension, the docs list three checks:
- Make sure the editor is new enough (VS Code 1.94.0 or later base).
- Check that the editor has permission to install extensions. A work computer may block extension installs.
- Try installing directly from the store page instead of the search box.

If your company manages Cursor and blocks extensions, ask your IT team. In the meantime, the docs offer a clean fallback: install the CLI and run claude in the editor’s integrated terminal. The CLI works in any terminal.
When the extension keeps coming back
The opposite problem happens too. You uninstall the extension, and it returns. The docs say running /ide from an outside terminal reinstalls it, and so does starting claude in the integrated terminal on versions before v2.1.318.

To stop that, set autoInstallIdeExtension to false in ~/.claude.json, set CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL to 1 under env in a settings file, or turn off Auto-install IDE extension in /config from the integrated terminal.
Real Examples: What Each Symptom Looks Like
Here’s how the fixes line up with what people usually report:
| You say | What’s going on | First thing to try |
|---|---|---|
| “It works in VS Code but not Cursor” | Extension only installed in VS Code | Install for Cursor link |
| “I installed it, nothing changed” | Window not reloaded | Developer: Reload Window |
| “No icon on the welcome screen” | No file open | Open a file or use the Status Bar |
“claude runs but no diffs in Cursor” | CLI not connected to the extension | /ide |
“claude: command not found in Cursor” | Only the extension is installed | Install the standalone CLI |
That last row trips up a lot of people. The extension has a private copy of Claude Code for its panel, but typing claude needs the standalone install. Our IDE setup guide walks through both pieces.
Try It Yourself
Want to confirm your setup in two minutes? Open any small project in Cursor, open one file, and run claude in Cursor’s integrated terminal. Then paste this prompt:
Check whether you're connected to my editor. Tell me which IDE you see,
then list any errors or warnings in the file I have open.
Don't change any files.If the connection works, Claude can read the editor’s problems list through the built-in IDE tools and name the open file. If it says it can’t see an editor, go back to Fix 5.
Common Mistakes
- Installing in VS Code and expecting Cursor to pick it up. They keep separate extensions.
- Looking for the Spark icon on the welcome screen. It only shows when a file is open.
- Skipping the reload after install. Cursor often needs
Developer: Reload Window. - Installing a look-alike extension. Always check that the publisher is Anthropic.
- Expecting the extension to add
claudeto your PATH. It doesn’t; the CLI is a separate install. - Expecting
claudeto install the extension for you. Since v2.1.318 it doesn’t.
Pro Tips
- Use the Status Bar entry when you just want to open Claude fast. It works with no file open.
- Keep
Claude Code: Show Logsin mind. It turns “it doesn’t work” into a real error message. - The extension and CLI share conversation history, so
claude --resumein the terminal can pick up a chat you started in the panel. - If your work machine blocks extensions, the CLI in Cursor’s terminal gives you almost everything. Our tool comparison explains how the two tools fit together.
- Keep the CLI current with
claude updateand check it withclaude --version.
Claude Code in Cursor Cheat Sheet
Save this card for the next time Claude Code goes missing in Cursor.

For other error messages, our list of common errors covers the rest, and our VS Code fixes guide handles sign-in and panel problems that apply in Cursor too.
Frequently Asked Questions
Does Claude Code officially work in Cursor?
Yes. Anthropic’s VS Code extension docs include an Install for Cursor link, and the same extension runs in Cursor because Cursor is built on VS Code.
Why do I see Claude Code in VS Code but not in Cursor?
Each editor has its own extensions. Install Claude Code again inside Cursor, then reload the window.
Do I need a paid plan to use the extension in Cursor?
The docs say you need a paid Claude subscription or a Claude Console account, or a third-party provider such as Amazon Bedrock. No API key is required for a Claude account sign-in.
Why does /ide say “No available IDEs detected” with Cursor open?
The Claude Code extension isn’t running in Cursor. Install it, reload Cursor, keep Cursor open, then try /ide again.
Can I use Claude Code in Cursor without the extension?
Yes. Install the CLI and run claude in Cursor’s integrated terminal. You lose the graphical panel and native diffs, but the chat and tools work.
Conclusion
When Claude Code is not showing in Cursor, start with the simple checks: install the Anthropic extension inside Cursor itself, reload the window, open a file so the Spark icon appears, and trust the folder. If the panel is blank, update the extension and read Claude Code: Show Logs. If the terminal says “No available IDEs detected”, the extension isn’t running yet, so install it and start claude from Cursor’s own terminal or connect with /ide. And if Cursor can’t install extensions at all, the CLI still works in any terminal, so you’re never fully locked out. For more about Claude itself, visit our Claude AI page.


