Skip to content
VS Code

YouTube MCP for VS Code

io.github.granitebps/youtube-mcp

Independent, unofficial project for YouTube metadata, transcripts, comments, and search.

client:VS Code transport:stdio runtime:npm

Install YouTube MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "yt-provider",
      "description": "YT_PROVIDER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "youtube-api-key",
      "description": "YOUTUBE_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "youtube-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@granitebps/youtube-mcp"
      ],
      "env": {
        "YT_PROVIDER": "${input:yt-provider}",
        "YOUTUBE_API_KEY": "${input:youtube-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

YouTube MCP in other clients