← Về thư mục
📄 / / root / ceo / integrations / notebooklm-mcp-cli / docs / KNOWN_ISSUES.md

Known Issues and Fragility

This document describes known limitations and potential failure points in the NotebookLM MCP. Since this project uses undocumented internal APIs, certain breakages are expected over time.


1. Build Label (bl) Parameter

What it is

The bl (build label) parameter is a frontend version identifier required by NotebookLM's batchexecute API. It looks like:

boq_labs-tailwind-frontend_20260219.16_p2

Current status (v0.3.11+)

Resolved. The bl value is now auto-extracted from the NotebookLM page during nlm login and during CSRF token refresh. It stays current automatically without manual intervention.

Manual override

If you need to force a specific value, set the NOTEBOOKLM_BL environment variable:

export NOTEBOOKLM_BL="boq_labs-tailwind-frontend_YYYYMMDD.XX_pN"

The priority order is: env var > auto-extracted > hardcoded fallback.


What it is

Authentication uses browser cookies extracted from an active Chrome session. These cookies have a limited lifespan.

When it breaks

Cookies typically expire after 2-4 weeks. Symptoms: - ValueError: Cookies have expired. Please re-authenticate... - API calls redirect to Google login page - Authentication errors on previously working operations

How to fix

Re-extract fresh cookies using one of these methods:

Option A: nlm login CLI (recommended)

The built-in authentication CLI automatically launches Chrome, navigates to NotebookLM, and extracts cookies:

nlm login

If Chrome is not running, it will be launched automatically. If you're not logged in, the CLI waits for you to complete login in the browser window. Tokens are cached to your profile directory.

Option B: Chrome DevTools MCP

If your AI assistant has Chrome DevTools MCP available: 1. Navigate to notebooklm.google.com in Chrome 2. Use Chrome DevTools MCP to extract cookies from any network request 3. Call save_auth_tokens(cookies=<cookie_header>)

Option C: Manual extraction 1. Open Chrome DevTools on notebooklm.google.com 2. Network tab → find any request → copy Cookie header 3. Set NOTEBOOKLM_COOKIES environment variable


3. Rate Limits

What it is

The free tier of NotebookLM has usage limits enforced server-side.

Current limits

Symptoms when exceeded

Mitigation


4. API Instability (Undocumented Internal APIs)

What it is

This MCP uses internal, undocumented APIs that Google can change at any time without notice.

What can break

Symptoms

What to do when it breaks

  1. Check if the issue is widespread (Google may have deployed changes)
  2. Use Chrome DevTools to capture current request/response format
  3. Update the relevant RPC handling in api_client.py
  4. Submit a PR or issue if you discover the fix

5. CSRF Token and Session ID

What it is

The MCP auto-extracts CSRF token (SNlM0e) and session ID (FdrFJe) from the NotebookLM homepage on first use.

When it breaks

Symptoms

How to fix

If auto-extraction fails: 1. Manually extract tokens from Chrome DevTools Network tab 2. Pass them via save_auth_tokens(cookies=..., request_body=..., request_url=...)


Reporting Issues

When reporting issues, include: 1. The specific tool/operation that failed 2. The error message (redact any sensitive info) 3. Whether the operation worked before 4. The current date (to correlate with potential Google deployments)