[BUG] Cannot connect to IntelliJ IDEA 2026.1, empty CLAUDE_CODE_SSE_PORT (plugin 0.1.14‑beta)
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Preflight Checklist
- [X] I have searched existing issues and this bug has not been reported
- [X] This is one single bug report
- [X] I am running the latest‑version Claude‑Code JetBrains plugin
Environment
- Operating System: Windows
- IDE: IntelliJ IDEA 2026.1.3
- Claude‑Code JetBrains‑plugin version: 0.1.14‑beta
- Claude‑Code CLI: latest official release
Bug description
After installing the official Claude‑Code JetBrains plugin and fully restarting IntelliJ‑IDEA,
the IDE integrated‑terminal cannot establish the SSE connection with the plugin.
When I run the /ide command inside the IDE built‑in terminal, it keeps prompting:
No available IDEs detected. Please install the plugin and restart your IDE
The environment variable CLAUDE_CODE_SSE_PORT outputs nothing when executing echo $CLAUDE_CODE_SSE_PORT.
The plugin fails to inject the SSE port environment variable into the IDE‑spawned terminal.
Reproduce steps:
- Install Claude‑Code plugin (0.1.14‑beta) on IntelliJ IDEA 2026.1.3 (Windows)
- Fully quit and restart IntelliJ IDEA
- Open the built‑in IDE terminal
- Run
claudeand then run the/idecommand
Expected result:
Claude‑CLI successfully connects to the IntelliJ IDEA plugin via the local SSE channel.
Actual result:
IDE‑detection failure, empty SSE‑port environment variable, no available‑IDE warning.
Additional information
The Claude‑Code command can be found normally inside the IDE terminal via the which claude command.
The PATH environment is fine. The problem is only the missing SSE‑port variable injected by the JetBrains plugin.
What Should Happen?
When launching claude‑cli inside the IntelliJ built‑in terminal, the plugin shall inject the environment variable CLAUDE_CODE_SSE_PORT with a valid local port number.
The CLI is supposed to detect the running Claude‑Code JetBrains plugin automatically, establish the SSE connection successfully and complete IDE integration without popping‑up the "No available IDEs detected" prompt.
Error Messages/Logs
Steps to Reproduce
- Install the Claude‑Code JetBrains plugin (version 0.1.14‑beta) in IntelliJ IDEA 2026.1.3 for Windows.
- Completely close and restart IntelliJ IDEA to load the plugin.
- Open the IDE‑built‑in terminal.
- Confirm the claude‑cli command is accessible with
where claude. - Run the
claudecommand and execute/ideinside the interactive session. - Check the SSE‑port environment variable by running
echo $CLAUDE_CODE_SSE_PORTin the terminal.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.223 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_