Logo NotebookLM Claude Integration

NotebookLM Claude Integration

Tổ chức
ray-manaloto

NotebookLM integration for Claude Desktop (MCP) and Claude Code (Plugin) - unified research assistant with notebook library management

Nhà phát hànhray-manaloto
Kho mãnotebooklm-claude-integration
Ngôn ngữPython
Bản fork
5
Sao
15
Công cụ có sẵn
16
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 Claude Integration 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.

  • 16 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ở

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

NotebookLM Claude Integration

Complete integration of Google NotebookLM with Claude AI through both Claude Desktop (MCP) and Claude Code (Plugin).

Status: Production-ready ✅ | Built: Dec 2024 | Tested: Fully functional

What This Is

This project provides two complete integrations for using NotebookLM with Claude:

  1. Claude Desktop - MCP Server for conversational interface
  2. Claude Code CLI - Plugin for development workflow

Both allow you to query your NotebookLM notebooks directly from Claude, getting citation-backed answers from Gemini without leaving your workflow.

Quick Start

Project plan lives at docs/PROJECT_PLAN.md with topic-specific items under docs/plans/. CI details live at docs/CI.md.

Keep Pixi dependencies current (updates the lockfile, then installs from it):

bash
pixi run pixi-sync

NotebookLM end-to-end integration (uses your local Chrome auth):

bash
NOTEBOOK_IDS=pytest-patterns \
QUESTION="Summarize the key sources in this notebook." \
pixi run notebooklm-integration

AI Agent Step-by-Step (Codex CLI)

Use this sequence when an agent needs to verify the NotebookLM integration end-to-end.

  1. Install and enable the MCP server:
    bash
    uv tool install notebooklm-mcp-server
    codex mcp add notebooklm-rpc notebooklm-mcp
  2. Authenticate once (browser login) and persist cookies:
    bash
    pixi run notebooklm-auth-rpc
  3. Run the full E2E test (downloads the skill from GitHub into a temp repo and queries a notebook):
    bash
    pixi run codex-skill-e2e
  4. Optional overrides:
    bash
    NOTEBOOK_URL="https://notebooklm.google.com/notebook/<id>" \
    NOTEBOOK_NAME="My Test Notebook" \
    NOTEBOOK_DESC="Notebook for testing Codex + NotebookLM." \
    NOTEBOOK_ID="my-test-notebook" \
    pixi run codex-skill-e2e

AI Agent Step-by-Step (Codex SDK)

Use this sequence when a Codex SDK agent must validate the setup and produce a confirmed response.

  1. Ensure Codex CLI + MCP are set up (same as CLI steps above).
  2. Run the SDK verification (temp workspace, streaming output):
    bash
    SDK_ROOT=/tmp/codex-sdk-verify
    rm -rf "$SDK_ROOT" && mkdir -p "$SDK_ROOT"
    cd "$SDK_ROOT"
    
    cat <<'EOF' > package.json
    {
      "name": "codex-sdk-verify",
      "version": "0.1.0",
      "private": true,
      "type": "module",
      "scripts": { "run": "node run.mjs" },
      "dependencies": { "@openai/codex-sdk": "^0.77.0" }
    }
    EOF
    
    cat <<'EOF' > run.mjs
    import { Codex } from "@openai/codex-sdk";
    
    const prompt = [
      "Use the notebooklm-patterns skill.",
      "List all notebooks, then ask each notebook (via notebook_id) this question:",
      "'How can we improve the Codex implementation in this repo?'.",
      "Aggregate responses labeled by notebook name and include citations.",
     "If any notebook_query times out, retry once. If it still times out, record a timeout for that notebook and continue.",
    ].join(" ");
    
    const codex = new Codex();
    const thread = codex.startThread({
      workingDirectory: "/tmp/codex-skill-verify",
      sandboxMode: "read-only",
      approvalPolicy: "never",
    });
    
    const { events } = await thread.runStreamed(prompt);
    for await (const event of events) {
      if (event.type === "item.completed" && event.item?.type === "agent_message") {
        console.log(event.item.text);
      }
      if (event.type === "turn.failed") {
        console.error("Codex SDK turn failed:", event.error?.message ?? event.error);
      }
    }
    EOF
    
    npm install
    npm run run

