youtube
Cómo crear MCP Servers y usarlos con GitHub Copilot Chat 🚀💻🤖
claude mcp add --transport stdio 0gis0-youtube-mcp-server node mcp-stdio/dist/index.js \ --env YOUTUBE_API_KEY="your_youtube_api_key_here"
How to use
This MCP server provides YouTube data access via the Model Context Protocol, exposing a toolset that lets language models query YouTube channels and their metadata. It supports two transport modes: stdio for local, self-contained use and Server-Sent Events (SSE) for remote access. The core capability is a tool named get_youtube_channel (used as an MCP tool) which can search channels by name and return detailed information such as channel statistics and metadata. To use with GitHub Copilot Chat, configure the MCP server in your Copilot Chat MCP settings, select the appropriate transport, and invoke the get_youtube_channel tool in natural language prompts like “Find the channel named X” or “Get details for channel Y.” The inspector utility can also help you experiment with the available tools and their input/output schemas before integration.
How to install
Prerequisites:
- Node.js v18.0.0 or higher
- npm (or yarn) installed
- YouTube Data API v3 key (YOUTUBE_API_KEY)
- Git (optional for cloning)
Installation steps:
Option A: MCP Server with stdio transport (mcp-stdio)
-
Clone the repository and open the stdio folder: git clone https://github.com/0GiS0/youtube-mcp-server.git cd youtube-mcp-server/mcp-stdio
-
Install dependencies: npm install
-
Configure environment: cp .env-sample .env Edit .env and add your YouTube API key: YOUTUBE_API_KEY=your_api_key_here
-
Build the project (if required by the repo setup): npm run build
Option B: MCP Server with SSE transport (mcp-remote)
-
Clone the repository and open the remote folder: git clone https://github.com/0GiS0/youtube-mcp-server.git cd youtube-mcp-server/mcp-remote
-
Install dependencies: npm install
-
Configure environment: cp .env-sample .env Edit .env and add your YouTube API key: YOUTUBE_API_KEY=your_api_key_here
-
Build and run the server: npm run build npm start
Both setups expose the MCP tools and can be connected to via GitHub Copilot Chat by adding them to your MCP configuration.
Additional notes
Tips and common considerations:
- Ensure your YOUTUBE_API_KEY has the YouTube Data API v3 enabled in the Google Cloud Console.
- The stdio transport is best for local testing and quick experiments, while SSE is suited for remote integration scenarios.
- If you encounter rate limiting from the YouTube API, consider implementing caching or rate-limiting logic at the client side and verify API quotas in Google Cloud Console.
- Use the MCP Inspector utility (npx @modelcontextprotocol/inspector) to explore the available tools and their input/output schemas before integrating with Copilot Chat.
- When using Copilot Chat, provide clear prompts that specify the tool name (e.g., get_youtube_channel) and required parameters to improve reliability.
Related MCP Servers
obsidian -tools
Add Obsidian integrations like semantic search and custom Templater prompts to Claude or any MCP client.
Matryoshka
MCP server for token-efficient large document analysis via the use of REPL state
pluggedin-app
The Crossroads for AI Data Exchanges. A unified, self-hostable web interface for discovering, configuring, and managing Model Context Protocol (MCP) servers—bringing together AI tools, workspaces, prompts, and logs from multiple MCP sources (Claude, Cursor, etc.) under one roof.
Agentic -Skill
Agentic-MCP, Progressive MCP client with three-layer lazy loading. Validates AgentSkills.io pattern for efficient token usage. Use MCP without pre-install & wasting full-loading
mongo
MCP server that provide tools to LLMs such as claude in cursor to interact with MongoDB
vscode-context
MCP Server to Connect with VS Code IDE