[BUG] Cannot connect to IntelliJ IDEA 2026.1, empty CLAUDE_CODE_SSE_PORT (plugin 0.1.14‑beta)

Status Open
Reported on v2.1.223
Maintainer reply None cached
Activity 0 comments · opened Aug 6, 2026

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:

  1. Install Claude‑Code plugin (0.1.14‑beta) on IntelliJ IDEA 2026.1.3 (Windows)
  2. Fully quit and restart IntelliJ IDEA
  3. Open the built‑in IDE terminal
  4. Run claude and then run the /ide command

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

  1. Install the Claude‑Code JetBrains plugin (version 0.1.14‑beta) in IntelliJ IDEA 2026.1.3 for Windows.
  2. Completely close and restart IntelliJ IDEA to load the plugin.
  3. Open the IDE‑built‑in terminal.
  4. Confirm the claude‑cli command is accessible with where claude.
  5. Run the claude command and execute /ide inside the interactive session.
  6. Check the SSE‑port environment variable by running echo $CLAUDE_CODE_SSE_PORT in 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_

View original on GitHub ↗