@roomi-fields/notebooklm-mcp 1.3.6 → 1.5.1
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 +71 -34
- package/deployment/INDEX.md +292 -0
- package/deployment/PACKAGE-FILES.txt +180 -0
- package/deployment/QUICK-START.md +100 -0
- package/deployment/docs/01-INSTALL.md +611 -0
- package/deployment/docs/02-CONFIGURATION.md +404 -0
- package/deployment/docs/03-API.md +1691 -0
- package/deployment/docs/04-N8N-INTEGRATION.md +373 -0
- package/deployment/docs/05-TROUBLESHOOTING.md +429 -0
- package/deployment/docs/06-NOTEBOOK-LIBRARY.md +692 -0
- package/deployment/docs/07-AUTO-DISCOVERY.md +236 -0
- package/deployment/docs/08-WSL-USAGE.md +363 -0
- package/deployment/docs/09-MULTI-INTERFACE.md +293 -0
- package/deployment/docs/10-CONTENT-MANAGEMENT.md +421 -0
- package/deployment/docs/11-MULTI-ACCOUNT.md +295 -0
- package/deployment/docs/README.md +207 -0
- package/deployment/scripts/README.md +564 -0
- package/deployment/scripts/install.ps1 +114 -0
- package/deployment/scripts/setup-auth.ps1 +217 -0
- package/deployment/scripts/start-server.ps1 +72 -0
- package/deployment/scripts/stop-server.ps1 +51 -0
- package/deployment/scripts/test-api.ps1 +651 -0
- package/deployment/scripts/test-auth.ps1 +323 -0
- package/deployment/scripts/test-auto-discovery.ps1 +295 -0
- package/deployment/scripts/test-cors.ps1 +398 -0
- package/deployment/scripts/test-errors.ps1 +581 -0
- package/deployment/scripts/test-server.ps1 +140 -0
- package/deployment/scripts/test-sessions.ps1 +426 -0
- package/deployment/scripts/test-validation.ps1 +299 -0
- package/dist/accounts/account-manager.d.ts +163 -0
- package/dist/accounts/account-manager.d.ts.map +1 -0
- package/dist/accounts/account-manager.js +614 -0
- package/dist/accounts/account-manager.js.map +1 -0
- package/dist/accounts/auto-login-manager.d.ts +62 -0
- package/dist/accounts/auto-login-manager.d.ts.map +1 -0
- package/dist/accounts/auto-login-manager.js +537 -0
- package/dist/accounts/auto-login-manager.js.map +1 -0
- package/dist/accounts/crypto.d.ts +45 -0
- package/dist/accounts/crypto.d.ts.map +1 -0
- package/dist/accounts/crypto.js +138 -0
- package/dist/accounts/crypto.js.map +1 -0
- package/dist/accounts/index.d.ts +14 -0
- package/dist/accounts/index.d.ts.map +1 -0
- package/dist/accounts/index.js +14 -0
- package/dist/accounts/index.js.map +1 -0
- package/dist/accounts/types.d.ts +103 -0
- package/dist/accounts/types.d.ts.map +1 -0
- package/dist/accounts/types.js +7 -0
- package/dist/accounts/types.js.map +1 -0
- package/dist/auth/auth-manager.d.ts +9 -2
- package/dist/auth/auth-manager.d.ts.map +1 -1
- package/dist/auth/auth-manager.js +60 -6
- package/dist/auth/auth-manager.js.map +1 -1
- package/dist/auto-discovery/auto-discovery.d.ts.map +1 -1
- package/dist/auto-discovery/auto-discovery.js +2 -1
- package/dist/auto-discovery/auto-discovery.js.map +1 -1
- package/dist/cli/accounts.d.ts +13 -0
- package/dist/cli/accounts.d.ts.map +1 -0
- package/dist/cli/accounts.js +195 -0
- package/dist/cli/accounts.js.map +1 -0
- package/dist/config.d.ts +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +24 -0
- package/dist/config.js.map +1 -1
- package/dist/content/content-generator.d.ts +153 -0
- package/dist/content/content-generator.d.ts.map +1 -0
- package/dist/content/content-generator.js +637 -0
- package/dist/content/content-generator.js.map +1 -0
- package/dist/content/content-manager.d.ts +364 -0
- package/dist/content/content-manager.d.ts.map +1 -0
- package/dist/content/content-manager.js +3841 -0
- package/dist/content/content-manager.js.map +1 -0
- package/dist/content/content-templates.d.ts +183 -0
- package/dist/content/content-templates.d.ts.map +1 -0
- package/dist/content/content-templates.js +719 -0
- package/dist/content/content-templates.js.map +1 -0
- package/dist/content/index.d.ts +14 -0
- package/dist/content/index.d.ts.map +1 -0
- package/dist/content/index.js +14 -0
- package/dist/content/index.js.map +1 -0
- package/dist/content/types.d.ts +285 -0
- package/dist/content/types.d.ts.map +1 -0
- package/dist/content/types.js +10 -0
- package/dist/content/types.js.map +1 -0
- package/dist/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js.map +1 -1
- package/dist/http-wrapper.d.ts +7 -0
- package/dist/http-wrapper.d.ts.map +1 -1
- package/dist/http-wrapper.js +449 -29
- package/dist/http-wrapper.js.map +1 -1
- package/dist/i18n/en.json +120 -0
- package/dist/i18n/fr.json +120 -0
- package/dist/i18n/index.d.ts +168 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +213 -0
- package/dist/i18n/index.js.map +1 -0
- package/dist/index.js +26 -2
- package/dist/index.js.map +1 -1
- package/dist/library/notebook-library.d.ts +4 -0
- package/dist/library/notebook-library.d.ts.map +1 -1
- package/dist/library/notebook-library.js +20 -3
- package/dist/library/notebook-library.js.map +1 -1
- package/dist/session/browser-session.d.ts +35 -8
- package/dist/session/browser-session.d.ts.map +1 -1
- package/dist/session/browser-session.js +243 -28
- package/dist/session/browser-session.js.map +1 -1
- package/dist/session/session-manager.d.ts +6 -0
- package/dist/session/session-manager.d.ts.map +1 -1
- package/dist/session/session-manager.js +46 -14
- package/dist/session/session-manager.js.map +1 -1
- package/dist/session/shared-context-manager.d.ts +3 -3
- package/dist/session/shared-context-manager.d.ts.map +1 -1
- package/dist/session/shared-context-manager.js +10 -7
- package/dist/session/shared-context-manager.js.map +1 -1
- package/dist/stdio-http-proxy.d.ts +24 -0
- package/dist/stdio-http-proxy.d.ts.map +1 -0
- package/dist/stdio-http-proxy.js +592 -0
- package/dist/stdio-http-proxy.js.map +1 -0
- package/dist/tools/index.d.ts +106 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +1028 -7
- package/dist/tools/index.js.map +1 -1
- package/dist/types.d.ts +81 -17
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/citation-extractor.d.ts +66 -0
- package/dist/utils/citation-extractor.d.ts.map +1 -0
- package/dist/utils/citation-extractor.js +492 -0
- package/dist/utils/citation-extractor.js.map +1 -0
- package/dist/utils/page-utils.d.ts +8 -0
- package/dist/utils/page-utils.d.ts.map +1 -1
- package/dist/utils/page-utils.js +112 -8
- package/dist/utils/page-utils.js.map +1 -1
- package/docs/ADDING_A_LANGUAGE.md +209 -0
- package/docs/ARCHITECTURE_MIGRATION_STUDY.md +894 -0
- package/docs/CHROME_PROFILE_LIMITATION.md +15 -1
- package/docs/MULTI_ACCOUNT_SYSTEM.md +304 -0
- package/package.json +15 -12
- package/scripts/archive/add-and-activate-notebook.ps1 +31 -0
- package/scripts/archive/add-new-notebook.ps1 +25 -0
- package/scripts/archive/add-rom1pey.ps1 +2 -0
- package/scripts/archive/add-rpmonster.ps1 +2 -0
- package/scripts/archive/add-source-debug.ps1 +11 -0
- package/scripts/archive/add-source-e2e.ps1 +28 -0
- package/scripts/archive/add-source-visible.ps1 +11 -0
- package/scripts/archive/add-test-notebook.ps1 +13 -0
- package/scripts/archive/add-test-source.ps1 +50 -0
- package/scripts/archive/capture-screen.ps1 +11 -0
- package/scripts/archive/change-language.mjs +45 -0
- package/scripts/archive/change-language.ts +44 -0
- package/scripts/archive/check-account.ps1 +19 -0
- package/scripts/archive/check-notebook-2.ps1 +8 -0
- package/scripts/archive/check-test-notebook.ps1 +11 -0
- package/scripts/archive/create-notebook-auto.ps1 +31 -0
- package/scripts/archive/create-notebook.ps1 +8 -0
- package/scripts/archive/create-rom1pey-notebook.ps1 +19 -0
- package/scripts/archive/create-rom1pey.ps1 +8 -0
- package/scripts/archive/create-test-notebook-fresh.ps1 +21 -0
- package/scripts/archive/create-test-notebook.ps1 +16 -0
- package/scripts/archive/debug-add-source-auto.ps1 +29 -0
- package/scripts/archive/debug-add-source.ps1 +19 -0
- package/scripts/archive/debug-add-text-source.ps1 +47 -0
- package/scripts/archive/debug-home.ps1 +10 -0
- package/scripts/archive/debug-selectors.ps1 +55 -0
- package/scripts/archive/debug-sources-panel.ps1 +22 -0
- package/scripts/archive/debug-ui.ps1 +17 -0
- package/scripts/archive/discover-home.ps1 +26 -0
- package/scripts/archive/kill-automation-chrome.ps1 +37 -0
- package/scripts/archive/list-my-notebooks.ps1 +27 -0
- package/scripts/archive/navigate-home-visible.ps1 +23 -0
- package/scripts/archive/navigate-home.ps1 +15 -0
- package/scripts/archive/run-e2e-english.ps1 +111 -0
- package/scripts/archive/run-e2e-rom1pey-v2.ps1 +122 -0
- package/scripts/archive/run-e2e-rom1pey.ps1 +117 -0
- package/scripts/archive/setup-english-test.ps1 +36 -0
- package/scripts/archive/setup-test-notebook.ps1 +71 -0
- package/scripts/archive/simple-add-source.ps1 +14 -0
- package/scripts/archive/t10.ps1 +2 -0
- package/scripts/archive/t20.ps1 +4 -0
- package/scripts/archive/t30.ps1 +9 -0
- package/scripts/archive/t31.ps1 +11 -0
- package/scripts/archive/t32.ps1 +6 -0
- package/scripts/archive/t39.ps1 +5 -0
- package/scripts/archive/t40.ps1 +5 -0
- package/scripts/archive/t53.ps1 +12 -0
- package/scripts/archive/t54.ps1 +12 -0
- package/scripts/archive/t55.ps1 +11 -0
- package/scripts/archive/t9.ps1 +1 -0
- package/scripts/archive/test-access.ps1 +28 -0
- package/scripts/archive/test-add-delete-source.ps1 +64 -0
- package/scripts/archive/test-add-source-visible.ps1 +16 -0
- package/scripts/archive/test-add-source.ps1 +19 -0
- package/scripts/archive/test-add-text-debug.ps1 +28 -0
- package/scripts/archive/test-add-text-source.ps1 +8 -0
- package/scripts/archive/test-add-url-source.ps1 +7 -0
- package/scripts/archive/test-ask-ascii.ps1 +20 -0
- package/scripts/archive/test-ask-cnv.ps1 +20 -0
- package/scripts/archive/test-ask-headed.ps1 +51 -0
- package/scripts/archive/test-ask-ifs.ps1 +16 -0
- package/scripts/archive/test-ask-now.ps1 +24 -0
- package/scripts/archive/test-ask-real.ps1 +19 -0
- package/scripts/archive/test-ask-visible.ps1 +20 -0
- package/scripts/archive/test-create-notebook.ps1 +8 -0
- package/scripts/archive/test-create-then-add.ps1 +17 -0
- package/scripts/archive/test-delete-source.ps1 +41 -0
- package/scripts/archive/test-e2e-notebook.ps1 +21 -0
- package/scripts/archive/test-english-notebook.ps1 +20 -0
- package/scripts/archive/test-english.ps1 +7 -0
- package/scripts/archive/test-full-custom-instructions.ps1 +40 -0
- package/scripts/archive/test-full-infographic.ps1 +34 -0
- package/scripts/archive/test-full-language.ps1 +21 -0
- package/scripts/archive/test-full-presentation.ps1 +85 -0
- package/scripts/archive/test-full-report.ps1 +34 -0
- package/scripts/archive/test-full-source-selection.ps1 +35 -0
- package/scripts/archive/test-full-video-brief.ps1 +22 -0
- package/scripts/archive/test-full-video-explainer.ps1 +22 -0
- package/scripts/archive/test-full-video-styles.ps1 +37 -0
- package/scripts/archive/test-generate-report.ps1 +15 -0
- package/scripts/archive/test-generate-study-guide.ps1 +11 -0
- package/scripts/archive/test-headed-ask.ps1 +13 -0
- package/scripts/archive/test-headed-now.ps1 +9 -0
- package/scripts/archive/test-headed.ps1 +9 -0
- package/scripts/archive/test-hello.ps1 +7 -0
- package/scripts/archive/test-i18n-studio.ps1 +8 -0
- package/scripts/archive/test-i18n.ps1 +7 -0
- package/scripts/archive/test-manual-headed.ps1 +26 -0
- package/scripts/archive/test-mathieu-quota.ps1 +8 -0
- package/scripts/archive/test-notebook-1.ps1 +10 -0
- package/scripts/archive/test-notebook-2-sources.ps1 +12 -0
- package/scripts/archive/test-notebook1.ps1 +14 -0
- package/scripts/archive/test-personal-notebook.ps1 +14 -0
- package/scripts/archive/test-rate-limit.ps1 +19 -0
- package/scripts/archive/test-real-ask.ps1 +50 -0
- package/scripts/archive/test-real-ask2.ps1 +30 -0
- package/scripts/archive/test-rom1pey.ps1 +7 -0
- package/scripts/archive/test-rotation-complete.ps1 +14 -0
- package/scripts/archive/test-rotation.ps1 +8 -0
- package/scripts/archive/test-show-browser.ps1 +39 -0
- package/scripts/archive/test-update-notebook.ps1 +4 -0
- package/scripts/archive/verify-language-slow.ps1 +21 -0
- package/scripts/archive/verify-language.ps1 +15 -0
- package/scripts/check-server.ps1 +46 -0
- package/scripts/mcp-wsl-helper.sh +146 -0
- package/scripts/start-server.ps1 +94 -0
- package/scripts/stop-server.ps1 +30 -0
- package/scripts/switch-account-language.sh +191 -0
- package/scripts/test-account.ps1 +58 -0
- package/dist/__tests__/cleanup-manager.test.d.ts +0 -2
- package/dist/__tests__/cleanup-manager.test.d.ts.map +0 -1
- package/dist/__tests__/cleanup-manager.test.js +0 -341
- package/dist/__tests__/cleanup-manager.test.js.map +0 -1
- package/dist/__tests__/config-parsing.test.d.ts +0 -2
- package/dist/__tests__/config-parsing.test.d.ts.map +0 -1
- package/dist/__tests__/config-parsing.test.js +0 -338
- package/dist/__tests__/config-parsing.test.js.map +0 -1
- package/dist/__tests__/config.test.d.ts +0 -2
- package/dist/__tests__/config.test.d.ts.map +0 -1
- package/dist/__tests__/config.test.js +0 -267
- package/dist/__tests__/config.test.js.map +0 -1
- package/dist/__tests__/errors.test.d.ts +0 -2
- package/dist/__tests__/errors.test.d.ts.map +0 -1
- package/dist/__tests__/errors.test.js +0 -166
- package/dist/__tests__/errors.test.js.map +0 -1
- package/dist/__tests__/logger.test.d.ts +0 -2
- package/dist/__tests__/logger.test.d.ts.map +0 -1
- package/dist/__tests__/logger.test.js +0 -324
- package/dist/__tests__/logger.test.js.map +0 -1
- package/dist/__tests__/page-utils.test.d.ts +0 -2
- package/dist/__tests__/page-utils.test.d.ts.map +0 -1
- package/dist/__tests__/page-utils.test.js +0 -349
- package/dist/__tests__/page-utils.test.js.map +0 -1
- package/dist/__tests__/setup-verification.test.d.ts +0 -2
- package/dist/__tests__/setup-verification.test.d.ts.map +0 -1
- package/dist/__tests__/setup-verification.test.js +0 -15
- package/dist/__tests__/setup-verification.test.js.map +0 -1
- package/dist/__tests__/stealth-utils.test.d.ts +0 -2
- package/dist/__tests__/stealth-utils.test.d.ts.map +0 -1
- package/dist/__tests__/stealth-utils.test.js +0 -413
- package/dist/__tests__/stealth-utils.test.js.map +0 -1
- package/dist/__tests__/types.test.d.ts +0 -2
- package/dist/__tests__/types.test.d.ts.map +0 -1
- package/dist/__tests__/types.test.js +0 -461
- package/dist/__tests__/types.test.js.map +0 -1
package/LICENSE
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Please Prompto! (Original NotebookLM MCP Server)
|
|
4
|
-
Copyright (c) 2025 Romain Peyrichou - HTTP REST API Wrapper (Developed with Claude Code - Anthropic Claude Sonnet 4.5)
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
in the Software without restriction, including without limitation the rights
|
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
furnished to do so, subject to the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Please Prompto! (Original NotebookLM MCP Server)
|
|
4
|
+
Copyright (c) 2025 Romain Peyrichou - HTTP REST API Wrapper (Developed with Claude Code - Anthropic Claude Sonnet 4.5)
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **Forked from** [PleasePrompto/notebooklm-mcp](https://github.com/PleasePrompto/notebooklm-mcp)
|
|
6
6
|
|
|
7
|
-
**
|
|
7
|
+
**Full automation of Google NotebookLM: Q&A, audio podcasts, and source management**
|
|
8
8
|
|
|
9
9
|
<!-- Badges -->
|
|
10
10
|
|
|
@@ -18,33 +18,75 @@
|
|
|
18
18
|
|
|
19
19
|
---
|
|
20
20
|
|
|
21
|
-
##
|
|
21
|
+
## Features
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
| ------------------- | ----------- | ----------------------------- | -------------------- |
|
|
25
|
-
| Feed docs to Claude | Very high | Yes - fills gaps | Variable |
|
|
26
|
-
| Web search | Medium | High - unreliable sources | Hit or miss |
|
|
27
|
-
| Local RAG | Medium-High | Medium - retrieval gaps | Depends on setup |
|
|
28
|
-
| **NotebookLM MCP** | **Minimal** | **Zero** - refuses if unknown | **Expert synthesis** |
|
|
23
|
+
### Q&A with Citations
|
|
29
24
|
|
|
30
|
-
NotebookLM
|
|
25
|
+
- **Ask questions** to NotebookLM and get accurate, citation-backed answers
|
|
26
|
+
- **Source citation extraction** with 5 formats: none, inline, footnotes, json, expanded
|
|
27
|
+
- **Session management** for multi-turn conversations
|
|
28
|
+
|
|
29
|
+
### Content Generation
|
|
30
|
+
|
|
31
|
+
Generate multiple content types from your notebook sources:
|
|
32
|
+
|
|
33
|
+
| Content Type | Formats | Options |
|
|
34
|
+
| ------------------ | ------------------------ | ---------------------------------------------- |
|
|
35
|
+
| **Audio Overview** | Podcast-style discussion | Language (80+), custom instructions |
|
|
36
|
+
| **Video** | Brief, Explainer | 6 visual styles, language, custom instructions |
|
|
37
|
+
| **Infographic** | Horizontal, Vertical | Language, custom instructions |
|
|
38
|
+
| **Report** | Summary, Detailed | Language, custom instructions |
|
|
39
|
+
| **Presentation** | Overview, Detailed | Language, custom instructions |
|
|
40
|
+
| **Data Table** | Simple, Detailed | Language, custom instructions |
|
|
41
|
+
|
|
42
|
+
**Video Visual Styles**: classroom, documentary, animated, corporate, cinematic, minimalist
|
|
43
|
+
|
|
44
|
+
### Content Download
|
|
45
|
+
|
|
46
|
+
- **Download Audio** — WAV audio files
|
|
47
|
+
- **Download Video** — MP4 video files
|
|
48
|
+
- **Download Infographic** — PNG image files
|
|
49
|
+
- Text-based content (report, presentation, data_table) is returned in the API response
|
|
50
|
+
|
|
51
|
+
### Source Management
|
|
52
|
+
|
|
53
|
+
- **Add sources**: Files (PDF, TXT, DOCX), URLs, Text, YouTube videos, Google Drive
|
|
54
|
+
- **List sources**: View all sources in a notebook
|
|
55
|
+
|
|
56
|
+
### Notebook Library
|
|
57
|
+
|
|
58
|
+
- **Multi-notebook management** with validation and smart selection
|
|
59
|
+
- **Auto-discovery**: Automatically generate metadata via NotebookLM queries
|
|
60
|
+
- **Search notebooks** by keyword in name, description, or topics
|
|
61
|
+
|
|
62
|
+
### Integration Options
|
|
63
|
+
|
|
64
|
+
- **MCP Protocol** — Claude Code, Cursor, Codex, any MCP client
|
|
65
|
+
- **HTTP REST API** — n8n, Zapier, Make.com, custom integrations
|
|
31
66
|
|
|
32
67
|
---
|
|
33
68
|
|
|
34
69
|
## Quick Start
|
|
35
70
|
|
|
71
|
+
> ⚠️ **npm registry temporarily unavailable** - Install from GitHub instead (see below)
|
|
72
|
+
|
|
36
73
|
### Option 1: MCP Mode (Claude Code, Cursor, Codex)
|
|
37
74
|
|
|
38
75
|
```bash
|
|
76
|
+
# Clone and build locally
|
|
77
|
+
git clone https://github.com/roomi-fields/notebooklm-mcp.git
|
|
78
|
+
cd notebooklm-mcp
|
|
79
|
+
npm install && npm run build
|
|
80
|
+
|
|
39
81
|
# Claude Code
|
|
40
|
-
claude mcp add notebooklm
|
|
82
|
+
claude mcp add notebooklm node /path/to/notebooklm-mcp/dist/index.js
|
|
41
83
|
|
|
42
84
|
# Cursor - add to ~/.cursor/mcp.json
|
|
43
85
|
{
|
|
44
86
|
"mcpServers": {
|
|
45
87
|
"notebooklm": {
|
|
46
|
-
"command": "
|
|
47
|
-
"args": ["
|
|
88
|
+
"command": "node",
|
|
89
|
+
"args": ["/path/to/notebooklm-mcp/dist/index.js"]
|
|
48
90
|
}
|
|
49
91
|
}
|
|
50
92
|
}
|
|
@@ -82,36 +124,27 @@ curl -X POST http://localhost:3000/ask \
|
|
|
82
124
|
| [Troubleshooting](./deployment/docs/05-TROUBLESHOOTING.md) | Common issues and solutions |
|
|
83
125
|
| [Notebook Library](./deployment/docs/06-NOTEBOOK-LIBRARY.md) | Multi-notebook management |
|
|
84
126
|
| [Auto-Discovery](./deployment/docs/07-AUTO-DISCOVERY.md) | Autonomous metadata generation |
|
|
85
|
-
| [
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
## Core Features
|
|
90
|
-
|
|
91
|
-
- **Zero Hallucinations** — NotebookLM refuses to answer if info isn't in your docs
|
|
92
|
-
- **Multi-Notebook Library** — Manage multiple notebooks with validation and smart selection
|
|
93
|
-
- **Auto-Discovery** — Automatically generate metadata via NotebookLM queries
|
|
94
|
-
- **HTTP REST API** — Use from n8n, Zapier, Make.com, or any HTTP client
|
|
95
|
-
- **Daemon Mode** — Run as background process with PM2 (`npm run daemon:start`)
|
|
96
|
-
- **Cross-Tool** — Works with Claude Code, Cursor, Codex, and any MCP client
|
|
127
|
+
| [Multi-Interface](./deployment/docs/09-MULTI-INTERFACE.md) | Run Claude Desktop + HTTP simultaneously |
|
|
128
|
+
| [Chrome Limitation](./docs/CHROME_PROFILE_LIMITATION.md) | Profile locking (solved in v1.3.6+) |
|
|
129
|
+
| [Adding a Language](./docs/ADDING_A_LANGUAGE.md) | i18n system for multilingual UI support |
|
|
97
130
|
|
|
98
131
|
---
|
|
99
132
|
|
|
100
|
-
##
|
|
133
|
+
## Roadmap
|
|
101
134
|
|
|
102
|
-
|
|
103
|
-
Your Task → Agent/n8n → MCP/HTTP Server → Chrome Automation → NotebookLM → Gemini 2.5 → Your Docs
|
|
104
|
-
↓
|
|
105
|
-
Accurate Output
|
|
106
|
-
```
|
|
135
|
+
See [ROADMAP.md](./ROADMAP.md) for planned features and version history.
|
|
107
136
|
|
|
108
|
-
|
|
137
|
+
**Latest releases:**
|
|
109
138
|
|
|
110
|
-
|
|
139
|
+
- **v1.5.1** — Multilingual UI support (FR/EN) with i18n selector system + E2E tests (76 tests)
|
|
140
|
+
- **v1.5.0** — Complete Studio content generation (video, infographic, presentation, data_table) + Notes management + Delete sources
|
|
141
|
+
- **v1.4.0** — Content management (sources, audio, generation) + Multi-account
|
|
142
|
+
- **v1.3.7** — Source citation extraction (5 formats)
|
|
111
143
|
|
|
112
|
-
|
|
144
|
+
**Not yet implemented:**
|
|
113
145
|
|
|
114
|
-
|
|
146
|
+
- Discover sources (Web/Drive search with Fast/Deep modes)
|
|
147
|
+
- Edit notes (create, delete, and convert are implemented)
|
|
115
148
|
|
|
116
149
|
---
|
|
117
150
|
|
|
@@ -133,6 +166,10 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
|
|
|
133
166
|
|
|
134
167
|
MIT — Use freely in your projects. See [LICENSE](./LICENSE).
|
|
135
168
|
|
|
169
|
+
## Author
|
|
170
|
+
|
|
171
|
+
**Romain Peyrichou** — [@roomi-fields](https://github.com/roomi-fields)
|
|
172
|
+
|
|
136
173
|
---
|
|
137
174
|
|
|
138
175
|
<details>
|
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
# Complete Index - NotebookLM MCP HTTP Deployment Package
|
|
2
|
+
|
|
3
|
+
> Your navigation guide through the deployment documentation
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 📚 Overview
|
|
8
|
+
|
|
9
|
+
This package contains **everything you need** to deploy NotebookLM MCP in HTTP REST API mode.
|
|
10
|
+
|
|
11
|
+
**Package contents:**
|
|
12
|
+
|
|
13
|
+
- ✅ 10 documentation files
|
|
14
|
+
- ✅ 4 automated PowerShell scripts
|
|
15
|
+
- ✅ Step-by-step installation guide
|
|
16
|
+
- ✅ Complete API documentation
|
|
17
|
+
- ✅ n8n integration guide
|
|
18
|
+
- ✅ Auto-discovery feature documentation
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## 🗂️ Directory Structure
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
deployment/
|
|
26
|
+
├── README.md ← Start here!
|
|
27
|
+
├── QUICK-START.md ← For the impatient (5 min)
|
|
28
|
+
├── INDEX.md ← This file
|
|
29
|
+
├── LICENSE ← MIT License
|
|
30
|
+
├── CONTRIBUTING.md ← Contribution guide
|
|
31
|
+
├── CHANGELOG.md ← Version history
|
|
32
|
+
├── CREDITS.md ← Credits and acknowledgments
|
|
33
|
+
├── PACKAGE-FILES.txt ← List of files to copy
|
|
34
|
+
│
|
|
35
|
+
├── docs/
|
|
36
|
+
│ ├── 01-INSTALL.md ← Detailed installation guide
|
|
37
|
+
│ ├── 02-CONFIGURATION.md ← Advanced configuration
|
|
38
|
+
│ ├── 03-API.md ← API documentation
|
|
39
|
+
│ ├── 04-N8N-INTEGRATION.md ← n8n integration
|
|
40
|
+
│ ├── 05-TROUBLESHOOTING.md ← Problem resolution
|
|
41
|
+
│ ├── 06-NOTEBOOK-LIBRARY.md ← Multi-notebook management
|
|
42
|
+
│ └── 07-AUTO-DISCOVERY.md ← Auto-discovery pattern
|
|
43
|
+
│
|
|
44
|
+
└── scripts/
|
|
45
|
+
├── install.ps1 ← Automatic installation
|
|
46
|
+
├── start-server.ps1 ← Server startup
|
|
47
|
+
├── stop-server.ps1 ← Server shutdown
|
|
48
|
+
└── test-server.ps1 ← Validation tests
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## 🎯 Where to Start?
|
|
54
|
+
|
|
55
|
+
### I'm in a HURRY (5 minutes)
|
|
56
|
+
|
|
57
|
+
→ **[QUICK-START.md](./QUICK-START.md)**
|
|
58
|
+
Installation and testing in 5 quick steps
|
|
59
|
+
|
|
60
|
+
### I want a COMPLETE installation
|
|
61
|
+
|
|
62
|
+
→ **[README.md](./README.md)** then **[docs/01-INSTALL.md](./docs/01-INSTALL.md)**
|
|
63
|
+
Detailed guide with explanations
|
|
64
|
+
|
|
65
|
+
### I want to AUTOMATE the installation
|
|
66
|
+
|
|
67
|
+
→ **[scripts/install.ps1](./scripts/install.ps1)**
|
|
68
|
+
PowerShell script that does everything
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## 📖 Available Documentation
|
|
73
|
+
|
|
74
|
+
### 📄 Main Guides
|
|
75
|
+
|
|
76
|
+
| File | Description | Reading time |
|
|
77
|
+
| -------------------------------------------- | ---------------------------- | ------------ |
|
|
78
|
+
| **[README.md](./README.md)** | Package overview | 5 min |
|
|
79
|
+
| **[QUICK-START.md](./QUICK-START.md)** | Quick start in 5 steps | 2 min |
|
|
80
|
+
| **[INDEX.md](./INDEX.md)** | This file - navigation guide | 3 min |
|
|
81
|
+
| **[PACKAGE-FILES.txt](./PACKAGE-FILES.txt)** | List of required files | 2 min |
|
|
82
|
+
|
|
83
|
+
### 📚 Detailed Documentation (docs/)
|
|
84
|
+
|
|
85
|
+
| File | Description | Reading time |
|
|
86
|
+
| ----------------------------------------------------------- | ------------------------------------------- | ------------ |
|
|
87
|
+
| **[01-INSTALL.md](./docs/01-INSTALL.md)** | Complete installation from scratch | 15 min |
|
|
88
|
+
| **[02-CONFIGURATION.md](./docs/02-CONFIGURATION.md)** | Advanced configuration, variables, security | 12 min |
|
|
89
|
+
| **[03-API.md](./docs/03-API.md)** | Complete REST API documentation | 15 min |
|
|
90
|
+
| **[04-N8N-INTEGRATION.md](./docs/04-N8N-INTEGRATION.md)** | Integration with n8n, workflows | 20 min |
|
|
91
|
+
| **[05-TROUBLESHOOTING.md](./docs/05-TROUBLESHOOTING.md)** | Complete problem resolution | 15 min |
|
|
92
|
+
| **[06-NOTEBOOK-LIBRARY.md](./docs/06-NOTEBOOK-LIBRARY.md)** | Multi-notebook library management | 12 min |
|
|
93
|
+
| **[07-AUTO-DISCOVERY.md](./docs/07-AUTO-DISCOVERY.md)** | Autonomous resource discovery pattern | 15 min |
|
|
94
|
+
|
|
95
|
+
### 🤝 Contribution and Project
|
|
96
|
+
|
|
97
|
+
| File | Description | Reading time |
|
|
98
|
+
| ---------------------------------------- | --------------------------------- | ------------ |
|
|
99
|
+
| **[LICENSE](./LICENSE)** | MIT License with attributions | 3 min |
|
|
100
|
+
| **[CONTRIBUTING.md](./CONTRIBUTING.md)** | Detailed contribution guide | 10 min |
|
|
101
|
+
| **[CHANGELOG.md](./CHANGELOG.md)** | Complete version history | 8 min |
|
|
102
|
+
| **[CREDITS.md](./CREDITS.md)** | Credits, technologies, philosophy | 8 min |
|
|
103
|
+
|
|
104
|
+
### 🔧 PowerShell Scripts (scripts/)
|
|
105
|
+
|
|
106
|
+
| Script | Description | Usage |
|
|
107
|
+
| -------------------------------------------------- | ------------------------------- | ---------------------------- |
|
|
108
|
+
| **[install.ps1](./scripts/install.ps1)** | Complete automatic installation | `.\scripts\install.ps1` |
|
|
109
|
+
| **[start-server.ps1](./scripts/start-server.ps1)** | HTTP server startup | `.\scripts\start-server.ps1` |
|
|
110
|
+
| **[stop-server.ps1](./scripts/stop-server.ps1)** | Clean server shutdown | `.\scripts\stop-server.ps1` |
|
|
111
|
+
| **[test-server.ps1](./scripts/test-server.ps1)** | Validation tests | `.\scripts\test-server.ps1` |
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## 🚀 Recommended Workflow
|
|
116
|
+
|
|
117
|
+
### 1️⃣ Initial Installation
|
|
118
|
+
|
|
119
|
+
```powershell
|
|
120
|
+
# 1. Read the overview
|
|
121
|
+
cat deployment\README.md
|
|
122
|
+
|
|
123
|
+
# 2. Run automatic installation
|
|
124
|
+
cd deployment
|
|
125
|
+
.\scripts\install.ps1
|
|
126
|
+
|
|
127
|
+
# 3. Configure authentication (one time only)
|
|
128
|
+
npm run setup-auth
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### 2️⃣ Daily Usage
|
|
132
|
+
|
|
133
|
+
```powershell
|
|
134
|
+
# Start the server
|
|
135
|
+
cd deployment
|
|
136
|
+
.\scripts\start-server.ps1
|
|
137
|
+
|
|
138
|
+
# In another terminal: test
|
|
139
|
+
.\scripts\test-server.ps1
|
|
140
|
+
|
|
141
|
+
# Stop the server
|
|
142
|
+
.\scripts\stop-server.ps1
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### 3️⃣ Integration with n8n
|
|
146
|
+
|
|
147
|
+
1. Read: **[04-N8N-INTEGRATION.md](./docs/04-N8N-INTEGRATION.md)** (TODO)
|
|
148
|
+
2. Configure the HTTP Request node in n8n
|
|
149
|
+
3. Test from n8n
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## 🎓 Usage Scenarios
|
|
154
|
+
|
|
155
|
+
### Scenario 1: First Deployment
|
|
156
|
+
|
|
157
|
+
```
|
|
158
|
+
1. README.md → Overview
|
|
159
|
+
2. 01-INSTALL.md → Detailed installation
|
|
160
|
+
3. scripts/install.ps1 → Automation
|
|
161
|
+
4. scripts/test-server.ps1 → Validation
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Scenario 2: Quick Deployment (Already familiar with Node.js)
|
|
165
|
+
|
|
166
|
+
```
|
|
167
|
+
1. QUICK-START.md → 5 quick steps
|
|
168
|
+
2. scripts/install.ps1 → Installation
|
|
169
|
+
3. npm run setup-auth → Auth
|
|
170
|
+
4. scripts/start-server.ps1 → Startup
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
### Scenario 3: n8n Integration
|
|
174
|
+
|
|
175
|
+
```
|
|
176
|
+
1. 01-INSTALL.md → Server installation
|
|
177
|
+
2. 04-N8N-INTEGRATION.md → n8n configuration
|
|
178
|
+
3. scripts/test-server.ps1 → Tests
|
|
179
|
+
4. n8n Workflow → Production
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
### Scenario 4: Troubleshooting
|
|
183
|
+
|
|
184
|
+
```
|
|
185
|
+
1. 05-TROUBLESHOOTING.md → Common solutions
|
|
186
|
+
2. Server logs → Diagnostics
|
|
187
|
+
3. scripts/test-server.ps1 → Validation
|
|
188
|
+
4. GitHub Issues → Community support
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
## 📊 Progress Status
|
|
194
|
+
|
|
195
|
+
| Document | Status | Notes |
|
|
196
|
+
| ---------------------- | ----------- | ------------------------ |
|
|
197
|
+
| README.md | ✅ Complete | Overview updated |
|
|
198
|
+
| QUICK-START.md | ✅ Complete | 5 min quick guide |
|
|
199
|
+
| INDEX.md | ✅ Complete | This file - navigation |
|
|
200
|
+
| PACKAGE-FILES.txt | ✅ Complete | File list |
|
|
201
|
+
| LICENSE | ✅ Complete | MIT with attributions |
|
|
202
|
+
| CONTRIBUTING.md | ✅ Complete | Contribution guide |
|
|
203
|
+
| CHANGELOG.md | ✅ Complete | Version 1.1.2-http |
|
|
204
|
+
| CREDITS.md | ✅ Complete | Complete credits |
|
|
205
|
+
| 01-INSTALL.md | ✅ Complete | Detailed installation |
|
|
206
|
+
| 02-CONFIGURATION.md | ✅ Complete | Variables, security, PM2 |
|
|
207
|
+
| 03-API.md | ✅ Complete | 12 documented endpoints |
|
|
208
|
+
| 04-N8N-INTEGRATION.md | ✅ Complete | 3 example workflows |
|
|
209
|
+
| 05-TROUBLESHOOTING.md | ✅ Complete | Complete solutions |
|
|
210
|
+
| 06-NOTEBOOK-LIBRARY.md | ✅ Complete | Multi-notebook library |
|
|
211
|
+
| 07-AUTO-DISCOVERY.md | ✅ Complete | Auto-discovery pattern |
|
|
212
|
+
| install.ps1 | ✅ Complete | Automatic installation |
|
|
213
|
+
| start-server.ps1 | ✅ Complete | Startup with checks |
|
|
214
|
+
| stop-server.ps1 | ✅ Complete | Clean shutdown |
|
|
215
|
+
| test-server.ps1 | ✅ Complete | Validation tests |
|
|
216
|
+
|
|
217
|
+
**Overall status:** ✅ 100% Complete - Ready for Git publication
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
## 🆘 Need Help?
|
|
222
|
+
|
|
223
|
+
### Quick Support
|
|
224
|
+
|
|
225
|
+
1. **Installation problem?** → [01-INSTALL.md](./docs/01-INSTALL.md)
|
|
226
|
+
2. **Startup error?** → [05-TROUBLESHOOTING.md](./docs/05-TROUBLESHOOTING.md)
|
|
227
|
+
3. **API question?** → [03-API.md](./docs/03-API.md)
|
|
228
|
+
4. **n8n integration?** → [04-N8N-INTEGRATION.md](./docs/04-N8N-INTEGRATION.md)
|
|
229
|
+
|
|
230
|
+
### Community Support
|
|
231
|
+
|
|
232
|
+
- **GitHub Issues:** [To be configured upon repository publication]
|
|
233
|
+
- **Discussions:** [To be configured upon repository publication]
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
## 📝 Release Notes
|
|
238
|
+
|
|
239
|
+
**Current version:** 1.3.1
|
|
240
|
+
|
|
241
|
+
**Included in this version:**
|
|
242
|
+
|
|
243
|
+
- ✅ MCP Auto-Discovery Tool: `auto_discover_notebook` for Claude Desktop
|
|
244
|
+
- ✅ Critical fix: Claude Desktop compatibility (disabled CompleteRequestSchema)
|
|
245
|
+
- ✅ HTTP Auto-Discovery: POST `/notebooks/auto-discover` endpoint
|
|
246
|
+
- ✅ Progressive disclosure inspired by Claude Skills
|
|
247
|
+
- ✅ Automatic metadata validation and generation
|
|
248
|
+
- ✅ Orchestrators can discover documentation autonomously
|
|
249
|
+
- ✅ Fix persistent authentication Windows
|
|
250
|
+
- ✅ Fix NotebookLM streaming detection
|
|
251
|
+
- ✅ Removal of "EXTREMELY IMPORTANT" system phrase
|
|
252
|
+
- ✅ Server listens on 0.0.0.0 (network accessible)
|
|
253
|
+
- ✅ PowerShell automation scripts
|
|
254
|
+
- ✅ Complete deployment documentation
|
|
255
|
+
- ✅ Chrome profile limitation documented
|
|
256
|
+
|
|
257
|
+
**Possible future improvements (1.4.0+):**
|
|
258
|
+
|
|
259
|
+
- 🔥 Separate Chrome profiles by mode (HTTP vs stdio) - HIGH PRIORITY
|
|
260
|
+
- ⏳ Smart metadata refresh endpoint
|
|
261
|
+
- ⏳ Semantic matching with embeddings
|
|
262
|
+
- ⏳ Usage analytics for notebooks
|
|
263
|
+
- ⏳ Optional Docker support
|
|
264
|
+
- ⏳ Web administration interface
|
|
265
|
+
- ⏳ Automated tests (unit + integration)
|
|
266
|
+
- ⏳ JWT/OAuth authentication support
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
## 📄 License
|
|
271
|
+
|
|
272
|
+
**MIT License** - See [LICENSE](./LICENSE) for complete details.
|
|
273
|
+
|
|
274
|
+
- Original project © 2025 Please Prompto!
|
|
275
|
+
- HTTP Wrapper © 2025 (Developed with Claude Code - Anthropic Claude Sonnet 4.5)
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
## 🤝 Contribution
|
|
280
|
+
|
|
281
|
+
See [CONTRIBUTING.md](./CONTRIBUTING.md) for:
|
|
282
|
+
|
|
283
|
+
- Reporting bugs
|
|
284
|
+
- Proposing improvements
|
|
285
|
+
- Submitting code
|
|
286
|
+
- Standards and Git workflow
|
|
287
|
+
|
|
288
|
+
---
|
|
289
|
+
|
|
290
|
+
**Last updated:** January 23, 2025
|
|
291
|
+
**Version:** 1.3.1
|
|
292
|
+
**Status:** ✅ Production-ready - Complete documentation
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
# Files Required for NotebookLM MCP HTTP Server Deployment
|
|
2
|
+
# Version: 1.3.0
|
|
3
|
+
|
|
4
|
+
================================================================================
|
|
5
|
+
FILES TO COPY FROM MAIN PROJECT
|
|
6
|
+
================================================================================
|
|
7
|
+
|
|
8
|
+
## Root Files
|
|
9
|
+
/package.json
|
|
10
|
+
/package-lock.json
|
|
11
|
+
/tsconfig.json
|
|
12
|
+
/.gitignore
|
|
13
|
+
/LICENSE → MIT License (original project + HTTP wrapper)
|
|
14
|
+
/README.md → Project overview
|
|
15
|
+
/CHANGELOG.md → Version history
|
|
16
|
+
/CONTRIBUTING.md → Contribution guide
|
|
17
|
+
/CREDITS.md → Credits and acknowledgments
|
|
18
|
+
|
|
19
|
+
## Source Code (src/)
|
|
20
|
+
/src/**/*
|
|
21
|
+
|
|
22
|
+
src/ content details:
|
|
23
|
+
- /src/auth/ → Google authentication management
|
|
24
|
+
- /src/config.ts → Central configuration
|
|
25
|
+
- /src/errors.ts → Custom error classes
|
|
26
|
+
- /src/http-wrapper.ts → HTTP entry point (ESSENTIAL!)
|
|
27
|
+
- /src/index.ts → MCP stdio entry point
|
|
28
|
+
- /src/library/ → Notebook management
|
|
29
|
+
- /src/session/ → Browser session management
|
|
30
|
+
- /src/tools/ → MCP handlers
|
|
31
|
+
- /src/types.ts → TypeScript definitions
|
|
32
|
+
- /src/utils/ → Utilities (logger, cleanup, etc.)
|
|
33
|
+
|
|
34
|
+
## HTTP Deployment Documentation (deployment/)
|
|
35
|
+
/deployment/README.md → HTTP deployment guide
|
|
36
|
+
/deployment/QUICK-START.md → Quick start (5 min)
|
|
37
|
+
/deployment/INDEX.md → Navigation index
|
|
38
|
+
/deployment/PACKAGE-FILES.txt → This file
|
|
39
|
+
/deployment/docs/01-INSTALL.md
|
|
40
|
+
/deployment/docs/02-CONFIGURATION.md
|
|
41
|
+
/deployment/docs/03-API.md
|
|
42
|
+
/deployment/docs/04-N8N-INTEGRATION.md
|
|
43
|
+
/deployment/docs/05-TROUBLESHOOTING.md
|
|
44
|
+
/deployment/docs/06-NOTEBOOK-LIBRARY.md
|
|
45
|
+
/deployment/docs/07-AUTO-DISCOVERY.md
|
|
46
|
+
/deployment/scripts/install.ps1
|
|
47
|
+
/deployment/scripts/start-server.ps1
|
|
48
|
+
/deployment/scripts/stop-server.ps1
|
|
49
|
+
/deployment/scripts/test-server.ps1
|
|
50
|
+
|
|
51
|
+
================================================================================
|
|
52
|
+
FILES GENERATED AFTER INSTALLATION (DO NOT COPY)
|
|
53
|
+
================================================================================
|
|
54
|
+
|
|
55
|
+
These files will be created automatically by npm install and npm run build:
|
|
56
|
+
|
|
57
|
+
/node_modules/ → npm dependencies (DO NOT copy)
|
|
58
|
+
/dist/ → Compiled JavaScript code (generated by npm run build)
|
|
59
|
+
/Data/ → Persistent data (generated by setup-auth)
|
|
60
|
+
|
|
61
|
+
================================================================================
|
|
62
|
+
COMPLETE STRUCTURE AFTER DEPLOYMENT
|
|
63
|
+
================================================================================
|
|
64
|
+
|
|
65
|
+
D:\notebooklm-http\
|
|
66
|
+
├── package.json
|
|
67
|
+
├── package-lock.json
|
|
68
|
+
├── tsconfig.json
|
|
69
|
+
├── .gitignore
|
|
70
|
+
├── LICENSE
|
|
71
|
+
├── README.md
|
|
72
|
+
├── CHANGELOG.md
|
|
73
|
+
├── CONTRIBUTING.md
|
|
74
|
+
├── CREDITS.md
|
|
75
|
+
│
|
|
76
|
+
├── src\
|
|
77
|
+
│ ├── http-wrapper.ts
|
|
78
|
+
│ ├── index.ts
|
|
79
|
+
│ ├── config.ts
|
|
80
|
+
│ ├── errors.ts
|
|
81
|
+
│ ├── types.ts
|
|
82
|
+
│ ├── auth\
|
|
83
|
+
│ ├── library\
|
|
84
|
+
│ ├── session\
|
|
85
|
+
│ ├── tools\
|
|
86
|
+
│ └── utils\
|
|
87
|
+
│
|
|
88
|
+
├── deployment\
|
|
89
|
+
│ ├── README.md
|
|
90
|
+
│ ├── QUICK-START.md
|
|
91
|
+
│ ├── INDEX.md
|
|
92
|
+
│ ├── PACKAGE-FILES.txt
|
|
93
|
+
│ ├── docs\
|
|
94
|
+
│ │ ├── 01-INSTALL.md
|
|
95
|
+
│ │ ├── 02-CONFIGURATION.md
|
|
96
|
+
│ │ ├── 03-API.md
|
|
97
|
+
│ │ ├── 04-N8N-INTEGRATION.md
|
|
98
|
+
│ │ └── 05-TROUBLESHOOTING.md
|
|
99
|
+
│ └── scripts\
|
|
100
|
+
│ ├── install.ps1
|
|
101
|
+
│ ├── start-server.ps1
|
|
102
|
+
│ ├── stop-server.ps1
|
|
103
|
+
│ └── test-server.ps1
|
|
104
|
+
│
|
|
105
|
+
├── node_modules\ (created by npm install)
|
|
106
|
+
├── dist\ (created by npm run build)
|
|
107
|
+
└── Data\ (created by setup-auth)
|
|
108
|
+
├── chrome_profile\
|
|
109
|
+
├── browser_state\
|
|
110
|
+
└── library.json
|
|
111
|
+
|
|
112
|
+
================================================================================
|
|
113
|
+
COMMANDS TO CREATE A DEPLOYABLE PACKAGE
|
|
114
|
+
================================================================================
|
|
115
|
+
|
|
116
|
+
## Method 1: Manual Copy
|
|
117
|
+
```powershell
|
|
118
|
+
# Create a new folder
|
|
119
|
+
mkdir D:\notebooklm-http-deploy
|
|
120
|
+
|
|
121
|
+
# Copy required files
|
|
122
|
+
Copy-Item package.json D:\notebooklm-http-deploy\
|
|
123
|
+
Copy-Item package-lock.json D:\notebooklm-http-deploy\
|
|
124
|
+
Copy-Item tsconfig.json D:\notebooklm-http-deploy\
|
|
125
|
+
Copy-Item .gitignore D:\notebooklm-http-deploy\
|
|
126
|
+
Copy-Item -Recurse src D:\notebooklm-http-deploy\
|
|
127
|
+
Copy-Item -Recurse deployment D:\notebooklm-http-deploy\
|
|
128
|
+
|
|
129
|
+
# Go to the new folder
|
|
130
|
+
cd D:\notebooklm-http-deploy
|
|
131
|
+
|
|
132
|
+
# Installation
|
|
133
|
+
.\deployment\scripts\install.ps1
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
## Method 2: ZIP Archive (Recommended for Distribution)
|
|
137
|
+
```powershell
|
|
138
|
+
# Create a clean archive
|
|
139
|
+
$files = @(
|
|
140
|
+
"package.json",
|
|
141
|
+
"package-lock.json",
|
|
142
|
+
"tsconfig.json",
|
|
143
|
+
".gitignore",
|
|
144
|
+
"src",
|
|
145
|
+
"deployment"
|
|
146
|
+
)
|
|
147
|
+
|
|
148
|
+
Compress-Archive -Path $files -DestinationPath notebooklm-http-v1.3.0.zip
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
## Method 3: Git Clone
|
|
152
|
+
```powershell
|
|
153
|
+
git clone <repo-url> D:\notebooklm-http
|
|
154
|
+
cd D:\notebooklm-http
|
|
155
|
+
.\deployment\scripts\install.ps1
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
================================================================================
|
|
159
|
+
APPROXIMATE SIZE
|
|
160
|
+
================================================================================
|
|
161
|
+
|
|
162
|
+
Source files + config: ~2 MB
|
|
163
|
+
node_modules/: ~150 MB
|
|
164
|
+
dist/: ~3 MB
|
|
165
|
+
Data/ (after auth): ~100 MB
|
|
166
|
+
|
|
167
|
+
TOTAL after installation: ~255 MB
|
|
168
|
+
|
|
169
|
+
================================================================================
|
|
170
|
+
SENSITIVE FILES (NEVER COMMIT)
|
|
171
|
+
================================================================================
|
|
172
|
+
|
|
173
|
+
/Data/chrome_profile/ → Contains Google cookies
|
|
174
|
+
/Data/browser_state/state.json → Contains Google session
|
|
175
|
+
.env → Environment variables (if used)
|
|
176
|
+
node_modules/ → Dependencies (regenerable)
|
|
177
|
+
|
|
178
|
+
These files are already in .gitignore
|
|
179
|
+
|
|
180
|
+
================================================================================
|