SSyncDev

YouTube MCP Server

A Model Context Protocol (MCP) server for YouTube videos with caption extraction and markdown conversion capabilities

Local serverstdioTypeScript

What is the YouTube MCP Server?

A Model Context Protocol (MCP) server for YouTube videos with caption extraction and markdown conversion capabilities

What the server does

A Model Context Protocol (MCP) server for interacting with YouTube videos. This server provides tools for extracting video metadata, captions, and converting them to markdown format with various templates.

  • Video Metadata — Fetch comprehensive video information
  • Caption Extraction — Support for auto-generated and manual captions
  • Multiple Languages — Built-in support for English and French
  • Template System — Three built-in markdown templates:
  • Basic: Simple transcript format
  • Detailed: Full metadata with timestamps

Credentials and setup notes

  • Node.js (v16 or higher) - npm or yarn - A YouTube Data API key and/or OAuth2 credentials

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the YouTube MCP Server

{
  "mcpServers": {
    "youtube": {
      "command": "node",
      "args": [
        "path/to/youtube-mcp/build/index.js"
      ],
      "env": {
        "YOUTUBE_API_KEY": "YOUR_YOUTUBE_API_KEY",
        "YOUTUBE_CLIENT_ID": "your_client_id",
        "YOUTUBE_CLIENT_SECRET": "YOUR_YOUTUBE_CLIENT_SECRET"
      },
      "disabled": false,
      "alwaysAllow": []
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js (v16 or higher) - npm or yarn - A YouTube Data API key and/or OAuth2 credentials
VariableDescriptionRequired
YOUTUBE_API_KEYDeclared in the maintainer’s client configuration.Check documentation
YOUTUBE_CLIENT_IDDeclared in the maintainer’s client configuration.Check documentation
YOUTUBE_CLIENT_SECRETDeclared in the maintainer’s client configuration.Check documentation

Frequently asked questions

Node.js v16 or higher, npm or yarn, and a YouTube Data API key and/or OAuth2 credentials from the Google Cloud Console.