Skip to main content

Add your description here

Project description

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)

How to run this example

uv (recommended)

  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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_shawhint_yt_mcp_agent-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_shawhint_yt_mcp_agent-0.1.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_shawhint_yt_mcp_agent-0.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_shawhint_yt_mcp_agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2578030f2ff8c57068e720b2311c083db6f8240a368072b23e5439de3986df7b
MD5 1026d072e0e7f7ab1b7b064529befbd5
BLAKE2b-256 1aef5e76877ee6a5a213992b1891c4d75bc9a012e7dd3179dc61b20136f69636

See more details on using hashes here.

File details

Details for the file iflow_mcp_shawhint_yt_mcp_agent-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_shawhint_yt_mcp_agent-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_shawhint_yt_mcp_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ae311d1b49a7e7b0a9e3b5d7be363ca6fefb0f5a56a14341417c47287eab6b2
MD5 691fc199486615a18cbdd7c30a7177d9
BLAKE2b-256 8d1012a7e037b2c2a5dbceab413c3a0b3c5ad02a81c226db1d2908c8661ba174

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page