4.2 Advanced Features (Full Profile)
When to use full profile:
- Need to switch Google accounts frequently (
re_auth) - Want to clean up MCP data without manual file deletion (
cleanup_data) - Need to remove notebooks from library (
remove_notebook) - Advanced debugging requiring manual browser control
Enable full profile:
bash
# Add to ~/.zshrc or ~/.bashrc
export NOTEBOOKLM_PROFILE=full
# Restart Claude CodeRemove Notebook from Library
bash
"Remove notebook: LLM Engineer Handbook"
# Or by ID:
"Remove notebook with ID: llm-engineer-handbook"Use case: Declutter library, remove outdated notebooks, fix duplicate entries.
Re-authentication (Account Switching)
Scenario: You want to switch from personal Google account to work account.
bash
"Re-authenticate NotebookLM with different account"
# Browser opens, select different Google account
# New credentials saved, old session clearedDifference vs setup_auth:
setup_auth: First-time authenticationre_auth: Switch accounts (clears existing session)
Important: After re-auth, your notebook library is preserved (stored locally), but you'll need to verify access to notebooks (they must be shared with new account).
Cleanup Data
Scenario: Start fresh, clear all MCP data (auth, library, browser profile).
bash
"Clean up NotebookLM MCP data"
# Options:
# - preserve_library: Keep notebook metadata (default: false)
# - confirm: Safety confirmation (default: false)What gets deleted:
- Browser profile (
~/Library/Application Support/notebooklm-mcp/chrome_profile/) - Authentication cookies
- Active sessions
- Notebook library (unless
preserve_library=true)
When to use:
- Authentication issues not resolved by re-auth
- Browser conflicts or corruption
- Starting fresh after testing
- Before uninstalling MCP
Example:
bash
"Clean NotebookLM data but keep my library"
# → cleanup_data(preserve_library=true, confirm=true)
"Completely reset NotebookLM MCP"
# → cleanup_data(preserve_library=false, confirm=true)Manual Browser Control
Advanced debugging tools (full profile only):
1. Get browser state:
bash
"Show NotebookLM browser state"
# Returns: current_url, cookies, local_storage, session_storage2. Execute browser action:
bash
"Navigate NotebookLM browser to specific notebook URL"
"Click element in NotebookLM browser"
"Type text in NotebookLM browser"3. Wait for element:
bash
"Wait for element to load in NotebookLM browser"Use case: Debugging authentication issues, inspecting browser state during failures, manual notebook navigation.