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
-
Clone this repository to your local machine:
git clone https://github.com/DimitriGeelen/mcp-youtube.git
cd mcp-youtube
-
Install dependencies:
npm install
-
Create a .env
file based on .env.example
:
cp .env.example .env
-
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