Back to Home
AiMoneyMachine icon

youtube-mcp-server

by AiMoneyMachine

Overview

This server acts as an intermediary to generate videos via RunwayML and upload them to YouTube, providing a unified API endpoint for a Multi-tool Communication Protocol (MCP).

Installation

Run Command
node server.js

Environment Variables

  • CLIENT_ID
  • CLIENT_SECRET
  • REDIRECT_URL
  • RUNWAY_API_KEY
  • PORT

Security Notes

The server uses `cors()` without specific origin restrictions, allowing requests from any domain, which could be a security risk in a production environment if not explicitly desired. The `express.json({ limit: '500mb' })` setting allows very large JSON payloads, potentially opening a denial-of-service (DoS) vector. The `videoUrl` in the `/upload` endpoint is fetched from user input without validation, which could lead to Server-Side Request Forgery (SSRF), downloading of malicious content, or excessive resource consumption if a malicious URL is provided. API keys and secrets are correctly loaded from environment variables using `dotenv`, which is a good practice.

Similar Servers

Stats

Interest Score0
Security Score4
Cost ClassHigh
Stars0
Forks0
Last Update2025-12-15

Tags

Video GenerationYouTube APIRunwayMLNode.jsMCP