The installation process of ytt-mcp consists of three main phases: environment preparation, code acquisition, and dependency installation:
Environmental preparation phaseYou need to make sure that your system meets the following conditions: Node.js 16+ runtime environment, Python 3.8+ interpreter, Git version control tool. You also need to install the Raycast app in advance when using the Raycast extension.
Specific installation steps::
- pass (a bill or inspection etc)
git clone https://github.com/cottongeeks/ytt-mcp.git
clone warehouse - utilization
npm install
Install Node dependencies, if necessary viapip install -r requirements.txt
Supplemental Python dependencies - Modify the config.json configuration file to set the MCP server parameters (default port 3000)
Configuration points: YouTube API key is optional, but it is recommended to register to use it to improve: subtitle acquisition success rate (up to 40%), request frequency limit (up to 100,000 times/day from 100 times/day), multi-language support accuracy.
After the installation is complete, pass thenpm start
Start the service and visit localhost:3000 to verify the installation status.
This answer comes from the articleytt-mcp: server tool to get and process subtitles for YouTube videosThe