### Install YouTube MCP Server via Smithery CLI Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/README.md Installs the YouTube MCP Server for Claude Desktop using the Smithery CLI. This command automates the setup process. ```bash npx -y @smithery/cli install @ZubeidHendricks/youtube --client claude ``` -------------------------------- ### Development Commands for YouTube MCP Server Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/youtube-mcp-readme.md Basic development commands for the YouTube MCP Server project, including dependency installation and running tests. ```bash # Install dependencies npm install # Run tests npm test ``` -------------------------------- ### Install YouTube MCP Server via NPM Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/README.md Installs the YouTube MCP Server globally using npm. This command requires Node.js and npm to be installed on the system. ```bash npm install -g zubeid-youtube-mcp-server ``` -------------------------------- ### YouTube MCP Server Development Commands Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/youtube-readme.md Lists common development commands for the YouTube MCP Server project, including installing dependencies, running tests, building the project, and linting the code. ```bash # Install dependencies npm install # Run tests npm test # Build npm run build # Lint npm run lint ``` -------------------------------- ### Install YouTube MCP Server via npm Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/youtube-readme.md Installs the YouTube MCP Server package using npm. This is the first step to integrating the server into your project. ```bash npm install @modelcontextprotocol/server-youtube ``` -------------------------------- ### Install YouTube MCP Server (npm) Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/llms.txt Installs the YouTube MCP Server as a local npm package. This is the primary method for integrating the server into Node.js projects. ```bash npm install zubeid-youtube-mcp-server ``` -------------------------------- ### Configure Claude Desktop with YouTube MCP Server (NPX) Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/README.md Adds the YouTube MCP Server to Claude Desktop's configuration using npx, which avoids global installation. Requires a YouTube API key. ```json { "mcpServers": { "youtube": { "command": "npx", "args": ["-y", "zubeid-youtube-mcp-server"], "env": { "YOUTUBE_API_KEY": "your_youtube_api_key_here" } } } } ``` -------------------------------- ### Configure Claude Desktop with YouTube MCP Server (NPM) Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/README.md Adds the YouTube MCP Server to Claude Desktop's configuration when installed globally via npm. Requires a YouTube API key. ```json { "mcpServers": { "zubeid-youtube-mcp-server": { "command": "zubeid-youtube-mcp-server", "env": { "YOUTUBE_API_KEY": "your_youtube_api_key_here" } } } } ``` -------------------------------- ### Manage YouTube Playlists with JavaScript MCP Client Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/youtube-readme.md Shows how to manage YouTube playlists using the JavaScript MCP client. Examples include retrieving items within a playlist and fetching playlist details. ```javascript // Get playlist items const playlistItems = await youtube.playlists.getPlaylistItems({ playlistId: "playlist-id", maxResults: 50 }); // Get playlist details const playlist = await youtube.playlists.getPlaylist({ playlistId: "playlist-id" }); ``` -------------------------------- ### Run Build Script with npm Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/youtube-mcp-readme.md Executes the build process for the YouTube MCP Server project. This command typically compiles source code, bundles assets, and prepares the project for deployment or distribution. It relies on the 'build' script defined in the project's package.json. ```shell npm run build ``` -------------------------------- ### Configure YouTube MCP Server in VS Code User Settings (JSON) Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/youtube-mcp-readme.md JSON configuration for VS Code User Settings to set up the YouTube MCP Server. This includes defining inputs for API keys and server configurations. ```json { "mcp": { "inputs": [ { "type": "promptString", "id": "apiKey", "description": "YouTube API Key", "password": true } ], "servers": { "youtube": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-youtube"], "env": { "YOUTUBE_API_KEY": "${input:apiKey}" } } } } } ``` -------------------------------- ### Configure YouTube MCP Server in MCP Client Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/youtube-readme.md Provides a JSON configuration snippet for integrating the YouTube MCP Server with an MCP client, such as Claude Desktop. It specifies the command to run the server and necessary environment variables like the YouTube API key. ```json { "mcpServers": { "youtube": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-youtube"], "env": { "YOUTUBE_API_KEY": "" } } } } ``` -------------------------------- ### Configure YouTube MCP Server in VS Code Workspace (.vscode/mcp.json) Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/youtube-mcp-readme.md JSON configuration for a VS Code workspace to set up the YouTube MCP Server. This allows for project-specific configurations, including API key prompts. ```json { "inputs": [ { "type": "promptString", "id": "apiKey", "description": "YouTube API Key", "password": true } ], "servers": { "youtube": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-youtube"], "env": { "YOUTUBE_API_KEY": "${input:apiKey}" } } } } ``` -------------------------------- ### Manage YouTube Channels with JavaScript MCP Client Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/youtube-readme.md Illustrates how to interact with YouTube channels using the JavaScript MCP client. It covers fetching channel details and listing videos associated with a specific channel. ```javascript // Get channel details const channel = await youtube.channels.getChannel({ channelId: "channel-id" }); // List channel videos const videos = await youtube.channels.listVideos({ channelId: "channel-id", maxResults: 50 }); ``` -------------------------------- ### Configure VS Code User Settings for YouTube MCP Server Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/README.md Sets up the YouTube MCP Server configuration within VS Code's user settings. This allows for integrated API key input and server configuration. ```json { "mcp": { "inputs": [ { "type": "promptString", "id": "apiKey", "description": "YouTube API Key", "password": true } ], "servers": { "youtube": { "command": "npx", "args": ["-y", "zubeid-youtube-mcp-server"], "env": { "YOUTUBE_API_KEY": "${input:apiKey}" } } } } } ``` -------------------------------- ### Run Lint Script with npm Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/youtube-mcp-readme.md Executes the linting process for the YouTube MCP Server project. Linting checks the code for stylistic errors and potential programming mistakes. This command depends on the 'lint' script configured in the project's package.json. ```shell npm run lint ``` -------------------------------- ### Configure VS Code Workspace Settings for YouTube MCP Server Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/README.md Sets up the YouTube MCP Server configuration within a VS Code workspace's `.vscode/mcp.json` file. This is useful for project-specific configurations. ```json { "inputs": [ { "type": "promptString", "id": "apiKey", "description": "YouTube API Key", "password": true } ], "servers": { "youtube": { "command": "npx", "args": ["-y", "zubeid-youtube-mcp-server"], "env": { "YOUTUBE_API_KEY": "${input:apiKey}" } } } } ``` -------------------------------- ### Manage YouTube Videos with JavaScript MCP Client Source: https://github.com/zubeidhendricks/youtube-mcp-server/blob/main/youtube-readme.md Demonstrates how to use the YouTube MCP Server's client interface in JavaScript to manage video-related operations. This includes fetching video details, retrieving transcripts, and searching for videos. ```javascript // Get video details const video = await youtube.videos.getVideo({ videoId: "video-id" }); // Get video transcript const transcript = await youtube.transcripts.getTranscript({ videoId: "video-id", language: "en" }); // Search videos const searchResults = await youtube.videos.searchVideos({ query: "search term", maxResults: 10 }); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.