Logo NotebookLM MCP Server

NotebookLM MCP Server

Cộng đồng
moodRobotics

Universal installer and configuration guide for NotebookLM MCP server.

Nhà phát hànhmoodRobotics
Kho mãnotebooklm-mcp-server
Ngôn ngữTypeScript
Bản fork
12
Sao
36
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    NotebookLM MCP Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    36 sao và 12 bản fork từ kho mã được liên kết.


💡 What is this?

Google's Gemini Notebook (renamed from NotebookLM in July 2026) is the best grounded-answer engine on the market: it only answers from the sources you give it, with citations. This MCP server hands that power to your AI agents — Claude, Gemini, Antigravity, Cursor and any other MCP client — so they can build notebooks, run Deep Research, generate podcasts, videos, quizzes, flashcards, reports and mind maps, take notes, and share the results with your team. All programmatically, with zero hallucinations.

[!NOTE] NotebookLM is now Gemini Notebook. Google renamed the product on July 16, 2026 (see notebook.google). Same product, same notebooks, same API surface — this server keeps working unchanged, and the npm package keeps its notebooklm-mcp-server name.

🚀 Installation

Option 1 — Global install (recommended)

bash
npm install -g notebooklm-mcp-server

[!NOTE] The server checks for updates on startup and keeps itself current automatically.

Option 2 — Zero-install with NPX

bash
npx -y notebooklm-mcp-server auth   # authenticate
npx -y notebooklm-mcp-server start  # run the server

🔑 Authentication

  1. Run the interactive login (opens a Chromium window):
