Repository navigation
Quickstart
This guide gets you up and running with the Google Notebook MCP Gateway in under two minutes.
- Python 3.11+ installed on your system.
- One of the 6 supported Chromium browsers:
- Google Chrome Beta (
google-chrome-beta) (Recommended) - Google Chrome Stable (
google-chrome) - Chromium (
chromium) - Brave Browser (
brave) - Microsoft Edge (
edge) - Microsoft Edge Beta (
edge-beta)
- Google Chrome Beta (
- An active Google account signed into notebook.google.com.
Run the autonomous onboarding orchestrator directly from the cloned repository root:
git clone https://github.com/wdeldaybytebuster/google-notebook-mcp.git
cd google-notebook-mcp
# Run the 6-stage autonomous installer
python3 install_and_onboard.pyOr if you installed the package via pip or uv:
gemini-notebook-mcp onboard- Browser Selection: Checks your default browser, guards against ChromeOS Garcon bridges, and selects a compatible Chromium binary (with automatic Wayland/Sommelier flags).
-
Native Messaging Registration: Automatically writes the Chrome Native Messaging host manifest (
com.mcp.gemini.broker.json) to both global and profile configuration directories, baking in the socket path and resource limits. -
Broker Startup & Developer Mode Pre-Seeding: Cleans stale socket/lock files, starts the background Policy Broker daemon, pre-seeds
Default/Preferenceswith Developer mode enabled, and launches your browser pointing directly tochrome://extensions. -
Extension Injection & Verification Gate: Injects the companion extension via CDP
Extensions.loadUnpackedor prompts 1-click Load unpacked with automatic folder path clipboard assist. Detects the active Extension ID and synchronizes manifests. -
Seamless Navigation & Login Detection: Automatically navigates the active browser tab to
https://notebook.google.com/with the companion extension already active. Content scripts attach immediately on load, and the script pollswindow.WIZ_global_datafor CSRF and account hydration. -
Notebook Discovery & Allowlisting: Reads your notebooks via Google's live
wXbhsfRPC, presents an interactive numbered list, and writes your approved notebooks to~/.config/notebooklm-mcp-bridge/allowlist.jsonand.notebook_mcp.json.
Once the wizard completes, configure your AI coding agent:
Run in your project terminal:
claude mcp add gemini-notebook -- python3 -m mcp_gateway.cli mcp{
"mcpServers": {
"gemini-notebook": {
"command": "python3",
"args": ["-m", "mcp_gateway.cli", "mcp"],
"env": {
"MCP_BROKER_SOCKET": "/tmp/notebooklm-mcp-broker.sock",
"UV_THREADPOOL_SIZE": "3"
}
}
}
}Add to ~/.gemini/antigravity-ide/mcp_config.json:
{
"mcpServers": {
"gemini-notebook": {
"command": "python3",
"args": ["-m", "mcp_gateway.cli", "mcp"],
"env": {
"MCP_BROKER_SOCKET": "/tmp/notebooklm-mcp-broker.sock",
"UV_THREADPOOL_SIZE": "3"
}
}
}
}When starting a chat session in your IDE, your AI agent will detect your project binding from .notebook_mcp.json and ask:
"For this project, we have notebook 'My Research Notebook' configured. Would you like to use this notebook for this chat, or choose another from the list?"
Simply reply:
"Yes, use the project notebook."
The assistant invokes select_notebook, locking the session into ACTIVE_DISPATCH mode and enabling all 9 MCP tools.
If you prefer to configure each component manually:
pip install -e .
# or
uv syncgemini-notebook-mcp install- Open Chrome and navigate to
chrome://extensions. - Enable Developer mode (top-right toggle).
- Click Load unpacked and select the
src/extension/directory. - If your extension ID differs from the candidate hash, re-register:
gemini-notebook-mcp install --extension-id <COPIED_EXTENSION_ID>
gemini-notebook-mcp launchgemini-notebook-mcp allowlist seedVersion: v4.2.0-STRICT
Status: Grounded & Verified