Back to Home
mrdr79 icon

mcp-server

Verified Safe

by mrdr79

Overview

Provides an API to search YouTube for a song query and return a direct audio stream URL.

Installation

Run Command
npm start

Environment Variables

  • PORT

Security Notes

The server uses `encodeURIComponent` for search queries and a robust regex to extract video IDs from YouTube's HTML, mitigating direct injection risks. It relies on `ytdl-core` for video information and format selection, which is a well-maintained library. No direct use of `eval` or hardcoded secrets. The primary risk is the inherent reliance on YouTube's ever-changing front-end and potential `ytdl-core` vulnerabilities or breakage.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-07

Tags

YouTubeAudio StreamingAPIExpress