notebooklm-gentle
<div align="center">
<img src="docs/assets/banner.svg" alt="notebooklm-gentle-mcp" width="100%">
<br>
**Creá un cuaderno de NotebookLM y preguntale desde Pi / Gentle Shell**
<br>Chrome visible con perfil dedicado. El inicio de sesión lo hacés vos.
<br>
<a href="https://github.com/RamonsDka/notebooklm-gentle-mcp/blob/main/CHANGELOG.md"><img alt="VERSION 0.1.0" src="https://img.shields.io/badge/VERSION-0.1.0-ff8fc3?style=for-the-badge&labelColor=1a1020"></a> <a href="https://github.com/RamonsDka/notebooklm-gentle-mcp/stargazers"><img alt="Stars" src="https://img.shields.io/github/stars/RamonsDka/notebooklm-gentle-mcp?style=for-the-badge&labelColor=1a1020&color=ff8fc3&label=STARS"></a> <a href="https://github.com/RamonsDka/notebooklm-gentle-mcp/actions/workflows/ci.yml"><img alt="CI" src="https://img.shields.io/github/actions/workflow/status/RamonsDka/notebooklm-gentle-mcp/ci.yml?branch=main&style=for-the-badge&labelColor=1a1020&color=7ee0a0&label=CI"></a> <a href="https://github.com/RamonsDka/notebooklm-gentle-mcp/commits/main"><img alt="Último commit" src="https://img.shields.io/github/last-commit/RamonsDka/notebooklm-gentle-mcp?style=for-the-badge&labelColor=1a1020&color=c77dff&label=COMMIT"></a> <a href="https://github.com/RamonsDka/notebooklm-gentle-mcp/blob/main/LICENSE"><img alt="LICENCIA MIT" src="https://img.shields.io/badge/LICENCIA-MIT-d8a7d8?style=for-the-badge&labelColor=1a1020"></a>
<br>
<a href="docs/install.md"><img alt="NODE 20+" src="https://img.shields.io/badge/NODE-20%2B-5fa777?style=for-the-badge&labelColor=1a1020&logo=node.js&logoColor=white"></a> <a href="docs/install.md"><img alt="PLATAFORMA LINUX · PROBADO" src="https://img.shields.io/badge/PLATAFORMA-LINUX_%C2%B7_PROBADO-8e44ad?style=for-the-badge&labelColor=1a1020&logo=linux&logoColor=white"></a> <a href="SECURITY.md"><img alt="CHROME SANDBOX" src="https://img.shields.io/badge/CHROME-SANDBOX-5fa777?style=for-the-badge&labelColor=1a1020&logo=googlechrome&logoColor=white"></a>
<br>
<a href="https://discord.gg/su7STZZpm"><img alt="DISCORD DIF™" src="https://img.shields.io/badge/DISCORD-DIF%E2%84%A2-5865F2?style=for-the-badge&labelColor=1a1020&logo=discord&logoColor=white"></a> <a href="https://discord.gg/JgfTGsaCG"><img alt="DISCORD GENTLEMAN PROGRAMMING" src="https://img.shields.io/badge/DISCORD-GENTLEMAN_PROGRAMMING-5865F2?style=for-the-badge&labelColor=1a1020&logo=discord&logoColor=white"></a> <a href="https://www.youtube.com/@RamonsDk-Dev"><img alt="YOUTUBE @RAMONSDK--DEV" src="https://img.shields.io/badge/YOUTUBE-%40RAMONSDK--DEV-FF0000?style=for-the-badge&labelColor=1a1020&logo=youtube&logoColor=white"></a> <a href="https://www.facebook.com/RamonsDk.Dev/"><img alt="FACEBOOK RAMONSDK.DEV" src="https://img.shields.io/badge/FACEBOOK-RAMONSDK.DEV-1877F2?style=for-the-badge&labelColor=1a1020&logo=facebook&logoColor=white"></a> <a href="https://rdktech.us/"><img alt="WEB RDKTECH.US" src="https://img.shields.io/badge/WEB-RDKTECH.US-8e44ad?style=for-the-badge&labelColor=1a1020&logo=googlechrome&logoColor=white"></a>
<br><br>
[**Instalar**](docs/install.md) • [**Uso**](docs/usage.md) • [**Solución de problemas**](docs/troubleshooting.md) • [**Seguridad**](SECURITY.md) • [**Contribuir**](CONTRIBUTING.md)
</div>
---
<div align="center">
<img src="docs/assets/notebook-mango.png" alt="NotebookLM responde: La fruta de prueba es el mango" width="92%">
<br><sub>El cuaderno creado desde una sesión normal de Gentle Shell. El avatar de la cuenta está difuminado.</sub>
</div>
> [!IMPORTANT]
> **Qué se probó**
> - Solo en Linux Pop!_OS con COSMIC, Google Chrome Flatpak 156 y Node 24. La interfaz de NotebookLM se probó en español (`es-DO`) y en inglés.
> - El 23 de noviembre de 2026, con la cuenta del autor: una ejecución directa del MCP devolvió «El color de prueba es el azul.» y una sesión nueva de Gentle Shell devolvió «La fruta de prueba es el mango.».
> - No se probó en Windows, macOS, otros navegadores, otros idiomas ni con cuentas de Google Workspace. Si Google cambia la interfaz, pueden dejar de funcionar los selectores.
## Camino rápido
Necesitás Git, Node 20 o más reciente, Chrome y Pi / Gentle Shell.
```sh
git clone https://github.com/RamonsDka/notebooklm-gentle-mcp.git
cd notebooklm-gentle-mcp
npm ci
npm run build
```
Agregá `notebooklm-gentle` a `~/.gentle-shell/agent/mcp.json` con el [ejemplo de configuración](docs/install.md#configurá-gentle-shell) y ejecutá `/reload`. La primera llamada válida a `notebooklm_create` abre Chrome. Si pide que inicies sesión antes de intentar crear el cuaderno, hacelo en esa ventana. Cuando veas el panel de cuadernos, volvé a pedir la creación en la misma sesión.
Si usás Chrome Flatpak, ubicá el perfil dedicado bajo `~/.var/app/com.google.Chrome/data/`, por ejemplo `gentle-notebooklm`. Chrome Flatpak no puede escribirlo bajo `~/.local/share/`.
## Qué es y cómo funciona
Es un servidor MCP por stdio. Abre Chrome visible con Playwright Core 1.65.1, sandbox activo y un perfil separado del que usás todos los días. El proyecto es independiente: no es oficial ni está afiliado a Google.

## Las tres herramientas
| Herramienta | Entrada | Qué hace |
| --- | --- | --- |
| `notebooklm_readiness` | `{}` o sin argumentos | Confirma que el MCP responde por stdio. No abre Chrome ni comprueba la cuenta de Google. |
| `notebooklm_create` | `{}` o `{"sourceText":"…"}` | Crea un cuaderno nuevo. Si autorizaste el envío de texto a Google, lo agrega como «Texto copiado» (hasta 20.000 unidades UTF-16). |
| `notebooklm_ask` | `{"notebookId":"…","question":"…"}` (pregunta de hasta 4.000 unidades UTF-16) | Pregunta en el último cuaderno creado por ese mismo proceso, mientras siga abierto ahí. Devuelve la respuesta en texto plano. |
## Seguridad y límites
El servidor comprueba la URL exacta antes de actuar. Cada paso hace como máximo un clic y, si necesita cargar texto, lo escribe una sola vez. Si un clic pudo haber surtido efecto pero no se confirmó, el campo de esa acción queda en `unknown`. No hay reintentos automáticos: revisá la ventana antes de pedir otro cambio.
El inicio de sesión es manual. El servidor no usa stealth ni Patchright, no copia perfiles y no sigue citas. La [política de seguridad](SECURITY.md) detalla las URL admitidas y qué datos se envían a Google.
## Guías
| Quiero… | Leé |
| --- | --- |
| Instalar y configurar el servidor | [Instalación](docs/install.md) |
| Ver los argumentos, resultados y estados | [Uso](docs/usage.md) |
| Resolver un problema de Chrome, login o tiempo de espera | [Solución de problemas](docs/troubleshooting.md) |
| Reportar una vulnerabilidad en privado | [Seguridad](SECURITY.md) |
| Preparar un cambio y correr las pruebas | [Contribuir](CONTRIBUTING.md) |
## Estructura del repositorio
```text
notebooklm-gentle-mcp/
├── src/ servidor stdio, perfil de Chrome y flujo de NotebookLM
├── test/ pruebas de stdio, navegador y flujo
├── docs/
│ └── assets/ banner, diagrama y capturas
├── .github/ CI y plantillas de issues y PR
├── package.json scripts y dependencias
└── LICENSE licencia MIT y avisos de copyright
```
## Sobre las capturas
Las dos capturas se tomaron en la cuenta del autor; el avatar está difuminado. La imagen de la terminal reproduce la salida de esa sesión de Gentle Shell. Solo se ajustaron los saltos de línea.
<table>
<tr>
<td width="50%"><img src="docs/assets/notebook-azul.png" alt="NotebookLM responde que el color de prueba es el azul"><br><sub>Ejecución directa del MCP</sub></td>
<td width="50%"><img src="docs/assets/terminal-gentle-shell.svg" alt="Salida de Gentle Shell: creación y envío confirmados; NotebookLM responde que la fruta es el mango"><br><sub>Terminal de la sesión que creó el cuaderno de la portada</sub></td>
</tr>
</table>
## Créditos
Derivado de [PleasePrompto/notebooklm-mcp](https://github.com/PleasePrompto/notebooklm-mcp/tree/50b3e7f67f8535d9899c5e2b1b68f37d17b72aef), versión 2.0.0 (MIT, Copyright (c) 2025 Please Prompto!). El proyecto original está archivado. Este repo reescribe la entrada Gentle y deja afuera el modo stealth, el manejo de credenciales y la copia del estado del navegador del original.
## Licencia
[MIT](LICENSE). Copyright (c) 2026 RamonsDka y Copyright (c) 2025 Please Prompto!.
TDQS
Scored across 3 tools
Each tool targets a clearly distinct action: a diagnostic readiness check, notebook creation, and question answering. There is no plausible way to confuse them, and the descriptions explicitly cross-reference each other (ask uses the notebookId from create).
All three names share a consistent notebooklm_ prefix and snake_case style. The only minor deviation is that 'readiness' is a noun/state rather than a verb like create/ask, but the pattern is still highly predictable.
Three tools is on the thin side even for a narrow domain; the server can only create and query, so nearly every other notebook operation is absent. It is borderline but not absurd for a minimal wrapper.
The surface covers only create-then-ask against the 'most recent' notebook, with no list, get, delete, or source-management operations. An agent cannot enumerate existing notebooks or work with more than one notebook, which are significant dead ends for the stated NotebookLM domain.