Back to Home
Jing-yilin icon

youtube-mcp-server

by Jing-yilin

Overview

Enables AI language models to interact with YouTube content through a standardized Model Context Protocol (MCP) interface.

Installation

Run Command
npx -y @yilin-jing/youtube-mcp-server

Environment Variables

  • YOUTUBE_API_KEY
  • YOUTUBE_TRANSCRIPT_LANG

Security Notes

The server exposes a `save_dir` parameter in several tools (e.g., `videos_getVideo`, `transcripts_getTranscript`, `comments_getComments`) which, if controllable by an attacker through the AI model's input, could allow arbitrary file system writes (path traversal vulnerabilities). The `saveData` function creates directories recursively and writes arbitrary JSON content to the specified path without explicit sanitization or directory restrictions. This is a critical local file system write vulnerability if the server is deployed in an environment where AI input is not strictly validated or sandboxed.

Similar Servers

Stats

Interest Score0
Security Score4
Cost ClassMedium
Avg Tokens500
Stars0
Forks0
Last Update2026-01-10

Tags

youtubemcpaiapi-integrationtoken-efficient