Integration · MODEL CONTEXT PROTOCOL

minbang930 Youtube Vision MCP

MCP (Model Context Protocol) server that utilizes the Google Gemini Vision API to interact with YouTube videos.

WHAT IT CONNECTS

minbang930 Youtube Vision MCP 为 AI Agent 提供什么

  • Analyzes YouTube videos using the Gemini Vision API.
  • Provides multiple tools for different interactions:
  • General description or Q&A (`ask_about_youtube_video`)
  • Summarization (`summarize_youtube_video`)
  • Key moment extraction (`extract_key_moments`)
  • Lists available Gemini models supporting `generateContent`.
  • Configurable Gemini model via environment variable.
  • Communicates via stdio (standard input/output).
  • **Node.js:** Version 18 or higher recommended. You can download it from [nodejs.org](https://nodejs.org/).
  • **Google Gemini API Key:** Obtain your API key from [Google AI Studio](https://aistudio.google.com/app/apikey) or Google Cloud Console.
  • **Clone the repository:**
  • **Install dependencies:**
  • **Build the project:**
  • **Configure and run:**
  • `GEMINI_API_KEY` (Required): Your Google Gemini API key.
  • `GEMINI_MODEL_NAME` (Optional): The specific Gemini model to use (e.g., `gemini-1.5-flash`). Defaults to `gemini-2.0-flash`. **Important:** For production or commercial use, ensure you select a model version that is not marked as "Experimental" or "Preview".
  • **Input:**
  • `youtube_url` (string, required): The URL of the YouTube video.
  • `question` (string, optional): The specific question to ask about the video. If omitted, a general description is generated.
  • **Output:** Text containing the answer or description.
  • **Input:**
  • `youtube_url` (string, required): The URL of the YouTube video.
  • `summary_length` (string, optional): Desired summary length ('short', 'medium', 'long'). Defaults to 'medium'.
  • **Output:** Text containing the video summary.
  • **Input:**
  • `youtube_url` (string, required): The URL of the YouTube video.
  • `number_of_moments` (integer, optional): Number of key moments to extract. Defaults to 3.
  • **Output:** Text describing the key moments with timestamps.
  • **Input:** None
  • **Output:** Text listing the supported model names.
  • **Model Selection for Production:** When using this server for production or commercial purposes, please ensure the selected `GEMINI_MODEL_NAME` is a stable version suitable for production use. According to the [Gemini API Terms of Service](https://ai.google.dev/gemini-api/terms), models marked as "Experimental" or "Preview" are not permitted for production deployment.
  • **API Terms of Service:** Usage of this server relies on the Google Gemini API. Users are responsible for reviewing and complying with the [Google APIs Terms of Service](https://developers.google.com/terms/) and the [Gemini API Additional Terms of Service](https://ai.google.dev/gemini-api/terms). Note that data usage policies may differ between free and paid tiers of the Gemini API. Do not submit sensitive or confidential information when using free tiers.
  • **Content Responsibility:** The accuracy and appropriateness of content generated via the Gemini API are not guaranteed. Use discretion before relying on or publishing generated content.

SECURITY

MCP 收录不等于安全审核

MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。