Skip to main content
Glama

yt-mcp-agent

A YouTube video agent built using a custom MCP server and OpenAI's Agent's SDK. It can extract video transcripts given link fetch specialized instructions for things like: writing blog posts, video chapters, and social posts.

Resources:

This example is a prelude to Cohort 7 of the AI Builders Bootcamp.

Requirements

  • Python 3.13+

  • OpenAI API key

  • uv package manager (recommended)

Related MCP server: YouTube Insights MCP Server

How to run this example

  1. Clone the repository

    git clone <repository-url>
    cd yt-mcp-agent
  2. Install dependencies with uv

    uv sync
  3. Set up your OpenAI API key

    Create a .env file in the root directory:

    echo "OPENAI_API_KEY=your_api_key_here" > .env
  4. Run the agent

    uv run main.py
  5. Interact with agent

    Once running, you can ask the agent to analyze YouTube videos. Try prompts like:

Base Python/pip

  1. Clone the repository

    git clone <repository-url>
    cd yt-mcp-agent
  2. Create a virtual environment

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install dependencies

    pip install -e .
  4. Set up your OpenAI API key

    Create a .env file in the root directory:

    echo "OPENAI_API_KEY=your_api_key_here" > .env
  5. Run the agent

    python main.py
  6. Interact with agent

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    An MCP server that enables the extraction of transcripts and detailed metadata from YouTube videos. It allows users to retrieve video information like titles and descriptions, as well as transcripts with optional timestamps and language selection.
    2
    MIT
  • A
    license
    -
    quality
    -
    maintenance
    An MCP server agent that enables analysis of YouTube videos by extracting transcripts, generating summaries, and creating chapter timestamps. It allows users to interact with video content through natural language to perform tasks such as writing social media posts.
  • A
    license
    A
    quality
    C
    maintenance
    An MCP server for intelligent YouTube video analysis that provides token-optimized summaries, sentiment analysis, and entity extraction from transcripts. It enables AI assistants to perform video reporting, channel monitoring, and comprehensive YouTube searches through structured data tools.
    10
    50
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Multimodal video analysis MCP — transcription, vision, and OCR for any video URL.

  • Any social-video URL → transcript, metadata, frames, OCR, summary, search, Q&A. MCP server + x402.

  • MCP server for Google Veo AI video generation

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shai-baranes/my-yt-mcp-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server