For Claude Code (Plugin)

bash
# 1. Ensure NotebookLM MCP server is configured
uv tool install notebooklm-mcp-server
claude mcp add notebooklm-rpc -- notebooklm-mcp

# 2. Add the plugin marketplace from GitHub
claude plugin marketplace add ray-manaloto/notebooklm-claude-integration

# 3. Install the plugin (project scope)
claude plugin install notebooklm@notebooklm-plugin --scope project

# 4. Verify installation
claude plugin marketplace list  # Should show: notebooklm-plugin
claude plugin list              # Should show: notebooklm

# 5. Restart Claude Code, then:
/nlm auth rpc                      # First-time authentication
/nlm list                          # List notebooks
/nlm ask "Your question"           # Query the notebook

For local development (if you cloned this repo):

bash
claude plugin marketplace add .

For Claude Desktop (MCP)

bash
npm install -g notebooklm-mcp

Alternate NotebookLM MCP (HTTP/RPC, jacob-bd)

This repo also supports the HTTP/RPC-based MCP server from jacob-bd/notebooklm-mcp, which exposes additional tools (notebook creation, Drive sync, Studio artifacts).

Install + auth:

bash
uv tool install notebooklm-mcp-server
GOOGLE_ACCOUNT=ray.manaloto@gmail.com pixi run notebooklm-auth-rpc

Pixi task (recommended for repeatable runs):

bash
pixi run notebooklm-auth-rpc

Override account:

bash
GOOGLE_ACCOUNT=your@email pixi run notebooklm-auth-rpc

Register the MCP server:

bash
codex mcp add notebooklm-rpc -- notebooklm-mcp

Notes:

  • This server uses cookie extraction; persist cookies with save_auth_tokens.
  • Tool names include notebook_list, notebook_query, and source_sync_drive.
  • Use notebooklm-patterns for RPC-first guidance.
  • Override the account used for cookie extraction with GOOGLE_ACCOUNT=your@email.

Recommended Setup (RPC-first)

Use notebooklm-rpc as the default server for full feature parity:

  • notebooklm-rpc (expanded toolset, Drive sync, Studio artifacts)

If auth fails, re-run pixi run notebooklm-auth-rpc and retry.

When to Use This Repo vs. jacob-bd Only

You can use jacob-bd/notebooklm-mcp directly if you only need the RPC server tools. This repo adds:

  • Codex/Claude CLI wiring (/nlm commands, skills, tool routing).
  • Repeatable Pixi tasks for validation and multi-notebook queries.
  • Centralized MCP configuration and agent playbooks.

Add to claude_desktop_config.json:

json
{
  "mcpServers": {
    "notebooklm-rpc": {
      "command": "notebooklm-mcp"
    }
  }
}

Restart Claude Desktop, then:

Add my notebook: https://notebooklm.google.com/notebook/YOUR_ID

Repository Structure

notebooklm-claude-integration/
├── plugins/                         # Claude Code Plugin
│   └── notebooklm/
│       ├── .claude-plugin/
│       │   ├── plugin.json          # Plugin manifest
│       │   └── marketplace.json     # Marketplace manifest
│       ├── commands/
│       │   └── nlm.md               # /nlm command (ask, add, list, select, auth)
│       ├── agents/
│       │   └── research-agent.md    # Proactive research agent
│       ├── skills/
│       │   └── notebooklm-patterns/
│       │       └── SKILL.md         # MCP tools reference & troubleshooting
│       └── README.md
│
├── auth-layer/                      # Multi-backend authentication (NEW)
│   ├── src/
│   │   ├── backends/
│   │   │   ├── cdp.ts               # Chrome DevTools Protocol
│   │   │   ├── keychain.ts          # macOS Keychain storage
│   │   │   └── persistent.ts        # Playwright persistent context
│   │   ├── auth-manager.ts          # Main orchestrator
│   │   ├── cli.ts                   # nlm-auth CLI tool
│   │   └── types.ts                 # TypeScript types
│   ├── package.json
│   └── README.md
│
├── mcp-config/                      # MCP configuration utilities
│   ├── servers.json                 # Unified MCP server config
│   ├── env.example                  # Environment variable template
│   └── README.md                    # Pixi-first install instructions
│
├── docs/                            # Documentation
│   ├── CLAUDE_DESKTOP_SETUP.md
│   ├── CLAUDE_CODE_SETUP.md
│   ├── API_REFERENCE.md
│   └── TROUBLESHOOTING.md
│
├── examples/                        # Usage examples
│
└── tests/                           # Test suite

