video-context-mcp-server 0.18.0-beta → 0.18.2-beta
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/README.md +37 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -404,6 +404,43 @@ When a provider's API key is missing, the tool automatically falls back to the n
|
|
|
404
404
|
> YOUTUBE_DL_SKIP_DOWNLOAD=true npm install -g video-context-mcp-server
|
|
405
405
|
> ```
|
|
406
406
|
|
|
407
|
+
> **Tip: use `YT_DLP_COOKIES_FILE` for age-restricted or authenticated content.** Some platform videos (e.g. age-restricted YouTube videos, private Facebook videos, Instagram reels that require login) cannot be downloaded without valid session cookies. You can export your browser's cookies and pass them to yt-dlp via this variable.
|
|
408
|
+
>
|
|
409
|
+
> **Step 1 — Export cookies from your browser.**
|
|
410
|
+
>
|
|
411
|
+
> Install the **[Get cookies.txt LOCALLY](https://chromewebstore.google.com/detail/get-cookiestxt-locally/cclelndahbckbenkjhflpdbgdldlbecc)** extension (Chrome/Edge) or **[cookies.txt](https://addons.mozilla.org/en-US/firefox/addon/cookies-txt/)** (Firefox). Navigate to the platform you want to download from (e.g. `youtube.com`, `facebook.com`) while logged in, then click the extension and export cookies in **Netscape format** (the default). Save the file somewhere stable, e.g.:
|
|
412
|
+
>
|
|
413
|
+
> ```
|
|
414
|
+
> # macOS / Linux
|
|
415
|
+
> ~/cookies-youtube.txt
|
|
416
|
+
>
|
|
417
|
+
> # Windows
|
|
418
|
+
> C:\Users\you\cookies-youtube.txt
|
|
419
|
+
> ```
|
|
420
|
+
>
|
|
421
|
+
> You can export separate files per platform or combine multiple sites into one file — yt-dlp reads all cookies in the file and uses whichever match the domain.
|
|
422
|
+
>
|
|
423
|
+
> **Step 2 — Point `YT_DLP_COOKIES_FILE` at the exported file.**
|
|
424
|
+
>
|
|
425
|
+
> Add it to the `env` block in your MCP config:
|
|
426
|
+
>
|
|
427
|
+
> ```jsonc
|
|
428
|
+
> {
|
|
429
|
+
> "servers": {
|
|
430
|
+
> "videoMcp": {
|
|
431
|
+
> "env": {
|
|
432
|
+
> // ... other keys ...
|
|
433
|
+
> "YT_DLP_COOKIES_FILE": "C:/Users/you/cookies-youtube.txt",
|
|
434
|
+
> },
|
|
435
|
+
> },
|
|
436
|
+
> },
|
|
437
|
+
> }
|
|
438
|
+
> ```
|
|
439
|
+
>
|
|
440
|
+
> Restart the MCP server after adding the variable. yt-dlp will now send those cookies with every download request, allowing access to content that requires authentication.
|
|
441
|
+
>
|
|
442
|
+
> **Keep your cookies file private** — it contains session tokens that grant access to your accounts. Never commit it to source control.
|
|
443
|
+
|
|
407
444
|
### Example Configuration
|
|
408
445
|
|
|
409
446
|
```json
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "video-context-mcp-server",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.2-beta",
|
|
4
4
|
"description": "A Model Context Protocol server that gives GitHub Copilot the ability to understand and analyze video content",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|