bash
npx notebooklm-mcp-server auth
  1. Sign in with your Google account. When the notebook list appears, the session cookies (including Google's rotating __Secure-1PSIDTS token) are captured and saved to ~/.notebooklm-mcp/auth.json.

  2. Done — the server loads the session automatically and refreshes the rotating token by itself.

[!TIP] If the session ever expires, run npx notebooklm-mcp-server auth again in a terminal, then call the refresh_auth MCP tool (or just restart your client) to pick up the new cookies without reconfiguring anything.

⚡ Connect Your AI Client

🤖 Claude Code

bash
claude mcp add notebooklm -- npx -y notebooklm-mcp-server start

💬 Claude Desktop

Add to claude_desktop_config.json (Settings → Developer → Edit Config):

json
{
  "mcpServers": {
    "notebooklm": {
      "command": "npx",
      "args": ["-y", "notebooklm-mcp-server", "start"]
    }
  }
}

🌌 Antigravity CLI

Antigravity's CLI manages MCP servers through a JSON config file:

  • Global: ~/.gemini/config/mcp_config.json
  • Per-workspace: .agents/mcp_config.json in your project
json
{
  "mcpServers": {
    "notebooklm": {
      "command": "npx",
      "args": ["-y", "notebooklm-mcp-server", "start"]
    }
  }
}

Then type /mcp in the Antigravity prompt panel to open the MCP Manager: check the connection status ring, reload the config, or inspect logs — no restart needed. Your agents can now cite real sources in every mission.

🖥️ Antigravity IDE

The IDE reads the same config files as the CLI (~/.gemini/config/mcp_config.json or .agents/mcp_config.json). Alternatively, open the MCP Store panel, choose Add custom server, and paste the same JSON snippet. Reload the server list and the NotebookLM tools appear in the agent's toolbox.

💎 Gemini CLI

bash
gemini mcp add notebooklm --scope user -- npx -y notebooklm-mcp-server start

⌨️ Cursor

Add to .cursor/mcp.json in your project (or ~/.cursor/mcp.json globally):

json
{
  "mcpServers": {
    "notebooklm": {
      "command": "npx",
      "args": ["-y", "notebooklm-mcp-server", "start"]
    }
  }
}

🏄 Windsurf

Add the same mcpServers block to ~/.codeium/windsurf/mcp_config.json.

🧩 VS Code (Cline)

In Cline: MCP Servers → Configure and add the same mcpServers block shown above.

📖 Tool Reference

47 tools, grouped by what they do. Full parameter signatures live in docs/TOOLS.md.

📒 Notebooks

ToolDescription
notebook_listList all notebooks with sources and metadata
notebook_createCreate a new notebook
notebook_getGet one notebook's details and source IDs
notebook_renameRename a notebook
notebook_deleteDelete a notebook (requires confirm)
notebook_summarizeAI notebook guide: summary + suggested questions
prompts_suggestAI-suggested prompts to ask about the sources

🔗 Sharing

ToolDescription
notebook_shareToggle public link and/or manage collaborators by email
notebook_share_statusRead the current sharing configuration

🖇️ Sources

ToolDescription
notebook_add_urlAdd a website or YouTube video as a source
notebook_add_textAdd pasted text as a source
notebook_add_driveAdd a Google Drive document as a source
notebook_add_local_fileUpload a local PDF / TXT / Markdown file
source_get_guideAI guide for one source: summary + key topics
source_renameRename a source
source_check_freshnessCheck if a URL/Drive source has newer content
source_syncRe-sync a Drive source to the latest content
source_deleteDelete a source (requires confirm)

💬 Chat

ToolDescription
notebook_queryAsk questions about the sources, with citations
chat_history_getRead the latest conversation's Q&A turns
chat_history_deleteClear the chat history (requires confirm)
chat_configureSet the chat persona (default / learning guide / custom) and response length

🔍 Research

ToolDescription
research_startLaunch web or Drive research (fast ≈30s / deep ≈5min)
research_pollCheck research progress and discovered sources
research_importImport the discovered sources into the notebook

🎨 Studio

ToolDescription
audio_overview_createPodcast-style Audio Overview (formats: deep dive, brief, critique, debate)
video_overview_createVideo Overview (9 visual styles, from whiteboard to anime)
report_createWritten report from the sources
flashcards_createFlashcards (quantity and difficulty options)
quiz_createInteractive quiz (quantity and difficulty options)
infographic_createInfographic (landscape / portrait / square)
slide_deck_createSlide deck
data_table_createStructured data table
studio_pollCheck generation status of all artifacts
studio_deleteDelete a studio artifact

📦 Artifacts

ToolDescription
artifact_content_getFetch generated content (quiz/flashcards HTML, mind map JSON)
artifact_renameRename an artifact
artifact_exportExport an artifact to Google Drive (Docs or Sheets)

📝 Notes & Mind Maps

ToolDescription
note_createCreate a note
note_listList all notes
note_updateUpdate a note's content/title
note_deleteDelete a note (requires confirm)
mind_map_generateGenerate a mind map JSON from sources
mind_map_saveSave a mind map to the notebook
mind_map_listList saved mind maps
mind_map_deleteDelete a mind map

⚙️ System

ToolDescription
refresh_authReload session cookies from disk after re-running auth

🧪 Recipes

Real prompts you can paste into any connected agent — it picks the right tools by itself.

🎙️ From research question to podcast

"Research the latest on solid-state batteries with deep research, build a notebook called 'Solid State 2026' with the best sources, and generate a brief audio overview in English. Give me the link when it's done."

The agent chains notebook_create → research_start(mode: deep) → research_poll → research_import → audio_overview_create(format: brief) → studio_poll, and returns the notebook URL with the finished podcast.

🎓 Study kit from your PDFs

"Take the three PDFs in ./lectures, put them in a new notebook, and make me a hard quiz plus flashcards on the key concepts. Show me the quiz questions here."

The agent runs notebook_add_local_file per PDF, then quiz_create(difficulty: hard) + flashcards_create, polls with studio_poll, and pulls the questions out with artifact_content_get.

👥 Team briefing, shared

"Build a briefing notebook from these five links about our competitor, write a report, export it to Google Docs, and share the notebook with ana@example.com as a viewer."

The agent chains notebook_add_url ×5 → report_create → studio_poll → artifact_export(format: docs) → notebook_share(user_email, user_role: viewer) — and your teammate finds the notebook and the Doc waiting.

🛠️ Troubleshooting

SymptomFix
auth warns the API rejected your cookies right after loginYour Google account enforces Device Bound Session Credentials (DBSC) — default-on for Workspace and most personal accounts. DBSC ties the session to a device-held key, so cookies exported from the browser are refused by the API. Cookie-extraction clients cannot bypass this; use a Google account without DBSC enforcement.
Authentication expired right after logging inUpdate to ≥ 3.0.8 — older versions missed Google's rotating __Secure-1PSIDTS token. The server now captures and auto-refreshes it.
Authentication failed after weeks of useGoogle sessions eventually expire. Run npx notebooklm-mcp-server auth, then call the refresh_auth tool.
Studio generation stuck on pendingLong sources take a while — keep polling studio_poll; audio/video can take several minutes.
RPC errors after a Google updateGoogle occasionally rotates internal build labels. Update the package; if it persists, open an issue.

🧑‍💻 Development

bash
git clone https://github.com/moodRobotics/notebooklm-mcp-server.git
cd notebooklm-mcp-server
npm install
npm run build
npm run typecheck

Architecture notes live in docs/ARCHITECTURE.md, the roadmap in docs/ROADMAP.md.

🌐 Localization

This README is available in English, Español, Français, Português and Deutsch. If you edit one, please keep the others in sync (npm run docs:check).

📄 License

MIT — Developed with ❤️ by moodRobotics.

[!IMPORTANT] This is an unofficial community project. It is not affiliated with or endorsed by Google. It relies on reverse-engineered internal APIs that may change without notice; use it with a Google account you are comfortable automating.

Cài đặt

TypingMind
{
  "mcpServers": {
    "notebooklm-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "notebooklm-mcp-server",
        "start"
      ]
    }
  }
}

Dùng MCP NotebookLM MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối NotebookLM MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm NotebookLM MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của NotebookLM MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "notebooklm-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "notebooklm-mcp-server"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của NotebookLM MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của NotebookLM MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng NotebookLM MCP Server giúp tôi làm việc này không?
NotebookLM MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng NotebookLM MCP Server.

Câu hỏi thường gặp

Máy chủ MCP NotebookLM MCP Server dùng để làm gì?

NotebookLM MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP NotebookLM MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng NotebookLM MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP NotebookLM MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối NotebookLM MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP NotebookLM MCP Server với TypingMind?

NotebookLM MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP NotebookLM MCP Server cung cấp những công cụ nào trong TypingMind?

NotebookLM MCP Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP NotebookLM MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu NotebookLM MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