youtube-mcp-server
Verified Safeby 0GiS0
Overview
This server provides practical examples of creating Model Context Protocol (MCP) servers to integrate external services, specifically the YouTube API, with language models like GitHub Copilot Chat.
Installation
cd mcp-remote && npm install && cp .env-sample .env && echo "YOUTUBE_API_KEY=YOUR_YOUTUBE_API_KEY" >> .env && npm run build && npm startEnvironment Variables
- YOUTUBE_API_KEY
- PORT
Security Notes
The server uses environment variables (via `dotenv`) for sensitive information like the `YOUTUBE_API_KEY`, which is good practice to prevent hardcoding secrets. Input validation for tool arguments is performed using Zod schemas. No 'eval', obfuscation, or immediately apparent malicious patterns were found in the provided source code. The HTTP/SSE transport in `mcp-remote` is handled by the `@modelcontextprotocol/sdk` and `express`, which are standard and generally secure libraries.
Similar Servers
boilerplate-mcp-server
This boilerplate provides a production-ready foundation for developing custom Model Context Protocol (MCP) servers in TypeScript to connect AI assistants with external APIs and data sources, exemplified by an IP geolocation lookup tool.
remote-mcp-functions-typescript
Provides a remote Model Context Protocol (MCP) server implemented with Azure Functions in TypeScript, enabling AI agents like GitHub Copilot to interact with custom tools and data storage.
workshop-mcp-servers
Demonstrates building Model Context Protocol (MCP) servers in TypeScript and Java for integrating with developer platforms and services like GitHub, specifically for a workshop using Visual Studio Code and GitHub Copilot.
mcp-youtube
Provides token-optimized, structured YouTube Data API v3 data for LLM applications, enabling video search, details, transcripts, channel analysis, and trend discovery.