Codex Skill E2E Test

Use the Pixi task to download the skill from GitHub into a temp repo, load it, and run an end-to-end NotebookLM query through Codex CLI.

Prereqs:

  • codex CLI installed
  • NotebookLM MCP server added: codex mcp add notebooklm-rpc notebooklm-mcp
  • NotebookLM authentication completed at least once

Run:

bash
pixi run codex-skill-e2e

Optional overrides:

bash
NOTEBOOK_URL="https://notebooklm.google.com/notebook/<id>" \
NOTEBOOK_NAME="My Test Notebook" \
NOTEBOOK_DESC="Notebook for testing Codex + NotebookLM." \
NOTEBOOK_ID="my-test-notebook" \
pixi run codex-skill-e2e

Validation checklist (expected results):

  • RPC auth is valid (cookies persisted via save_auth_tokens)
  • The target notebook exists in notebook_list
  • A response is returned with citations

See docs/CODEX_PLAYBOOK.md for a full Codex CLI/SDK validation runbook.

Recommended validation run:

bash
pixi run codex-validate-setup

Codex Improvement Notes

  • Use notebook_id for multi-notebook queries to avoid shared state.
  • Retry a timed-out notebook_query once, then record a timeout and continue.

Codex Multi-Notebook Query

Run a single question across all notebooks and aggregate results (uses notebook_id to avoid shared state conflicts):

bash
pixi run codex-ask-all

Optional override:

bash
QUESTION="What are the key risks in this architecture?" pixi run codex-ask-all

RPC Auth Refresh

If RPC auth expires, refresh cookies:

bash
pixi run notebooklm-auth-rpc

Pixi RPC Task Runner

All NotebookLM MCP tools are available as pixi run nlm-* tasks (1:1 mapping). See docs/API_REFERENCE.md for the full task list and argument conventions.

Use the notebooklm-rpc server after the file-mode auth:

bash
NOTEBOOK_IDS=pytest-patterns \
QUESTION="Summarize the key sources in this notebook." \
pixi run codex-ask-all-rpc

Filter by notebook IDs (comma-separated):

bash
NOTEBOOK_IDS=pytest-patterns \
QUESTION="Provide modern best practices for integration tests without mocks." \
pixi run codex-ask-all

Validation checklist (expected results):

  • Each notebook returns a labeled section
  • Citations are included when NotebookLM provides them
  • Timeouts are retried once and reported

Repo Hygiene (Pixi-Only)

Install the pre-commit hook to block bash scripts and non-Pixi commands:

bash
pixi run hooks-install

Run locally on demand:

bash
pixi run hooks-run

Codex Multi-Notebook Query (Subagent-aware)

If Codex supports subagents or task parallelism, this script asks a subagent per notebook; otherwise it falls back to sequential queries:

bash
pixi run codex-ask-all-subagents

SDK example:

bash
cd codex-sdk-test
QUESTION="Summarize auth flow changes." npm run test:notebooklm-ask-all

Auth Bootstrap (Recommended for Multi-Process)

Run the auth flow once, then fan out workers that reuse the cookie file:

bash
pixi run notebooklm-auth-rpc

Plugin Commands

CommandDescription
/nlm ask <question>Ask a question to a notebook by ID
/nlm listList all notebooks
/nlm create <name>Create a new notebook
/nlm auth rpcSave RPC auth cookies

Features

Claude Code Plugin

  • ✅ /nlm command with subcommands
  • ✅ Research agent with automatic follow-up questions
  • ✅ Library management (add, list, select, search)
  • ✅ Uses existing NotebookLM MCP server
  • ✅ Citation-backed answers from Gemini
  • ✅ Troubleshooting skill with MCP tools reference

Claude Desktop (MCP)

  • ✅ Natural language notebook queries
  • ✅ Automatic notebook discovery
  • ✅ Citation-backed answers
  • ✅ Multi-notebook support
  • ✅ Persistent authentication

