@roomi-fields/notebooklm-mcp 1.5.7 → 1.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -22
- package/README.md +219 -219
- package/deployment/INDEX.md +0 -0
- package/deployment/PACKAGE-FILES.txt +180 -180
- package/deployment/QUICK-START.md +0 -0
- package/deployment/docs/01-INSTALL.md +21 -1
- package/deployment/docs/02-CONFIGURATION.md +0 -0
- package/deployment/docs/03-API.md +16 -10
- package/deployment/docs/04-N8N-INTEGRATION.md +0 -0
- package/deployment/docs/05-TROUBLESHOOTING.md +19 -1
- package/deployment/docs/06-NOTEBOOK-LIBRARY.md +9 -9
- package/deployment/docs/07-AUTO-DISCOVERY.md +6 -15
- package/deployment/docs/08-DOCKER.md +0 -0
- package/deployment/docs/08-WSL-USAGE.md +7 -7
- package/deployment/docs/09-MULTI-INTERFACE.md +6 -6
- package/deployment/docs/10-CONTENT-MANAGEMENT.md +15 -19
- package/deployment/docs/11-MULTI-ACCOUNT.md +1 -1
- package/deployment/docs/README.md +4 -50
- package/deployment/scripts/README.md +0 -0
- package/deployment/scripts/install.ps1 +114 -114
- package/deployment/scripts/setup-auth.ps1 +217 -217
- package/deployment/scripts/start-server.ps1 +72 -72
- package/deployment/scripts/stop-server.ps1 +51 -51
- package/deployment/scripts/test-api.ps1 +651 -651
- package/deployment/scripts/test-auth.ps1 +0 -0
- package/deployment/scripts/test-auto-discovery.ps1 +295 -295
- package/deployment/scripts/test-cors.ps1 +398 -398
- package/deployment/scripts/test-errors.ps1 +581 -581
- package/deployment/scripts/test-server.ps1 +140 -140
- package/deployment/scripts/test-sessions.ps1 +426 -426
- package/deployment/scripts/test-validation.ps1 +299 -299
- package/dist/accounts/account-manager.d.ts +0 -0
- package/dist/accounts/account-manager.d.ts.map +0 -0
- package/dist/accounts/account-manager.js +0 -0
- package/dist/accounts/account-manager.js.map +0 -0
- package/dist/accounts/auto-login-manager.d.ts +0 -0
- package/dist/accounts/auto-login-manager.d.ts.map +0 -0
- package/dist/accounts/auto-login-manager.js +0 -0
- package/dist/accounts/auto-login-manager.js.map +0 -0
- package/dist/accounts/crypto.d.ts +0 -0
- package/dist/accounts/crypto.d.ts.map +0 -0
- package/dist/accounts/crypto.js +0 -0
- package/dist/accounts/crypto.js.map +0 -0
- package/dist/accounts/index.d.ts +0 -0
- package/dist/accounts/index.d.ts.map +0 -0
- package/dist/accounts/index.js +0 -0
- package/dist/accounts/index.js.map +0 -0
- package/dist/accounts/types.d.ts +0 -0
- package/dist/accounts/types.d.ts.map +0 -0
- package/dist/accounts/types.js +0 -0
- package/dist/accounts/types.js.map +0 -0
- package/dist/auth/auth-manager.d.ts +0 -0
- package/dist/auth/auth-manager.d.ts.map +0 -0
- package/dist/auth/auth-manager.js +0 -0
- package/dist/auth/auth-manager.js.map +0 -0
- package/dist/auto-discovery/auto-discovery.d.ts +0 -0
- package/dist/auto-discovery/auto-discovery.d.ts.map +0 -0
- package/dist/auto-discovery/auto-discovery.js +0 -0
- package/dist/auto-discovery/auto-discovery.js.map +0 -0
- package/dist/cli/accounts.d.ts +0 -0
- package/dist/cli/accounts.d.ts.map +0 -0
- package/dist/cli/accounts.js +0 -0
- package/dist/cli/accounts.js.map +0 -0
- package/dist/cli/de-auth.d.ts +0 -0
- package/dist/cli/de-auth.d.ts.map +0 -0
- package/dist/cli/de-auth.js +0 -0
- package/dist/cli/de-auth.js.map +0 -0
- package/dist/cli/help.d.ts +0 -0
- package/dist/cli/help.d.ts.map +0 -0
- package/dist/cli/help.js +5 -0
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/setup-auth.d.ts +0 -0
- package/dist/cli/setup-auth.d.ts.map +0 -0
- package/dist/cli/setup-auth.js +0 -0
- package/dist/cli/setup-auth.js.map +0 -0
- package/dist/config.d.ts +0 -0
- package/dist/config.d.ts.map +0 -0
- package/dist/config.js +0 -0
- package/dist/config.js.map +0 -0
- package/dist/content/content-generator.d.ts +0 -0
- package/dist/content/content-generator.d.ts.map +0 -0
- package/dist/content/content-generator.js +0 -0
- package/dist/content/content-generator.js.map +0 -0
- package/dist/content/content-manager.d.ts +8 -0
- package/dist/content/content-manager.d.ts.map +1 -1
- package/dist/content/content-manager.js +411 -67
- package/dist/content/content-manager.js.map +1 -1
- package/dist/content/content-templates.d.ts +0 -0
- package/dist/content/content-templates.d.ts.map +0 -0
- package/dist/content/content-templates.js +0 -0
- package/dist/content/content-templates.js.map +0 -0
- package/dist/content/index.d.ts +0 -0
- package/dist/content/index.d.ts.map +0 -0
- package/dist/content/index.js +0 -0
- package/dist/content/index.js.map +0 -0
- package/dist/content/types.d.ts +0 -0
- package/dist/content/types.d.ts.map +0 -0
- package/dist/content/types.js +0 -0
- package/dist/content/types.js.map +0 -0
- package/dist/errors.d.ts +0 -0
- package/dist/errors.d.ts.map +0 -0
- package/dist/errors.js +0 -0
- package/dist/errors.js.map +0 -0
- package/dist/http-wrapper.d.ts +0 -0
- package/dist/http-wrapper.d.ts.map +0 -0
- package/dist/http-wrapper.js +0 -0
- package/dist/http-wrapper.js.map +0 -0
- package/dist/i18n/en.json +0 -0
- package/dist/i18n/fr.json +0 -0
- package/dist/i18n/index.d.ts +0 -0
- package/dist/i18n/index.d.ts.map +0 -0
- package/dist/i18n/index.js +0 -0
- package/dist/i18n/index.js.map +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.d.ts.map +0 -0
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/library/notebook-library.d.ts +0 -0
- package/dist/library/notebook-library.d.ts.map +0 -0
- package/dist/library/notebook-library.js +0 -0
- package/dist/library/notebook-library.js.map +0 -0
- package/dist/library/types.d.ts +0 -0
- package/dist/library/types.d.ts.map +0 -0
- package/dist/library/types.js +0 -0
- package/dist/library/types.js.map +0 -0
- package/dist/session/browser-session.d.ts +12 -0
- package/dist/session/browser-session.d.ts.map +1 -1
- package/dist/session/browser-session.js +156 -32
- package/dist/session/browser-session.js.map +1 -1
- package/dist/session/session-manager.d.ts +0 -0
- package/dist/session/session-manager.d.ts.map +0 -0
- package/dist/session/session-manager.js +0 -0
- package/dist/session/session-manager.js.map +0 -0
- package/dist/session/shared-context-manager.d.ts +0 -0
- package/dist/session/shared-context-manager.d.ts.map +0 -0
- package/dist/session/shared-context-manager.js +0 -0
- package/dist/session/shared-context-manager.js.map +0 -0
- package/dist/startup/startup-manager.d.ts +0 -0
- package/dist/startup/startup-manager.d.ts.map +0 -0
- package/dist/startup/startup-manager.js +0 -0
- package/dist/startup/startup-manager.js.map +0 -0
- package/dist/stdio-http-proxy.d.ts +0 -0
- package/dist/stdio-http-proxy.d.ts.map +0 -0
- package/dist/stdio-http-proxy.js +7 -2
- package/dist/stdio-http-proxy.js.map +1 -1
- package/dist/tools/index.d.ts +0 -0
- package/dist/tools/index.d.ts.map +0 -0
- package/dist/tools/index.js +0 -0
- package/dist/tools/index.js.map +0 -0
- package/dist/types.d.ts +0 -0
- package/dist/types.d.ts.map +0 -0
- package/dist/types.js +0 -0
- package/dist/types.js.map +0 -0
- package/dist/utils/citation-extractor.d.ts +0 -0
- package/dist/utils/citation-extractor.d.ts.map +0 -0
- package/dist/utils/citation-extractor.js +67 -67
- package/dist/utils/citation-extractor.js.map +0 -0
- package/dist/utils/cleanup-manager.d.ts +0 -0
- package/dist/utils/cleanup-manager.d.ts.map +0 -0
- package/dist/utils/cleanup-manager.js +0 -0
- package/dist/utils/cleanup-manager.js.map +0 -0
- package/dist/utils/logger.d.ts +0 -0
- package/dist/utils/logger.d.ts.map +0 -0
- package/dist/utils/logger.js +0 -0
- package/dist/utils/logger.js.map +0 -0
- package/dist/utils/page-utils.d.ts +5 -0
- package/dist/utils/page-utils.d.ts.map +1 -1
- package/dist/utils/page-utils.js +73 -15
- package/dist/utils/page-utils.js.map +1 -1
- package/dist/utils/stealth-utils.d.ts +0 -0
- package/dist/utils/stealth-utils.d.ts.map +0 -0
- package/dist/utils/stealth-utils.js +0 -0
- package/dist/utils/stealth-utils.js.map +0 -0
- package/docs/ADDING_A_LANGUAGE.md +0 -0
- package/docs/ARCHITECTURE_MIGRATION_STUDY.md +0 -0
- package/docs/CHROME_PROFILE_LIMITATION.md +0 -0
- package/docs/MULTI_ACCOUNT_SYSTEM.md +0 -0
- package/package.json +5 -2
- package/scripts/archive/add-and-activate-notebook.ps1 +4 -4
- package/scripts/archive/add-new-notebook.ps1 +4 -4
- package/scripts/archive/add-rom1pey.ps1 +2 -2
- package/scripts/archive/add-rpmonster.ps1 +2 -2
- package/scripts/archive/add-source-debug.ps1 +1 -1
- package/scripts/archive/add-source-e2e.ps1 +1 -1
- package/scripts/archive/add-source-visible.ps1 +1 -1
- package/scripts/archive/add-test-notebook.ps1 +1 -1
- package/scripts/archive/add-test-source.ps1 +1 -1
- package/scripts/archive/capture-screen.ps1 +1 -1
- package/scripts/archive/change-language.mjs +4 -3
- package/scripts/archive/change-language.ts +5 -3
- package/scripts/archive/check-account.ps1 +0 -0
- package/scripts/archive/check-notebook-2.ps1 +0 -0
- package/scripts/archive/check-test-notebook.ps1 +0 -0
- package/scripts/archive/create-notebook-auto.ps1 +0 -0
- package/scripts/archive/create-notebook.ps1 +2 -2
- package/scripts/archive/create-rom1pey-notebook.ps1 +2 -2
- package/scripts/archive/create-rom1pey.ps1 +2 -2
- package/scripts/archive/create-test-notebook-fresh.ps1 +0 -0
- package/scripts/archive/create-test-notebook.ps1 +0 -0
- package/scripts/archive/debug-add-source-auto.ps1 +0 -0
- package/scripts/archive/debug-add-source.ps1 +0 -0
- package/scripts/archive/debug-add-text-source.ps1 +4 -4
- package/scripts/archive/debug-home.ps1 +0 -0
- package/scripts/archive/debug-selectors.ps1 +1 -1
- package/scripts/archive/debug-sources-panel.ps1 +0 -0
- package/scripts/archive/debug-ui.ps1 +0 -0
- package/scripts/archive/discover-home.ps1 +2 -2
- package/scripts/archive/kill-automation-chrome.ps1 +0 -0
- package/scripts/archive/list-my-notebooks.ps1 +0 -0
- package/scripts/archive/navigate-home-visible.ps1 +1 -1
- package/scripts/archive/navigate-home.ps1 +1 -1
- package/scripts/archive/run-e2e-english.ps1 +3 -3
- package/scripts/archive/run-e2e-rom1pey-v2.ps1 +4 -4
- package/scripts/archive/run-e2e-rom1pey.ps1 +4 -4
- package/scripts/archive/setup-english-test.ps1 +6 -6
- package/scripts/archive/setup-test-notebook.ps1 +1 -1
- package/scripts/archive/simple-add-source.ps1 +1 -1
- package/scripts/archive/t10.ps1 +1 -1
- package/scripts/archive/t20.ps1 +1 -1
- package/scripts/archive/t30.ps1 +1 -1
- package/scripts/archive/t31.ps1 +1 -1
- package/scripts/archive/t32.ps1 +1 -1
- package/scripts/archive/t39.ps1 +0 -0
- package/scripts/archive/t40.ps1 +0 -0
- package/scripts/archive/t53.ps1 +1 -1
- package/scripts/archive/t54.ps1 +0 -0
- package/scripts/archive/t55.ps1 +0 -0
- package/scripts/archive/t9.ps1 +0 -0
- package/scripts/archive/test-access.ps1 +1 -1
- package/scripts/archive/test-add-delete-source.ps1 +4 -4
- package/scripts/archive/test-add-source-visible.ps1 +1 -1
- package/scripts/archive/test-add-source.ps1 +1 -1
- package/scripts/archive/test-add-text-debug.ps1 +2 -2
- package/scripts/archive/test-add-text-source.ps1 +0 -0
- package/scripts/archive/test-add-url-source.ps1 +0 -0
- package/scripts/archive/test-ask-ascii.ps1 +0 -0
- package/scripts/archive/test-ask-cnv.ps1 +0 -0
- package/scripts/archive/test-ask-headed.ps1 +1 -1
- package/scripts/archive/test-ask-ifs.ps1 +0 -0
- package/scripts/archive/test-ask-now.ps1 +0 -0
- package/scripts/archive/test-ask-real.ps1 +0 -0
- package/scripts/archive/test-ask-visible.ps1 +0 -0
- package/scripts/archive/test-create-notebook.ps1 +0 -0
- package/scripts/archive/test-create-then-add.ps1 +0 -0
- package/scripts/archive/test-delete-source.ps1 +4 -4
- package/scripts/archive/test-e2e-notebook.ps1 +2 -2
- package/scripts/archive/test-english-notebook.ps1 +4 -4
- package/scripts/archive/test-english.ps1 +1 -1
- package/scripts/archive/test-full-custom-instructions.ps1 +1 -1
- package/scripts/archive/test-full-infographic.ps1 +1 -1
- package/scripts/archive/test-full-language.ps1 +1 -1
- package/scripts/archive/test-full-presentation.ps1 +1 -1
- package/scripts/archive/test-full-report.ps1 +1 -1
- package/scripts/archive/test-full-source-selection.ps1 +1 -1
- package/scripts/archive/test-full-video-brief.ps1 +1 -1
- package/scripts/archive/test-full-video-explainer.ps1 +1 -1
- package/scripts/archive/test-full-video-styles.ps1 +1 -1
- package/scripts/archive/test-generate-report.ps1 +0 -0
- package/scripts/archive/test-generate-study-guide.ps1 +0 -0
- package/scripts/archive/test-headed-ask.ps1 +1 -1
- package/scripts/archive/test-headed-now.ps1 +2 -2
- package/scripts/archive/test-headed.ps1 +2 -2
- package/scripts/archive/test-hello.ps1 +1 -1
- package/scripts/archive/test-i18n-studio.ps1 +0 -0
- package/scripts/archive/test-i18n.ps1 +0 -0
- package/scripts/archive/test-manual-headed.ps1 +1 -1
- package/scripts/archive/test-mathieu-quota.ps1 +1 -1
- package/scripts/archive/test-notebook-1.ps1 +0 -0
- package/scripts/archive/test-notebook-2-sources.ps1 +0 -0
- package/scripts/archive/test-notebook1.ps1 +0 -0
- package/scripts/archive/test-personal-notebook.ps1 +1 -1
- package/scripts/archive/test-rate-limit.ps1 +1 -1
- package/scripts/archive/test-real-ask.ps1 +1 -1
- package/scripts/archive/test-real-ask2.ps1 +1 -1
- package/scripts/archive/test-rom1pey.ps1 +1 -1
- package/scripts/archive/test-rotation-complete.ps1 +1 -1
- package/scripts/archive/test-rotation.ps1 +2 -2
- package/scripts/archive/test-show-browser.ps1 +1 -1
- package/scripts/archive/test-update-notebook.ps1 +1 -1
- package/scripts/archive/verify-language-slow.ps1 +1 -1
- package/scripts/archive/verify-language.ps1 +1 -1
- package/scripts/check-server.ps1 +0 -0
- package/scripts/docker-entrypoint.sh +25 -25
- package/scripts/doctor.mjs +257 -0
- package/scripts/mcp-proxy-hidden.ps1 +0 -0
- package/scripts/mcp-wsl-helper.sh +146 -146
- package/scripts/start-server-hidden.vbs +13 -10
- package/scripts/start-server.ps1 +1 -1
- package/scripts/start-vnc.sh +0 -0
- package/scripts/stop-server.bat +0 -0
- package/scripts/stop-server.ps1 +0 -0
- package/scripts/switch-account-language.sh +87 -128
- package/scripts/test-account.ps1 +0 -0
- package/docs/archive/auto-discovery-complet.md +0 -906
- package/scripts/add-totp.ts +0 -110
|
@@ -37,7 +37,7 @@ Due to browser requirements (Playwright needs Chrome), the HTTP server must run
|
|
|
37
37
|
Open a **Windows terminal** (PowerShell or CMD, not WSL):
|
|
38
38
|
|
|
39
39
|
```powershell
|
|
40
|
-
cd D:\
|
|
40
|
+
cd D:\path\to\notebooklm-mcp
|
|
41
41
|
npm run start:http
|
|
42
42
|
```
|
|
43
43
|
|
|
@@ -129,7 +129,7 @@ mcp__notebooklm__ask_question(question="...", notebook_id="my-notebook")
|
|
|
129
129
|
```powershell
|
|
130
130
|
# From Windows (not WSL):
|
|
131
131
|
taskkill /F /IM node.exe
|
|
132
|
-
cd D:\
|
|
132
|
+
cd D:\path\to\notebooklm-mcp
|
|
133
133
|
npm run start:http
|
|
134
134
|
```
|
|
135
135
|
|
|
@@ -165,7 +165,7 @@ Kill all node processes and restart:
|
|
|
165
165
|
|
|
166
166
|
```powershell
|
|
167
167
|
taskkill /F /IM node.exe
|
|
168
|
-
cd D:\
|
|
168
|
+
cd D:\path\to\notebooklm-mcp
|
|
169
169
|
npm run start:http
|
|
170
170
|
```
|
|
171
171
|
|
|
@@ -265,7 +265,7 @@ The project includes PowerShell scripts for managing the server:
|
|
|
265
265
|
### Run in Background (Hidden Window)
|
|
266
266
|
|
|
267
267
|
```powershell
|
|
268
|
-
Start-Process powershell -ArgumentList "-ExecutionPolicy Bypass -File D:\
|
|
268
|
+
Start-Process powershell -ArgumentList "-ExecutionPolicy Bypass -File D:\path\to\notebooklm-mcp\scripts\start-server.ps1" -WindowStyle Hidden
|
|
269
269
|
```
|
|
270
270
|
|
|
271
271
|
### Windows Task Scheduler (Auto-start on Login)
|
|
@@ -275,7 +275,7 @@ Start-Process powershell -ArgumentList "-ExecutionPolicy Bypass -File D:\Claude\
|
|
|
275
275
|
3. Trigger: "When I log on"
|
|
276
276
|
4. Action: Start a program
|
|
277
277
|
- Program: `powershell.exe`
|
|
278
|
-
- Arguments: `-ExecutionPolicy Bypass -WindowStyle Hidden -File "D:\
|
|
278
|
+
- Arguments: `-ExecutionPolicy Bypass -WindowStyle Hidden -File "D:\path\to\notebooklm-mcp\scripts\start-server.ps1"`
|
|
279
279
|
5. Check "Open Properties dialog" and set "Run whether user is logged on or not"
|
|
280
280
|
|
|
281
281
|
## Authentication Procedure (TOTP/2FA)
|
|
@@ -292,7 +292,7 @@ taskkill /F /IM node.exe
|
|
|
292
292
|
### Step 2: Run accounts test with visible browser
|
|
293
293
|
|
|
294
294
|
```powershell
|
|
295
|
-
cd D:\
|
|
295
|
+
cd D:\path\to\notebooklm-mcp
|
|
296
296
|
npm run accounts test account-XXXXXXXXXXXXX -- --show
|
|
297
297
|
```
|
|
298
298
|
|
|
@@ -321,7 +321,7 @@ cp /mnt/c/Users/USERNAME/AppData/Local/notebooklm-mcp/Data/accounts/account-*/br
|
|
|
321
321
|
### Step 4: Start HTTP server
|
|
322
322
|
|
|
323
323
|
```powershell
|
|
324
|
-
cd D:\
|
|
324
|
+
cd D:\path\to\notebooklm-mcp
|
|
325
325
|
npm run start:http
|
|
326
326
|
```
|
|
327
327
|
|
|
@@ -47,7 +47,7 @@ The **Stdio-HTTP Proxy** enables Claude Desktop to communicate with the HTTP ser
|
|
|
47
47
|
**From PowerShell (recommended):**
|
|
48
48
|
|
|
49
49
|
```powershell
|
|
50
|
-
cd D:\
|
|
50
|
+
cd D:\path\to\notebooklm-mcp
|
|
51
51
|
|
|
52
52
|
# Build if needed
|
|
53
53
|
npm run build
|
|
@@ -63,7 +63,7 @@ Start-Process -NoNewWindow node -ArgumentList "dist/http-wrapper.js"
|
|
|
63
63
|
|
|
64
64
|
```bash
|
|
65
65
|
# Helper script handles everything correctly
|
|
66
|
-
HELPER=/mnt/d/
|
|
66
|
+
HELPER=/mnt/d/path/to/notebooklm-mcp/scripts/mcp-wsl-helper.sh
|
|
67
67
|
|
|
68
68
|
$HELPER start # Start server (Windows process)
|
|
69
69
|
$HELPER health # Check health
|
|
@@ -76,7 +76,7 @@ $HELPER stop # Stop server
|
|
|
76
76
|
|
|
77
77
|
```bash
|
|
78
78
|
# This launches node.exe on Windows, NOT node in WSL
|
|
79
|
-
powershell.exe -Command "Start-Process -NoNewWindow -FilePath 'node' -ArgumentList 'D:/
|
|
79
|
+
powershell.exe -Command "Start-Process -NoNewWindow -FilePath 'node' -ArgumentList 'D:/path/to/notebooklm-mcp/dist/http-wrapper.js' -WorkingDirectory 'D:/path/to/notebooklm-mcp'"
|
|
80
80
|
```
|
|
81
81
|
|
|
82
82
|
### Step 2: Configure Claude Desktop
|
|
@@ -92,7 +92,7 @@ Edit your Claude Desktop config file:
|
|
|
92
92
|
"mcpServers": {
|
|
93
93
|
"notebooklm": {
|
|
94
94
|
"command": "node",
|
|
95
|
-
"args": ["D:/
|
|
95
|
+
"args": ["D:/path/to/notebooklm-mcp/dist/stdio-http-proxy.js"],
|
|
96
96
|
"env": {
|
|
97
97
|
"MCP_HTTP_URL": "http://localhost:3000"
|
|
98
98
|
}
|
|
@@ -231,7 +231,7 @@ The HTTP server MUST run as a Windows process to access Chrome. Fix:
|
|
|
231
231
|
|
|
232
232
|
```bash
|
|
233
233
|
# Use the helper script (recommended)
|
|
234
|
-
HELPER=/mnt/d/
|
|
234
|
+
HELPER=/mnt/d/path/to/notebooklm-mcp/scripts/mcp-wsl-helper.sh
|
|
235
235
|
|
|
236
236
|
# 1. Stop any running server
|
|
237
237
|
$HELPER stop
|
|
@@ -250,7 +250,7 @@ $HELPER health
|
|
|
250
250
|
pkill -f http-wrapper
|
|
251
251
|
|
|
252
252
|
# 2. Start as Windows process
|
|
253
|
-
powershell.exe -Command "Start-Process -NoNewWindow -FilePath 'node' -ArgumentList 'D:/
|
|
253
|
+
powershell.exe -Command "Start-Process -NoNewWindow -FilePath 'node' -ArgumentList 'D:/path/to/notebooklm-mcp/dist/http-wrapper.js' -WorkingDirectory 'D:/path/to/notebooklm-mcp'"
|
|
254
254
|
|
|
255
255
|
# 3. Verify (via PowerShell, not curl from WSL)
|
|
256
256
|
powershell.exe -Command "Invoke-RestMethod -Uri 'http://localhost:3000/health'"
|
|
@@ -21,22 +21,17 @@ The Content Management module enables you to:
|
|
|
21
21
|
|
|
22
22
|
**REAL NotebookLM Features (fully integrated):**
|
|
23
23
|
|
|
24
|
-
- Audio Overview generation
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
24
|
+
- Audio Overview generation — NotebookLM's actual podcast feature
|
|
25
|
+
- Video generation — brief + explainer with 6 visual styles (classroom, documentary, animated, corporate, cinematic, minimalist)
|
|
26
|
+
- Infographic generation — horizontal and vertical layouts
|
|
27
|
+
- Report / Presentation / Data Table — text-based content returned in the API response
|
|
28
|
+
- Download artifacts — WAV audio, MP4 video, PNG infographics
|
|
29
|
+
- Source management — add files, URLs, text, YouTube videos, Google Drive
|
|
30
|
+
- Q&A with citations — DOM-extracted source names and excerpts
|
|
28
31
|
|
|
29
|
-
**
|
|
32
|
+
**Prompt-based content (use `ask_question` directly):**
|
|
30
33
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
- ~~Briefing Doc~~ - Just asked chat to generate a summary
|
|
34
|
-
- ~~Study Guide~~ - Just asked chat to create study materials
|
|
35
|
-
- ~~FAQ~~ - Just asked chat to generate FAQs
|
|
36
|
-
- ~~Timeline~~ - Just asked chat to create a timeline
|
|
37
|
-
- ~~Table of Contents~~ - Just asked chat to create a TOC
|
|
38
|
-
|
|
39
|
-
If you need these, simply use `ask_question` with your own prompt like "Create a study guide" or "Generate an FAQ".
|
|
34
|
+
For content types that NotebookLM doesn't expose as first-class studio outputs — briefing docs, study guides, FAQ, timelines, tables of contents — call `ask_question` with a custom prompt (e.g. "Create a study guide from these sources"). These are regular chat responses, not separate NotebookLM integrations.
|
|
40
35
|
|
|
41
36
|
---
|
|
42
37
|
|
|
@@ -410,11 +405,12 @@ Audio generation can take 5-10 minutes. The API will wait up to 10 minutes for c
|
|
|
410
405
|
|
|
411
406
|
## Version History
|
|
412
407
|
|
|
413
|
-
| Version | Changes
|
|
414
|
-
| ------- |
|
|
415
|
-
| 1.
|
|
416
|
-
| 1.4.
|
|
417
|
-
| 1.
|
|
408
|
+
| Version | Changes |
|
|
409
|
+
| ------- | ----------------------------------------------------------------------------------- |
|
|
410
|
+
| 1.5.x | 2026 UI selectors, re-added video/infographic/presentation/report/data_table |
|
|
411
|
+
| 1.4.2 | Removed fake content generation (FAQ, etc.) — re-added later as real studio outputs |
|
|
412
|
+
| 1.4.0 | Added content management module |
|
|
413
|
+
| 1.3.7 | Source citation extraction |
|
|
418
414
|
|
|
419
415
|
---
|
|
420
416
|
|
|
@@ -259,7 +259,7 @@ Each account may have a different Google Account language setting. The server us
|
|
|
259
259
|
Use the provided script to switch an account's language:
|
|
260
260
|
|
|
261
261
|
```bash
|
|
262
|
-
./scripts/switch-account-language.sh --account=
|
|
262
|
+
./scripts/switch-account-language.sh --account=account-b --lang=fr --show
|
|
263
263
|
```
|
|
264
264
|
|
|
265
265
|
**What it does:**
|
|
@@ -144,59 +144,13 @@
|
|
|
144
144
|
|
|
145
145
|
---
|
|
146
146
|
|
|
147
|
-
##
|
|
147
|
+
## Release History
|
|
148
148
|
|
|
149
|
-
|
|
149
|
+
Every release from 1.0.0 to the current version is documented with full "Added / Changed / Fixed / Security" breakdowns.
|
|
150
150
|
|
|
151
|
-
**
|
|
151
|
+
👉 **[See the full release history](/changelog)** — 13 versions, 6 years of changes.
|
|
152
152
|
|
|
153
|
-
-
|
|
154
|
-
- These were NOT real NotebookLM features - just chat prompts
|
|
155
|
-
- Only REAL content generation: Audio Overview (podcast)
|
|
156
|
-
- Updated all documentation for honesty
|
|
157
|
-
|
|
158
|
-
### v1.4.0 (2025-12-24)
|
|
159
|
-
|
|
160
|
-
**Content Management:**
|
|
161
|
-
|
|
162
|
-
- Audio Overview generation (podcast) - REAL NotebookLM feature
|
|
163
|
-
- Audio download
|
|
164
|
-
- Source management (files, URLs, text, YouTube)
|
|
165
|
-
|
|
166
|
-
### v1.3.1 (2025-01-24)
|
|
167
|
-
|
|
168
|
-
**New features:**
|
|
169
|
-
|
|
170
|
-
- MCP Auto-Discovery Tool: `auto_discover_notebook` for Claude Desktop/Cursor
|
|
171
|
-
- Parity with HTTP API: MCP clients now have auto-discovery capability
|
|
172
|
-
- Zero-friction notebook addition: just URL, metadata auto-generated
|
|
173
|
-
|
|
174
|
-
**Critical Fixes:**
|
|
175
|
-
|
|
176
|
-
- Claude Desktop compatibility: Disabled `CompleteRequestSchema` handler
|
|
177
|
-
- Fixed "Server does not support completions" error on connection
|
|
178
|
-
|
|
179
|
-
### v1.1.2 (2025-11-22)
|
|
180
|
-
|
|
181
|
-
**New features:**
|
|
182
|
-
|
|
183
|
-
- ✅ Multi-notebook library system
|
|
184
|
-
- ✅ Live validation of notebooks when adding
|
|
185
|
-
- ✅ Protection against duplicate names
|
|
186
|
-
- ✅ DELETE and PUT endpoints for notebooks
|
|
187
|
-
- ✅ Detailed and contextualized error messages
|
|
188
|
-
|
|
189
|
-
**Fixes:**
|
|
190
|
-
|
|
191
|
-
- ✅ Fixed Cookies path (Default/Network/Cookies)
|
|
192
|
-
- ✅ Cookies threshold lowered to 10KB
|
|
193
|
-
- ✅ Better temporary session management
|
|
194
|
-
|
|
195
|
-
**Documentation:**
|
|
196
|
-
|
|
197
|
-
- ✅ New guide [06-NOTEBOOK-LIBRARY.md](./06-NOTEBOOK-LIBRARY.md)
|
|
198
|
-
- ✅ "Notebook Configuration" section in [01-INSTALL.md](./01-INSTALL.md)
|
|
199
|
-
- ✅ Enhanced API in [03-API.md](./03-API.md)
|
|
153
|
+
Latest: **v1.5.8 (2026-04-19)** — 2026 NotebookLM UI selectors, doctor scripts, PII scrub, `npm audit fix`.
|
|
200
154
|
|
|
201
155
|
---
|
|
202
156
|
|
|
File without changes
|
|
@@ -1,114 +1,114 @@
|
|
|
1
|
-
# Automatic installation script - NotebookLM MCP HTTP Server
|
|
2
|
-
# Version: 1.3.0
|
|
3
|
-
# Description: Installs all dependencies and compiles the project
|
|
4
|
-
|
|
5
|
-
Write-Host "╔══════════════════════════════════════════════════════════╗" -ForegroundColor Cyan
|
|
6
|
-
Write-Host "║ NotebookLM MCP - Automatic Installation ║" -ForegroundColor Cyan
|
|
7
|
-
Write-Host "╚══════════════════════════════════════════════════════════╝" -ForegroundColor Cyan
|
|
8
|
-
Write-Host ""
|
|
9
|
-
|
|
10
|
-
# Check Node.js
|
|
11
|
-
Write-Host "🔍 Checking Node.js..." -ForegroundColor Yellow
|
|
12
|
-
try {
|
|
13
|
-
$nodeVersion = node --version
|
|
14
|
-
$npmVersion = npm --version
|
|
15
|
-
Write-Host "✅ Node.js $nodeVersion found" -ForegroundColor Green
|
|
16
|
-
Write-Host "✅ npm $npmVersion found" -ForegroundColor Green
|
|
17
|
-
} catch {
|
|
18
|
-
Write-Host "❌ Node.js is not installed!" -ForegroundColor Red
|
|
19
|
-
Write-Host ""
|
|
20
|
-
Write-Host "📥 Download Node.js from: https://nodejs.org/" -ForegroundColor Yellow
|
|
21
|
-
Write-Host " Install the LTS version and run this script again." -ForegroundColor Yellow
|
|
22
|
-
exit 1
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
Write-Host ""
|
|
26
|
-
|
|
27
|
-
# Check that we're in the right directory
|
|
28
|
-
Write-Host "🔍 Checking directory..." -ForegroundColor Yellow
|
|
29
|
-
if (-not (Test-Path "package.json")) {
|
|
30
|
-
Write-Host "❌ package.json file not found!" -ForegroundColor Red
|
|
31
|
-
Write-Host " Make sure you are in the project root directory." -ForegroundColor Yellow
|
|
32
|
-
exit 1
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
$projectName = (Get-Content "package.json" -Raw | ConvertFrom-Json).name
|
|
36
|
-
Write-Host "✅ Project detected: $projectName" -ForegroundColor Green
|
|
37
|
-
Write-Host ""
|
|
38
|
-
|
|
39
|
-
# Install dependencies
|
|
40
|
-
Write-Host "📦 Installing npm dependencies..." -ForegroundColor Yellow
|
|
41
|
-
Write-Host " (This may take 2-5 minutes)" -ForegroundColor Gray
|
|
42
|
-
Write-Host ""
|
|
43
|
-
|
|
44
|
-
npm install
|
|
45
|
-
|
|
46
|
-
if ($LASTEXITCODE -ne 0) {
|
|
47
|
-
Write-Host ""
|
|
48
|
-
Write-Host "❌ Error during dependency installation" -ForegroundColor Red
|
|
49
|
-
Write-Host " Check your Internet connection and try again." -ForegroundColor Yellow
|
|
50
|
-
exit 1
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
Write-Host ""
|
|
54
|
-
Write-Host "✅ Dependencies installed successfully!" -ForegroundColor Green
|
|
55
|
-
Write-Host ""
|
|
56
|
-
|
|
57
|
-
# TypeScript compilation
|
|
58
|
-
Write-Host "🔨 Compiling project..." -ForegroundColor Yellow
|
|
59
|
-
npm run build
|
|
60
|
-
|
|
61
|
-
if ($LASTEXITCODE -ne 0) {
|
|
62
|
-
Write-Host ""
|
|
63
|
-
Write-Host "❌ Error during compilation" -ForegroundColor Red
|
|
64
|
-
exit 1
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
Write-Host ""
|
|
68
|
-
Write-Host "✅ Compilation successful!" -ForegroundColor Green
|
|
69
|
-
Write-Host ""
|
|
70
|
-
|
|
71
|
-
# Final checks
|
|
72
|
-
Write-Host "🔍 Final checks..." -ForegroundColor Yellow
|
|
73
|
-
|
|
74
|
-
$checks = @(
|
|
75
|
-
@{File = "dist\http-wrapper.js"; Description = "HTTP Server"},
|
|
76
|
-
@{File = "dist\index.js"; Description = "MCP Server"},
|
|
77
|
-
@{File = "node_modules\express"; Description = "Express.js"}
|
|
78
|
-
)
|
|
79
|
-
|
|
80
|
-
$allOk = $true
|
|
81
|
-
foreach ($check in $checks) {
|
|
82
|
-
if (Test-Path $check.File) {
|
|
83
|
-
Write-Host " ✅ $($check.Description)" -ForegroundColor Green
|
|
84
|
-
} else {
|
|
85
|
-
Write-Host " ❌ $($check.Description) - $($check.File) not found" -ForegroundColor Red
|
|
86
|
-
$allOk = $false
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
Write-Host ""
|
|
91
|
-
|
|
92
|
-
if ($allOk) {
|
|
93
|
-
Write-Host "╔══════════════════════════════════════════════════════════╗" -ForegroundColor Green
|
|
94
|
-
Write-Host "║ ✅ INSTALLATION COMPLETED SUCCESSFULLY! ║" -ForegroundColor Green
|
|
95
|
-
Write-Host "╚══════════════════════════════════════════════════════════╝" -ForegroundColor Green
|
|
96
|
-
Write-Host ""
|
|
97
|
-
Write-Host "📋 Next steps:" -ForegroundColor Cyan
|
|
98
|
-
Write-Host ""
|
|
99
|
-
Write-Host "1️⃣ Configure Google authentication (one time only):" -ForegroundColor White
|
|
100
|
-
Write-Host " .\deployment\scripts\setup-auth.ps1" -ForegroundColor Gray
|
|
101
|
-
Write-Host ""
|
|
102
|
-
Write-Host "2️⃣ Start the server:" -ForegroundColor White
|
|
103
|
-
Write-Host " npm run start:http" -ForegroundColor Gray
|
|
104
|
-
Write-Host ""
|
|
105
|
-
Write-Host "3️⃣ Test the server:" -ForegroundColor White
|
|
106
|
-
Write-Host " curl http://localhost:3000/health" -ForegroundColor Gray
|
|
107
|
-
Write-Host ""
|
|
108
|
-
Write-Host "📖 Complete documentation: .\deployment\docs\" -ForegroundColor Cyan
|
|
109
|
-
Write-Host ""
|
|
110
|
-
} else {
|
|
111
|
-
Write-Host "❌ Installation encountered problems" -ForegroundColor Red
|
|
112
|
-
Write-Host " See: .\deployment\docs\05-TROUBLESHOOTING.md" -ForegroundColor Yellow
|
|
113
|
-
exit 1
|
|
114
|
-
}
|
|
1
|
+
# Automatic installation script - NotebookLM MCP HTTP Server
|
|
2
|
+
# Version: 1.3.0
|
|
3
|
+
# Description: Installs all dependencies and compiles the project
|
|
4
|
+
|
|
5
|
+
Write-Host "╔══════════════════════════════════════════════════════════╗" -ForegroundColor Cyan
|
|
6
|
+
Write-Host "║ NotebookLM MCP - Automatic Installation ║" -ForegroundColor Cyan
|
|
7
|
+
Write-Host "╚══════════════════════════════════════════════════════════╝" -ForegroundColor Cyan
|
|
8
|
+
Write-Host ""
|
|
9
|
+
|
|
10
|
+
# Check Node.js
|
|
11
|
+
Write-Host "🔍 Checking Node.js..." -ForegroundColor Yellow
|
|
12
|
+
try {
|
|
13
|
+
$nodeVersion = node --version
|
|
14
|
+
$npmVersion = npm --version
|
|
15
|
+
Write-Host "✅ Node.js $nodeVersion found" -ForegroundColor Green
|
|
16
|
+
Write-Host "✅ npm $npmVersion found" -ForegroundColor Green
|
|
17
|
+
} catch {
|
|
18
|
+
Write-Host "❌ Node.js is not installed!" -ForegroundColor Red
|
|
19
|
+
Write-Host ""
|
|
20
|
+
Write-Host "📥 Download Node.js from: https://nodejs.org/" -ForegroundColor Yellow
|
|
21
|
+
Write-Host " Install the LTS version and run this script again." -ForegroundColor Yellow
|
|
22
|
+
exit 1
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
Write-Host ""
|
|
26
|
+
|
|
27
|
+
# Check that we're in the right directory
|
|
28
|
+
Write-Host "🔍 Checking directory..." -ForegroundColor Yellow
|
|
29
|
+
if (-not (Test-Path "package.json")) {
|
|
30
|
+
Write-Host "❌ package.json file not found!" -ForegroundColor Red
|
|
31
|
+
Write-Host " Make sure you are in the project root directory." -ForegroundColor Yellow
|
|
32
|
+
exit 1
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
$projectName = (Get-Content "package.json" -Raw | ConvertFrom-Json).name
|
|
36
|
+
Write-Host "✅ Project detected: $projectName" -ForegroundColor Green
|
|
37
|
+
Write-Host ""
|
|
38
|
+
|
|
39
|
+
# Install dependencies
|
|
40
|
+
Write-Host "📦 Installing npm dependencies..." -ForegroundColor Yellow
|
|
41
|
+
Write-Host " (This may take 2-5 minutes)" -ForegroundColor Gray
|
|
42
|
+
Write-Host ""
|
|
43
|
+
|
|
44
|
+
npm install
|
|
45
|
+
|
|
46
|
+
if ($LASTEXITCODE -ne 0) {
|
|
47
|
+
Write-Host ""
|
|
48
|
+
Write-Host "❌ Error during dependency installation" -ForegroundColor Red
|
|
49
|
+
Write-Host " Check your Internet connection and try again." -ForegroundColor Yellow
|
|
50
|
+
exit 1
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
Write-Host ""
|
|
54
|
+
Write-Host "✅ Dependencies installed successfully!" -ForegroundColor Green
|
|
55
|
+
Write-Host ""
|
|
56
|
+
|
|
57
|
+
# TypeScript compilation
|
|
58
|
+
Write-Host "🔨 Compiling project..." -ForegroundColor Yellow
|
|
59
|
+
npm run build
|
|
60
|
+
|
|
61
|
+
if ($LASTEXITCODE -ne 0) {
|
|
62
|
+
Write-Host ""
|
|
63
|
+
Write-Host "❌ Error during compilation" -ForegroundColor Red
|
|
64
|
+
exit 1
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
Write-Host ""
|
|
68
|
+
Write-Host "✅ Compilation successful!" -ForegroundColor Green
|
|
69
|
+
Write-Host ""
|
|
70
|
+
|
|
71
|
+
# Final checks
|
|
72
|
+
Write-Host "🔍 Final checks..." -ForegroundColor Yellow
|
|
73
|
+
|
|
74
|
+
$checks = @(
|
|
75
|
+
@{File = "dist\http-wrapper.js"; Description = "HTTP Server"},
|
|
76
|
+
@{File = "dist\index.js"; Description = "MCP Server"},
|
|
77
|
+
@{File = "node_modules\express"; Description = "Express.js"}
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
$allOk = $true
|
|
81
|
+
foreach ($check in $checks) {
|
|
82
|
+
if (Test-Path $check.File) {
|
|
83
|
+
Write-Host " ✅ $($check.Description)" -ForegroundColor Green
|
|
84
|
+
} else {
|
|
85
|
+
Write-Host " ❌ $($check.Description) - $($check.File) not found" -ForegroundColor Red
|
|
86
|
+
$allOk = $false
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
Write-Host ""
|
|
91
|
+
|
|
92
|
+
if ($allOk) {
|
|
93
|
+
Write-Host "╔══════════════════════════════════════════════════════════╗" -ForegroundColor Green
|
|
94
|
+
Write-Host "║ ✅ INSTALLATION COMPLETED SUCCESSFULLY! ║" -ForegroundColor Green
|
|
95
|
+
Write-Host "╚══════════════════════════════════════════════════════════╝" -ForegroundColor Green
|
|
96
|
+
Write-Host ""
|
|
97
|
+
Write-Host "📋 Next steps:" -ForegroundColor Cyan
|
|
98
|
+
Write-Host ""
|
|
99
|
+
Write-Host "1️⃣ Configure Google authentication (one time only):" -ForegroundColor White
|
|
100
|
+
Write-Host " .\deployment\scripts\setup-auth.ps1" -ForegroundColor Gray
|
|
101
|
+
Write-Host ""
|
|
102
|
+
Write-Host "2️⃣ Start the server:" -ForegroundColor White
|
|
103
|
+
Write-Host " npm run start:http" -ForegroundColor Gray
|
|
104
|
+
Write-Host ""
|
|
105
|
+
Write-Host "3️⃣ Test the server:" -ForegroundColor White
|
|
106
|
+
Write-Host " curl http://localhost:3000/health" -ForegroundColor Gray
|
|
107
|
+
Write-Host ""
|
|
108
|
+
Write-Host "📖 Complete documentation: .\deployment\docs\" -ForegroundColor Cyan
|
|
109
|
+
Write-Host ""
|
|
110
|
+
} else {
|
|
111
|
+
Write-Host "❌ Installation encountered problems" -ForegroundColor Red
|
|
112
|
+
Write-Host " See: .\deployment\docs\05-TROUBLESHOOTING.md" -ForegroundColor Yellow
|
|
113
|
+
exit 1
|
|
114
|
+
}
|