@striderlabs/mcp-youtube 1.0.0

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.
Files changed (2) hide show
  1. package/README.md +57 -0
  2. package/package.json +24 -0
package/README.md ADDED
@@ -0,0 +1,57 @@
1
+ # @striderlabs/mcp-youtube
2
+
3
+ MCP server connector for YouTube — search videos, manage playlists, subscriptions, and watch history via Playwright browser automation.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @striderlabs/mcp-youtube
9
+ ```
10
+
11
+ ## Configuration
12
+
13
+ Set environment variables:
14
+
15
+ ```bash
16
+ export YOUTUBE_EMAIL="your-google-email@gmail.com"
17
+ export YOUTUBE_PASSWORD="your-password"
18
+ export YOUTUBE_HEADLESS="true" # Set to "false" to see browser
19
+ ```
20
+
21
+ ## Tools
22
+
23
+ | Tool | Description |
24
+ |------|-------------|
25
+ | `search_videos` | Search for videos by query |
26
+ | `get_video_details` | Get detailed info about a video |
27
+ | `get_channel_info` | Get channel information |
28
+ | `list_playlists` | List user playlists |
29
+ | `get_playlist_videos` | Get videos in a playlist |
30
+ | `subscribe_channel` | Subscribe to a channel |
31
+ | `get_subscriptions` | List subscribed channels |
32
+ | `get_watch_history` | Get watch history |
33
+ | `like_video` | Like a video |
34
+ | `add_to_playlist` | Add video to playlist |
35
+
36
+ ## MCP Configuration
37
+
38
+ Add to your MCP config:
39
+
40
+ ```json
41
+ {
42
+ "mcpServers": {
43
+ "youtube": {
44
+ "command": "npx",
45
+ "args": ["@striderlabs/mcp-youtube"],
46
+ "env": {
47
+ "YOUTUBE_EMAIL": "your-email",
48
+ "YOUTUBE_PASSWORD": "your-password"
49
+ }
50
+ }
51
+ }
52
+ }
53
+ ```
54
+
55
+ ## License
56
+
57
+ MIT
package/package.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "@striderlabs/mcp-youtube",
3
+ "version": "1.0.0",
4
+ "description": "MCP server connector for YouTube — search videos, manage playlists, subscriptions, and watch history via Playwright browser automation",
5
+ "main": "dist/index.js",
6
+ "bin": { "mcp-youtube": "dist/index.js" },
7
+ "scripts": {
8
+ "build": "esbuild src/index.ts --bundle --platform=node --target=node18 --outfile=dist/index.js --external:playwright",
9
+ "start": "node dist/index.js"
10
+ },
11
+ "keywords": ["mcp", "youtube", "video", "playlist", "modelcontextprotocol"],
12
+ "author": "StriderLabs",
13
+ "license": "MIT",
14
+ "dependencies": {
15
+ "@modelcontextprotocol/sdk": "^1.0.0",
16
+ "playwright": "^1.40.0"
17
+ },
18
+ "devDependencies": {
19
+ "@types/node": "^20.0.0",
20
+ "esbuild": "^0.20.0",
21
+ "typescript": "^5.0.0"
22
+ },
23
+ "files": ["dist/", "README.md"]
24
+ }