JB

jacob-bd/notebooklm-mcp-cli

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

6407 stars 962 forks 质量 98 趋势 55MIT

通过命令行界面(CLI)、模型上下文协议(MCP)服务器和人工智能代理技能,程序化访问Gemini笔记本。

概览

——通过命令行接口(CLI)或模型上下文协议(MCP)服务器。 已用 Pro/free 和 Google AI Ultra(每月 $249)账户测试过。可能适用于 NotebookLM 企业版账户,但尚未测试。 直接在终端中使用 NLM,用于脚本编写、自动化或交互使用: 运行 nlm ——-ai 以获取全面的 AI 助手文档。 将AI助手(Claude、Gemini、Cursor等)连接到NotebookLM: 然后用自然语言:“创建一个关于量子计算的笔记本,生成一个播客” 📚 - — 安装、登录、代理设置及迁移,从另一个 NotebookLM MCP - — 完整命令参考 - — 全部 35 个 MCP 工具及示例 - — 设置与故障排除 - — Web/移动连接器的可行性、安全性和认证限制 - — 贡献者内部 API 文档 这个MCP和CLI使用以下内容:- 未文档化,可能会在没有通知的情况下发生变化 - 要求从浏览器中提取Cookie(我有工具可以做到!)

概述(AI 翻译)

程序化访问Gemini笔记本——通过命令行界面(CLI)或模型上下文协议(MCP)服务器。

🚨 新:受保护的登录存储(推荐) 您保存的谷歌登录现在可以加密,密钥保存在电脑的钥匙串中,而非普通文件。我们强烈建议大家切换到个人电脑:

NLM 认证存储集受保护

💡 你也可以使用“nlm设置”向导,在向导中选择“凭证保护”选项

可选:除非你开启它,否则不会有任何变化。服务器、cron、Docker 和 SSH 设置可以保留纯文件。 📖 工作原理 ·📺观看这段短视频

🤖趣闻:这个视频是由一位代理使用 gemini-notebook-mcp 制作的。

注: 个人/消费者账户定期测试。Gemini Notebook 企业支持仍处于实验阶段。文档中的 notebook.cloud.google.com 主机已通过项目合格的 global 部署进行实时验证;其他企业主机变体可能需要额外验证。

☕ 如果你觉得notebooklm-mcp-cli有用,考虑请我喝杯咖啡。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Gemini Notebook (formerly Google NotebookLM) CLI & MCP Server

Programmatic access to Gemini Notebook — via command-line interface (CLI) or Model Context Protocol (MCP) server.

🚨 New: Protected login storage (recommended) Your saved Google login can now be encrypted, with its key kept in your computer’s keychain instead of a plain file. We highly recommend everyone switch on a personal computer:

nlm auth storage set protected

💡 You can also use the ‘nlm setup’ wizard and select the ‘Credentials Protection’ option in the wizard

Optional: nothing changes unless you turn it on. Servers, cron, Docker and SSH setups can keep the plain file. 📖 How it works · 📺 Watch this short video

🤖 Fun fact: this video was created by an agent using the gemini-notebook-mcp.

Note: Personal/consumer accounts are tested regularly. Gemini Notebook Enterprise support is experimental. The documented notebook.cloud.google.com host has been live-verified with a project-qualified global deployment; other Enterprise host variants may require additional validation.

☕ If you find notebooklm-mcp-cli useful, consider buying me a coffee. It’s free and built in my spare time — but testing every Gemini Notebook feature takes real time and resources. A coffee helps me cover it and keep shipping. Thank you! 🙏

📺 Watch the Demos

Latest

Claude Cowork & Interactive Reports Codex Setup + Cinematic Video & Slides

MCP Demos

在 GitHub 查看完整 README

安装

uvx --from notebooklm-mcp-cli notebooklm-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "gemini-notebook-mcp": { "command": "notebooklm-mcp", "env": { "NOTEBOOKLM_BASE_URL": "https://notebook.cloud.google.com", "NOTEBOOKLM_PROJECT_ID": "your-gcp-project-id-or-number", "NOTEBOOKLM_LOCATION": "global" } } } }