Architecture

┌─────────────┐         ┌──────────────┐         ┌─────────────┐
│   Claude    │────────>│   Plugin     │────────>│ NotebookLM  │
│  Code CLI   │         │  Commands    │         │ MCP Server  │
└─────────────┘         └──────────────┘         └─────────────┘
                               │                        │
                               │                        v
                               │                 ┌─────────────┐
                               │                 │ Auth Helper │
                               v                 │ (cookies)   │
                        ┌──────────────┐         └─────────────┘
                        │ MCP Tools    │                │
                        │ - notebook_list│              v
                        │ - notebook_query│     ┌─────────────┐
                        │ - notebook_add_url│   │ NotebookLM  │
                        │ - research_start│     │   (Gemini)  │
                        │ - studio_status│      └─────────────┘
                        └──────────────┘

The plugin uses the NotebookLM MCP server which handles:

  • Browser automation via Playwright
  • Google authentication
  • Notebook library management
  • Session handling

Use Cases

Quick Research:

bash
/nlm ask "How do I implement OAuth2 in FastAPI?"
# Get instant answer with citations from your docs

Add Documentation:

bash
/nlm source add-url <notebook_id> <url>
# Adds a URL source to a notebook

Deep Research (via agent):

"Research authentication patterns from my documentation"
# research-agent activates, asks follow-up questions, synthesizes answer

Requirements

For Claude Code Plugin:

  • Claude Code CLI
  • NotebookLM MCP server (notebooklm-mcp-server)
  • Google Chrome browser (for auth)
  • Google account with NotebookLM access

For Claude Desktop:

  • Claude Desktop
  • notebooklm-mcp package

Installation Options

Project Scope (Recommended)

bash
claude plugin install notebooklm@notebooklm-plugin --scope project

User Scope (All Projects)

bash
claude plugin install notebooklm@notebooklm-plugin --scope user

Local Scope (Gitignored)

bash
claude plugin install notebooklm@notebooklm-plugin --scope local

Authentication Options

The plugin supports multiple authentication backends (tried in priority order):

BackendPlatformDescription
CDPAllConnect to existing Chrome session (best UX)
KeychainmacOSStored cookies in system keychain
PersistentAllPlaywright browser profile
ManualAllInteractive browser login (fallback)

RPC Server (Default: File Mode)

For the HTTP/RPC server, default to file-mode auth:

bash
notebooklm-mcp-auth --file

This writes cookies to ~/.notebooklm-mcp/auth.json for RPC use.

Reuse on future runs: if ~/.notebooklm-mcp/auth.json exists, you can skip login.
If auth breaks: re-run notebooklm-mcp-auth --file to refresh cookies.

Validate auth without re-login:

bash
pixi run notebooklm-auth-check-rpc

Recommended: Chrome Remote Debugging (No Popups!)

bash
# 1. Start Chrome with remote debugging
open -a "Google Chrome" --args --remote-debugging-port=9222  # macOS

# 2. Login to NotebookLM in Chrome (one-time)
# Navigate to https://notebooklm.google.com and login with Google

# 3. Now queries use your existing session - no popups!
/nlm ask "How do I implement OAuth?"

Tip: Add to ~/.zshrc or ~/.bashrc:

bash
alias chrome-debug='open -a "Google Chrome" --args --remote-debugging-port=9222'

Troubleshooting

Not Authenticated

bash
# Run notebooklm-mcp-auth and complete login
notebooklm-mcp-auth

# Save RPC auth cookies
/nlm auth rpc

Rate Limited (50 queries/day free tier)

  • Wait for daily reset, or
  • Re-run notebooklm-mcp-auth with a different Google account

Wrong Notebook

bash
/nlm list           # See all notebooks
# Re-run /nlm ask with the correct notebook_id

See TROUBLESHOOTING.md for complete guide.

Documentation

Security & Privacy

  • ✅ All data stored locally by MCP server
  • ✅ No data sent to third parties
  • ✅ Browser session managed by MCP server
  • ✅ Credentials never logged
  • ⚠️ Consider dedicated Google account
  • ⚠️ NotebookLM terms of service apply

License

MIT License - see LICENSE

Related Projects


Built with ❤️ for efficient development workflows

