mcpField
A
antigravity-notebooklm

antigravity-notebooklm

github.com/mathruffian-dotProductivity78145 installsUpdated 8w ago
Repository

About antigravity-notebooklm

A skill that guides setup of NotebookLM access in AntiGravity, from installing and authenticating `notebooklm-mcp-cli` to registering its MCP configuration. It is intended for AntiGravity users and includes checks for existing server entries and credential handling.

Key features

  1. 01Install and verify `notebooklm-mcp-cli`
  2. 02Guide browser-based login
  3. 03Register MCP settings for AntiGravity
  4. 04Check existing server entries
  5. 05Provide encoding-error guidance

Use cases

  1. 01Connect NotebookLM to an AntiGravity workspace
  2. 02Verify CLI login and notebook access
  3. 03Avoid duplicate MCP server configuration

MCP support

The skill guides registration of the NotebookLM MCP server in AntiGravity's workspace or global configuration. It advises reloading MCP and checking the notebook count.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/mathruffian-dot/antigravity-lazy-pack --skill antigravity-notebooklm

After installing, type/antigravity-notebooklmin Claude Code to confirm it loaded.

Details

From the project README

連接 NotebookLM(AntiGravity 版)

步驟

1. 安裝
uv tool install notebooklm-mcp-cli
nlm --version
2. 登入

請使用者在一般、可見的 PowerShell 視窗親自執行(不要在 AntiGravity 背景 terminal 反覆跑):

$env:PYTHONUTF8 = '1'
nlm config set auth.browser chrome
nlm login --profile default

(會開啟一個由 nlm 管理的獨立 Chrome 視窗,選正確的 Google 帳號完成登入;這是第三方 CLI 的 session 登入,不是 AntiGravity 的 MCP OAuth 按鈕)

3. 驗證
nlm doctor
nlm list

若 Windows 有 CP950 編碼錯誤:先執行 $env:PYTHONUTF8 = '1' 再重跑

4. 註冊 MCP

先預告會修改 AntiGravity MCP 設定並取得確認,再用 nlm 內建的 AntiGravity 設定指令:

$env:PYTHONUTF8 = '1'
nlm setup add antigravity

設定會寫進 workspace .agents/mcp_config.json 或全域 ~/.gemini/config/mcp_config.json。完成後重新啟動 AntiGravity 或用 /mcp 重新載入,再請它列出筆記本數量驗證。

  • 已有 command 指向 notebooklm-mcp 的 server 就不要再執行,避免重複。
  • 舊版 "command": ["nlm", "mcp"] 是 OpenCode opencode.json 的寫法,AntiGravity 2 不適用。

⚠️ 不要複製 cookie/token,不把筆記本清單 commit 到 repo。

Comments

Markdown supported