Skip to main content
Glama

YouTube MCP 서버

대장간 배지

YouTube용 MCP(모델 컨텍스트 프로토콜) 서버 구현으로, AI 언어 모델이 표준화된 인터페이스를 통해 YouTube 콘텐츠와 상호 작용할 수 있습니다.

특징

비디오 정보

  • 비디오 세부 정보(제목, 설명, 길이 등)를 받으세요.

  • 채널 비디오 목록

  • 비디오 통계(조회수, 좋아요, 댓글)를 얻으세요

  • YouTube에서 동영상 검색

성적증명서 관리

  • 비디오 대본 검색

  • 여러 언어 지원

  • 타임스탬프가 찍힌 캡션을 받으세요

  • 대본 내 검색

채널 관리

  • 채널 세부 정보 가져오기

  • 채널 재생목록 나열

  • 채널 통계 가져오기

  • 채널 콘텐츠 내 검색

재생목록 관리

  • 재생 목록 항목 나열

  • 재생 목록 세부 정보 가져오기

  • 재생 목록 내에서 검색

  • 재생목록 비디오 대본 받기

Related MCP server: mcp-youtube-transcript

설치

Smithery를 통해 설치

Smithery 를 통해 Claude Desktop에 YouTube MCP 서버를 자동으로 설치하는 방법:

지엑스피1

수동 설치

npm install zubeid-youtube-mcp-server

구성

다음 환경 변수를 설정하세요.

  • YOUTUBE_API_KEY : YouTube 데이터 API 키

  • YOUTUBE_TRANSCRIPT_LANG : 대본의 기본 언어(선택 사항, 기본값은 'en')

MCP 클라이언트와 함께 사용

MCP 클라이언트 구성(예: Claude Desktop)에 다음을 추가합니다.

