Skip to content

v0.1.9 - Automatic Re-Authentication

Choose a tag to compare

@jacob-bd jacob-bd released this 11 Jan 18:36

What's New

Automatic Re-Authentication

The server now survives token expirations without requiring restart! 🎉

Three-layer auth recovery:

  1. CSRF refresh - Immediate refresh on token expiry
  2. Disk reload - Picks up tokens from external notebooklm-mcp-auth runs
  3. Headless Chrome auth - Auto-refreshes if Chrome profile has saved login

New Features

  • refresh_auth MCP tool for explicit token reload
  • run_headless_auth() function for background authentication
  • has_chrome_profile() helper to check for saved login

Technical Changes

  • launch_chrome() now returns process handle for cleanup control
  • _call_rpc() enhanced with multi-layer auth recovery
  • Chrome process properly terminated after headless auth

Benefits

  • Works with long-running MCP sessions (e.g., MCP Super Assistant proxy)
  • No more manual restarts when tokens expire
  • Graceful degradation when manual re-auth is needed

Full Changelog

See CHANGELOG.md for details.