← 返回
未分类 中文

NotebookLM MCP Login

Login to Google NotebookLM via Chrome DevTools Protocol and save auth cookies for notebooklm-mcp. Use when user asks to login, authenticate, or re-authentica...
通过 Chrome 开发者工具协议登录 Google NotebookLM 并保存认证 cookies,用于 notebooklm-mcp。当用户要求登录、认证或重新认证时使用。
ou-rock ou-rock 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 397
下载
💾 0
安装
1
版本
#auth#google#latest#mcp#notebooklm

概述

NotebookLM MCP Login

Authenticate with Google and save cookies for the notebooklm-mcp CLI/MCP server.

Why this skill exists

The built-in nlm login command sometimes fails to launch Chromium via subprocess.Popen in

non-standard environments. This skill provides a tested workaround that:

  1. Manually launches Chromium with --remote-debugging-port=9222
  2. Waits for the user to complete Google login in the browser
  3. Extracts cookies via CDP (extract_cookies_via_existing_cdp)
  4. Saves them to ~/.notebooklm-mcp-cli/profiles/default/ via AuthManager.save_profile()

Steps

1. Verify prerequisites

which chromium-browser && which uv

If missing, install Chromium (apt install chromium-browser) and uv (curl -LsSf https://astral.sh/uv/install.sh | sh).

2. Run the login script

DISPLAY=:0 ~/.local/share/uv/tools/notebooklm-mcp-cli/bin/python3 {baseDir}/scripts/login.py
  • A Chromium window opens on the host display.
  • The user logs in to their Google account.
  • The script waits up to 300s, then extracts and saves cookies automatically.

3. Verify

uv tool run --from notebooklm-mcp-cli nlm login --check

Expected output: ✓ Authentication valid! with email and notebook count.

Storage

  • Cookies: ~/.notebooklm-mcp-cli/profiles/default/cookies.json
  • Metadata: ~/.notebooklm-mcp-cli/profiles/default/metadata.json

Troubleshooting

ProblemFix
------
Cannot connect to browser on port 9222Kill stale Chrome: pkill -f remote-debugging-port=9222
Profile not found: defaultRe-run the login script
DISPLAY not setExport DISPLAY=:0 before running

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 05:29 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 472 📥 78,623
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,805
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 31,026