Last Updated: December 2024

Cài đặt

TypingMind
{
  "mcpServers": {
    "notebooklm-claude-integration": {
      "command": "npx",
      "args": [
        "-y",
        "notebooklm-mcp@latest"
      ]
    }
  }
}

Công cụ có sẵn

  • ask_question

    Conversational Research Partner (NotebookLM • Gemini 2.5 • Session RAG)

    No Active Notebook

    • Visit https://notebooklm.google to create a notebook and get a share link
    • Use add_notebook to add it to your library (explains how to get the link)
    • Use list_notebooks to show available sources
    • Use select_notebook to set one active

    Auth tip: If login is required, use the prompt 'notebooklm.auth-setup' and then verify with the 'get_health' tool. If authentication later fails (e.g., expired cookies), use the prompt 'notebooklm.auth-repair'.

    Tip: Tell the user you can manage NotebookLM library and ask which notebook to use for the current task.

  • add_notebook

    PERMISSION REQUIRED — Only when user explicitly asks to add a notebook.

    Conversation Workflow (Mandatory)

    When the user says: "I have a NotebookLM with X"

    1. Ask URL: "What is the NotebookLM URL?"
    2. Ask content: "What knowledge is inside?" (1–2 sentences)
    3. Ask topics: "Which topics does it cover?" (3–5)
    4. Ask use cases: "When should we consult it?"
    5. Propose metadata and confirm:
      • Name: [suggested]
      • Description: [from user]
      • Topics: [list]
      • Use cases: [list] "Add it to your library now?"
    6. Only after explicit "Yes" → call this tool

    Rules

    • Do not add without user permission
    • Do not guess metadata — ask concisely
    • Confirm summary before calling the tool

    Example

    User: "I have a notebook with n8n docs" You: Ask URL → content → topics → use cases; propose summary User: "Yes" You: Call add_notebook

    How to Get a NotebookLM Share Link

    Visit https://notebooklm.google/ → Login (free: 100 notebooks, 50 sources each, 500k words, 50 daily queries)

    1. Cl
  • list_notebooks

    List all library notebooks with metadata (name, topics, use cases, URL). Use this to present options, then ask which notebook to use for the task.

  • get_notebook

    Get detailed information about a specific notebook by ID

  • select_notebook

    Set a notebook as the active default (used when ask_question has no notebook_id).

    When To Use

    • User switches context: "Let's work on React now"
    • User asks explicitly to activate a notebook
    • Obvious task change requires another notebook

    Auto-Switching

    • Safe to auto-switch if the context is clear and you announce it: "Switching to React notebook for this task..."
    • If ambiguous, ask: "Switch to [notebook] for this task?"

    Example

    User: "Now let's build the React frontend" You: "Switching to React notebook..." (call select_notebook)

  • update_notebook

    Update notebook metadata based on user intent.

    Pattern

    1. Identify target notebook and fields (topics, description, use_cases, tags, url)
    2. Propose the exact change back to the user
    3. After explicit confirmation, call this tool

    Examples

    • User: "React notebook also covers Next.js 14" You: "Add 'Next.js 14' to topics for React?" User: "Yes" → call update_notebook

    • User: "Include error handling in n8n description" You: "Update the n8n description to mention error handling?" User: "Yes" → call update_notebook

    Tip: You may update multiple fields at once if requested.

  • remove_notebook

    Dangerous — requires explicit user confirmation.

    Confirmation Workflow

    1. User requests removal ("Remove the React notebook")
    2. Look up full name to confirm
    3. Ask: "Remove '[notebook_name]' from your library? (Does not delete the actual NotebookLM notebook)"
    4. Only on explicit "Yes" → call remove_notebook

    Never remove without permission or based on assumptions.

    Example: User: "Delete the old React notebook" You: "Remove 'React Best Practices' from your library?" User: "Yes" → call remove_notebook

  • search_notebooks

    Search library by query (name, description, topics, tags). Use to propose relevant notebooks for the task and then ask which to use.

  • get_library_stats

    Get statistics about your notebook library (total notebooks, usage, etc.)

  • list_sessions

    List all active sessions with stats (age, message count, last activity). Use to continue the most relevant session instead of starting from scratch.

  • close_session

    Close a specific session by session ID. Ask before closing if the user might still need it.

  • reset_session

    Reset a session's chat history (keep same session ID). Use for a clean slate when the task changes; ask the user before resetting.

  • get_health

    Get server health status including authentication state, active sessions, and configuration. Use this to verify the server is ready before starting research workflows.

    If authenticated=false and having persistent issues: Consider running cleanup_data(preserve_library=true) + setup_auth for fresh start with clean browser session.

  • setup_auth

    Google authentication for NotebookLM access - opens a browser window for manual login to your Google account. Returns immediately after opening the browser. You have up to 10 minutes to complete the login. Use 'get_health' tool afterwards to verify authentication was saved successfully. Use this for first-time authentication or when auto-login credentials are not available. For switching accounts or rate-limit workarounds, use 're_auth' tool instead.

    TROUBLESHOOTING for persistent auth issues: If setup_auth fails or you encounter browser/session issues:

    1. Ask user to close ALL Chrome/Chromium instances
    2. Run cleanup_data(confirm=true, preserve_library=true) to clean old data
    3. Run setup_auth again for fresh start This helps resolve conflicts from old browser sessions and installation data.
  • re_auth

    Switch to a different Google account or re-authenticate. Use this when:

    • NotebookLM rate limit is reached (50 queries/day for free accounts)
    • You want to switch to a different Google account
    • Authentication is broken and needs a fresh start

    This will:

    1. Close all active browser sessions
    2. Delete all saved authentication data (cookies, Chrome profile)
    3. Open browser for fresh Google login

    After completion, use 'get_health' to verify authentication.

    TROUBLESHOOTING for persistent auth issues: If re_auth fails repeatedly:

    1. Ask user to close ALL Chrome/Chromium instances
    2. Run cleanup_data(confirm=false, preserve_library=true) to preview old files
    3. Run cleanup_data(confirm=true, preserve_library=true) to clean everything except library
    4. Run re_auth again for completely fresh start This removes old installation data and browser sessions that can cause conflicts.
  • cleanup_data

    ULTRATHINK Deep Cleanup - Scans entire system for ALL NotebookLM MCP data files across 8 categories. Always runs in deep mode, shows categorized preview before deletion.

    ⚠️ CRITICAL: Close ALL Chrome/Chromium instances BEFORE running this tool! Open browsers can prevent cleanup and cause issues.

    Categories scanned:

    1. Legacy Installation (notebooklm-mcp-nodejs) - Old paths with -nodejs suffix
    2. Current Installation (notebooklm-mcp) - Active data, browser profiles, library
    3. NPM/NPX Cache - Cached installations from npx
    4. Claude CLI MCP Logs - MCP server logs from Claude CLI
    5. Temporary Backups - Backup directories in system temp
    6. Claude Projects Cache - Project-specific cache (optional)
    7. Editor Logs (Cursor/VSCode) - MCP logs from code editors (optional)
    8. Trash Files - Deleted notebooklm files in system trash (optional)

    Works cross-platform (Linux, Windows, macOS). Safe by design: shows detailed preview before deletion, requires explicit confirmation.

    LIBRARY PRESERVATION

Dùng MCP NotebookLM Claude Integration 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 Claude Integration, 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 Claude Integration 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 Claude Integration.
  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-claude-integration": {
      "command": "npx",
      "args": [
        "-y",
        "notebooklm-mcp"
      ]
    }
  }
}
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 Claude Integration, 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 Claude Integration.
  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 Claude Integration giúp tôi làm việc này không?
NotebookLM Claude Integration
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng NotebookLM Claude Integration.

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

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

NotebookLM Claude Integration 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 Claude Integration 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 Claude Integration 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 Claude Integration 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 Claude Integration, 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 Claude Integration với TypingMind?

NotebookLM Claude Integration 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 Claude Integration cung cấp những công cụ nào trong TypingMind?

NotebookLM Claude Integration cung cấp 16 công cụ 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 Claude Integration 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 Claude Integration 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.

Notebook Library

Complete notebook library with all available knowledge sources. Read this to discover what notebooks are available. ⚠️ If you think a notebook might help with the user's task, ASK THE USER FOR PERMISSION before consulting it: 'Should I consult the [notebook] for this task?'

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 👇