mcp youtube

Local 2025-09-01 00:00:45 0

A server for downloading, processing, and managing YouTube content with features like video quality selection, format conversion, and metadata extraction.


A Media Content Processor (MCP) server for downloading, processing, and managing YouTube content.

Features

  • Download YouTube videos with quality selection
  • Process videos (convert formats, change resolution, compress)
  • Video metadata extraction
  • Manage downloaded content

Installation

Prerequisites

  • Node.js (v14 or higher)
  • MongoDB (optional, for content management)

Setup

  1. Clone this repository to your local machine:

    git clone https://github.com/DimitriGeelen/mcp-youtube.git
    cd mcp-youtube

  2. Install dependencies:

    npm install

  3. Create a .env file based on .env.example:

    cp .env.example .env

  4. Edit the .env file to configure your environment

Running the server

npm start

For development with auto-restart:

npm run dev

API Endpoints

YouTube Operations

  • GET /api/youtube/info/:videoId - Get video metadata
  • POST /api/youtube/download - Download a video
  • POST /api/youtube/process - Process a downloaded video
  • GET /api/youtube/videos - List downloaded videos

License

MIT