{
  "mcpServers": {
    "youtube": {
      "command": "npx",
      "args": ["-y", "zubeid-youtube-mcp-server"],
      "env": {
        "YOUTUBE_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

VS Code와 함께 사용

한 번의 클릭으로 설치하려면 아래 설치 버튼 중 하나를 클릭하세요.

VS Code에서 NPX로 설치 VS Code Insiders에서 NPX로 설치

수동 설치

수동 설치를 원하시면 먼저 이 섹션 상단의 설치 버튼을 확인하세요. 그렇지 않은 경우 다음 단계를 따르세요.

VS Code의 사용자 설정(JSON) 파일에 다음 JSON 블록을 추가합니다. Ctrl + Shift + P 를 누르고 Preferences: Open User Settings (JSON) 입력하면 됩니다.

{
  "mcp": {
    "inputs": [
      {
        "type": "promptString",
        "id": "apiKey",
        "description": "YouTube API Key",
        "password": true
      }
    ],
    "servers": {
      "youtube": {
        "command": "npx",
        "args": ["-y", "zubeid-youtube-mcp-server"],
        "env": {
          "YOUTUBE_API_KEY": "${input:apiKey}"
        }
      }
    }
  }
}

선택적으로 작업 공간의 .vscode/mcp.json 이라는 파일에 추가할 수 있습니다.

{
  "inputs": [
    {
      "type": "promptString",
      "id": "apiKey",
      "description": "YouTube API Key",
      "password": true
    }
  ],
  "servers": {
    "youtube": {
      "command": "npx",
      "args": ["-y", "zubeid-youtube-mcp-server"],
      "env": {
        "YOUTUBE_API_KEY": "${input:apiKey}"
      }
    }
  }
}

YouTube API 설정

  1. Google Cloud Console로 이동

  2. 새 프로젝트를 만들거나 기존 프로젝트를 선택하세요

  3. YouTube 데이터 API v3 활성화

  4. API 자격 증명(API 키) 생성

  5. 구성을 위해 API 키를 복사하세요

예시

비디오 관리

// Get video details
const video = await youtube.videos.getVideo({
  videoId: "video-id"
});

// Get video transcript
const transcript = await youtube.transcripts.getTranscript({
  videoId: "video-id",
  language: "en"
});

// Search videos
const searchResults = await youtube.videos.searchVideos({
  query: "search term",
  maxResults: 10
});

채널 관리

// Get channel details
const channel = await youtube.channels.getChannel({
  channelId: "channel-id"
});

// List channel videos
const videos = await youtube.channels.listVideos({
  channelId: "channel-id",
  maxResults: 50
});

재생 목록 관리

// Get playlist items
const playlistItems = await youtube.playlists.getPlaylistItems({
  playlistId: "playlist-id",
  maxResults: 50
});

// Get playlist details
const playlist = await youtube.playlists.getPlaylist({
  playlistId: "playlist-id"
});

개발

# Install dependencies
npm install

# Run tests
npm test

# Build
npm run build

# Lint
npm run lint

기여하다

이 저장소에 기여하는 방법에 대한 자세한 내용은 CONTRIBUTING.md를 참조하세요.

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

Available Tools

1 tool
videos_searchVideosC

Search for videos on YouTube

NameRequiredDescriptionDefault
orderNoSort order for results, such as relevance or date
queryYesSearch query
sortByNoOptional ranking mode such as relevance, indie_priority, subscribers_asc, subscribers_desc, or recent_activity
channelIdNoRestrict results to a specific channel ID
maxResultsNoMaximum number of results to return
creatorOnlyNoOnly include channels heuristically classified as creators
publishedAfterNoOnly include videos published after this ISO 8601 date
uniqueChannelsNoReturn only one matched video per unique channel
publishedBeforeNoOnly include videos published before this ISO 8601 date
channelMaxSubscribersNoMaximum subscriber count for the matched video channel
channelMinSubscribersNoMinimum subscriber count for the matched video channel
channelLastUploadAfterNoOnly include videos whose channel latest upload is after this ISO 8601 date
channelLastUploadBeforeNoOnly include videos whose channel latest upload is before this ISO 8601 date

TDQS

C2.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

There are no annotations, so the description must disclose behavioral traits. It only says 'Search for videos,' omitting any details about rate limits, pagination, return format, or side effects. This is insufficient for an agent to anticipate behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, which is too brief for a tool with 13 parameters. While concise, it is under-specified and does not earn its place; it should include more context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (13 parameters, no output schema), the description lacks completeness. It does not explain return values, default behaviors, or interaction effects between parameters, leaving the agent underinformed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, so the schema itself documents each parameter. The tool description adds no additional meaning beyond the schema, making the baseline score of 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific verb ('Search') and resource ('videos on YouTube'), making the tool's purpose immediately understandable. However, it lacks any differentiation from potential sibling tools (none provided) and is somewhat generic.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool, when not to use it, or any alternatives. With no sibling tools mentioned, the description could at least imply typical search scenarios, but it does not.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 7 tool updatesv1.0.2
    • Removedchannels_getChannel
    • Removedchannels_listVideos
    • Removedplaylists_getPlaylist
    • Removedplaylists_getPlaylistItems
    • Removedtranscripts_getTranscript
    • Removedvideos_getVideo
    • Changedvideos_searchVideos11 fields changed
      • addedInput schema / properties / channelId
        Added value: +{
        +  "description": "Restrict results to a specific channel ID",
        +  "type": "string"
        +}
      • addedInput schema / properties / channelLastUploadAfter
        Added value: +{
        +  "description": "Only include videos whose channel latest upload is after this ISO 8601 date",
        +  "type": "string"
        +}
      • addedInput schema / properties / channelLastUploadBefore
        Added value: +{
        +  "description": "Only include videos whose channel latest upload is before this ISO 8601 date",
        +  "type": "string"
        +}
      • addedInput schema / properties / channelMaxSubscribers
        Added value: +{
        +  "description": "Maximum subscriber count for the matched video channel",
        +  "type": "number"
        +}
      • addedInput schema / properties / channelMinSubscribers
        Added value: +{
        +  "description": "Minimum subscriber count for the matched video channel",
        +  "type": "number"
        +}
      • addedInput schema / properties / creatorOnly
        Added value: +{
        +  "description": "Only include channels heuristically classified as creators",
        +  "type": "boolean"
        +}
      • addedInput schema / properties / order
        Added value: +{
        +  "description": "Sort order for results, such as relevance or date",
        +  "type": "string"
        +}
      • addedInput schema / properties / publishedAfter
        Added value: +{
        +  "description": "Only include videos published after this ISO 8601 date",
        +  "type": "string"
        +}
      • addedInput schema / properties / publishedBefore
        Added value: +{
        +  "description": "Only include videos published before this ISO 8601 date",
        +  "type": "string"
        +}
      • addedInput schema / properties / sortBy
        Added value: +{
        +  "description": "Optional ranking mode such as relevance, indie_priority, subscribers_asc, subscribers_desc, or recent_activity",
        +  "type": "string"
        +}
      • addedInput schema / properties / uniqueChannels
        Added value: +{
        +  "description": "Return only one matched video per unique channel",
        +  "type": "boolean"
        +}
  2. 7 tool updatesv1.0.0
    • First observedchannels_getChannel
    • First observedchannels_listVideos
    • First observedplaylists_getPlaylist
    • First observedplaylists_getPlaylistItems
    • First observedtranscripts_getTranscript
    • First observedvideos_getVideo
    • First observedvideos_searchVideos

TDQS

C2.6/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of confusion or overlap between tools, so disambiguation is perfect.

Naming Consistency2/5

The single tool name 'videos_searchVideos' mixes camelCase and an awkward verb_noun structure ('videos' as prefix then 'searchVideos'), showing internal inconsistency and lack of a clear pattern.

Tool Count1/5

One tool is far too few for a YouTube MCP server, which typically requires multiple operations (search, video details, channel info, etc.), making the tool count extremely inadequate.

Completeness1/5

The tool only supports searching for videos, missing critical operations like retrieving video details, listing playlists, or managing subscriptions, leaving severe gaps in covering the YouTube domain.

Maintenance

ActivityInactive
ResponsivenessUnresponsive

Related MCP Connectors

Related MCP Servers