@roomi-fields/notebooklm-mcp 1.5.0 → 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 +2 -0
- 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/cli/accounts.js.map +1 -1
- package/dist/config.d.ts +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +15 -0
- package/dist/config.js.map +1 -1
- package/dist/content/content-manager.d.ts.map +1 -1
- package/dist/content/content-manager.js +113 -118
- package/dist/content/content-manager.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/session/browser-session.d.ts.map +1 -1
- package/dist/session/browser-session.js +1 -0
- package/dist/session/browser-session.js.map +1 -1
- package/dist/session/shared-context-manager.d.ts.map +1 -1
- package/dist/session/shared-context-manager.js +2 -0
- package/dist/session/shared-context-manager.js.map +1 -1
- package/docs/ADDING_A_LANGUAGE.md +209 -0
- package/package.json +6 -3
- 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/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
|
@@ -126,6 +126,7 @@ curl -X POST http://localhost:3000/ask \
|
|
|
126
126
|
| [Auto-Discovery](./deployment/docs/07-AUTO-DISCOVERY.md) | Autonomous metadata generation |
|
|
127
127
|
| [Multi-Interface](./deployment/docs/09-MULTI-INTERFACE.md) | Run Claude Desktop + HTTP simultaneously |
|
|
128
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 |
|
|
129
130
|
|
|
130
131
|
---
|
|
131
132
|
|
|
@@ -135,6 +136,7 @@ See [ROADMAP.md](./ROADMAP.md) for planned features and version history.
|
|
|
135
136
|
|
|
136
137
|
**Latest releases:**
|
|
137
138
|
|
|
139
|
+
- **v1.5.1** — Multilingual UI support (FR/EN) with i18n selector system + E2E tests (76 tests)
|
|
138
140
|
- **v1.5.0** — Complete Studio content generation (video, infographic, presentation, data_table) + Notes management + Delete sources
|
|
139
141
|
- **v1.4.0** — Content management (sources, audio, generation) + Multi-account
|
|
140
142
|
- **v1.3.7** — Source citation extraction (5 formats)
|
|
@@ -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
|
+
================================================================================
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
# Quick Start Guide - 5 Minutes ⚡
|
|
2
|
+
|
|
3
|
+
> For busy users already familiar with Node.js and npm
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## ✅ Prerequisites
|
|
8
|
+
|
|
9
|
+
- Windows 10/11 (64-bit)
|
|
10
|
+
- Node.js 20+ and npm 10+ installed
|
|
11
|
+
- Google account with NotebookLM access
|
|
12
|
+
|
|
13
|
+
**Note:** This package is optimized for Windows only.
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## 🚀 Installation in 5 Steps
|
|
18
|
+
|
|
19
|
+
### 1. Clone and Install (2 min)
|
|
20
|
+
|
|
21
|
+
```powershell
|
|
22
|
+
cd D:\
|
|
23
|
+
git clone <repo-url> notebooklm-http
|
|
24
|
+
cd notebooklm-http
|
|
25
|
+
npm install
|
|
26
|
+
npm run build
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### 2. Configure Authentication (1 min)
|
|
30
|
+
|
|
31
|
+
```powershell
|
|
32
|
+
npm run setup-auth
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
- Chrome opens
|
|
36
|
+
- Log in to Google
|
|
37
|
+
- Go to https://notebooklm.google.com
|
|
38
|
+
- Close Chrome
|
|
39
|
+
- ✅ Auth saved!
|
|
40
|
+
|
|
41
|
+
### 3. Start the Server (30 sec)
|
|
42
|
+
|
|
43
|
+
```powershell
|
|
44
|
+
npm run start:http
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### 4. Test (30 sec)
|
|
48
|
+
|
|
49
|
+
New terminal:
|
|
50
|
+
|
|
51
|
+
```powershell
|
|
52
|
+
curl http://localhost:3000/health
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### 5. Use (1 min)
|
|
56
|
+
|
|
57
|
+
```powershell
|
|
58
|
+
curl -X POST http://localhost:3000/ask `
|
|
59
|
+
-H "Content-Type: application/json" `
|
|
60
|
+
-d '{"question":"Test","notebook_id":"your-id"}'
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## 🎯 n8n Configuration
|
|
66
|
+
|
|
67
|
+
1. **HTTP Request node** in n8n
|
|
68
|
+
2. **URL:** `http://<PC-IP>:3000/ask`
|
|
69
|
+
3. **Method:** POST
|
|
70
|
+
4. **Body:**
|
|
71
|
+
```json
|
|
72
|
+
{
|
|
73
|
+
"question": "{{ $json.query }}",
|
|
74
|
+
"notebook_id": "your-id"
|
|
75
|
+
}
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## 📖 Complete Documentation
|
|
81
|
+
|
|
82
|
+
- Detailed installation: [docs/01-INSTALL.md](./docs/01-INSTALL.md)
|
|
83
|
+
- Complete overview: [root README.md](../README.md)
|
|
84
|
+
- API: [docs/03-API.md](./docs/03-API.md)
|
|
85
|
+
- n8n: [docs/04-N8N-INTEGRATION.md](./docs/04-N8N-INTEGRATION.md)
|
|
86
|
+
- Troubleshooting: [docs/05-TROUBLESHOOTING.md](./docs/05-TROUBLESHOOTING.md)
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## 🐛 Common Issues
|
|
91
|
+
|
|
92
|
+
| Problem | Solution |
|
|
93
|
+
| -------------------- | ------------------------------------------------------------- |
|
|
94
|
+
| Port 3000 occupied | `netstat -ano \| findstr :3000` then `taskkill /PID <pid> /F` |
|
|
95
|
+
| Session expires | `npm run setup-auth` |
|
|
96
|
+
| "Target page closed" | Stop all node.exe processes and restart |
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
**✅ That's it! You're all set!**
|