Skip to content

v6.2.3

Choose a tag to compare

@zoharbabin zoharbabin released this 29 Apr 02:05
· 12 commits to main since this release

Fix: Concurrent Instance Coexistence (fixes #104)

Problem: When multiple Claude Code sessions used npx -y google-researcher-mcp, they shared the same install directory. The PID lock / pgrep cleanup would kill healthy instances serving other clients.

Fix: Removed the PID lock file and pgrep-based process killing entirely. Orphan prevention is now fully self-contained per process:

  • Parent PID monitoring — detects reparenting to PID 1 every 2 seconds
  • Stdin EOF detection — catches clean pipe/socket closure
  • Stdout EPIPE probe — detects broken unix domain sockets

Each instance only ever terminates itself when its own parent dies. No instance can affect another.

E2E tests now verify:

  1. Server exits when parent disconnects
  2. Two concurrent instances coexist without interfering
  3. No CPU spin on idle server
  4. One parent dying does NOT kill sibling instances
  5. No orphan processes leak

Full Changelog: v6.2.2...v6.2.3

📦 Installation

npm install google-researcher-mcp@6.2.3

🔗 Links