Connecting Cursor IDE to the YouTube Transcript MCP Server
Cursor is a popular AI-powered IDE that helps developers edit code rapidly. By configuring the Model Context Protocol (MCP) in Cursor, you can allow Cursor's chat agent to reference YouTube coding tutorials.
This integration lets Cursor fetch text transcripts of video guides directly, helping it debug errors based on video solutions.
Setup Steps in Cursor
Follow these instructions to connect the server:
- Open Cursor and navigate to Settings > Models > MCP.
- Click + Add New MCP Server.
- Fill out the configuration fields:
- Name:
youtube-transcript - Type:
command - Command:
node /absolute/path/to/youtube-transcript-mcp/build/index.js
- Name:
- Click Save. The status indicator will turn green if the connection is successful.
Using it in Cursor Chat
Open the Cursor sidebar chat, paste a video URL, and write: "Using the solution mentioned in this video tutorial, rewrite our API routing logic". Cursor will fetch the transcript and apply the code edit.