antigravity-notebooklm

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

連接 NotebookLM(AntiGravity 版)

连接NotebookLM(AntiGravity版)

步驟

步骤

1. 安裝

1. 安装

bash
uv tool install notebooklm-mcp-cli
nlm --version
bash
uv tool install notebooklm-mcp-cli
nlm --version

2. 登入

2. 登录

bash
nlm login
(瀏覽器 OAuth,選正確的 Google 帳號)
bash
nlm login
(浏览器 OAuth,选择正确的 Google 账号)

3. 驗證

3. 验证

bash
nlm doctor
nlm list
若 Windows 有編碼錯誤:
$env:PYTHONIOENCODING = "utf-8"
bash
nlm doctor
nlm list
若 Windows 出现编码错误:
$env:PYTHONIOENCODING = "utf-8"

4. 註冊 MCP

4. 注册 MCP

設定以 AntiGravity 的 MCP 設定檔為準:
json
"notebooklm": {
  "type": "local",
  "command": ["nlm", "mcp"],
  "enabled": true
}
⚠️ 不要複製 cookie/token,不把筆記本清單 commit 到 repo。
设置以 AntiGravity 的 MCP 配置文件为准:
json
"notebooklm": {
  "type": "local",
  "command": ["nlm", "mcp"],
  "enabled": true
}
⚠️ 请勿复制 cookie/token,不要将笔记本清单 commit 到代码仓库。