Skip to main content
Glama

YouTube Watch Later MCP Server

by rados10

YouTube 나중에 시청 MCP 서버

사용자 지정 YouTube 재생목록에 대한 액세스를 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버는 지정된 기간 내에 지정된 재생목록에 추가된 동영상의 URL을 검색하는 간단한 도구를 제공합니다.

특징

  • 구성 가능한 일수 내에 사용자 지정 재생 목록에 추가된 비디오의 URL을 가져옵니다.
  • 비디오 URL만 반환하는 간단한 인터페이스
  • YouTube 데이터에 대한 보안 액세스를 위한 OAuth2 인증

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 YouTube Watch Later를 자동으로 설치하려면 다음을 수행합니다.

지엑스피1

수동 설치

  1. 이 저장소를 복제하세요:
git clone https://github.com/rados10/youtube-watchlater-mcp.git cd youtube-watchlater
  1. 종속성 설치:
npm install
  1. 프로젝트를 빌드하세요:
npm run build

설정

1. Google Cloud 프로젝트 생성

  1. Google Cloud Console 로 이동
  2. 새 프로젝트를 만들거나 기존 프로젝트를 선택하세요
  3. YouTube 데이터 API v3 활성화
  4. 자격 증명 → 자격 증명 만들기 → OAuth 2.0 클라이언트 ID로 이동하세요.
  5. 애플리케이션 유형을 "웹 애플리케이션"으로 설정합니다.
  6. 승인된 리디렉션 URI에 " http://localhost:3000/oauth2callback "을 추가합니다.
  7. 클라이언트 ID와 클라이언트 비밀번호를 복사하세요

2. 새로고침 토큰 받기

제공된 스크립트를 Google Cloud 자격 증명으로 실행하세요.

OAUTH_CLIENT_ID="your_client_id" OAUTH_CLIENT_SECRET="your_client_secret" node get-refresh-token.js

스크립트는 다음을 수행합니다.

  • 기본 브라우저를 열어 Google 인증 페이지로 이동하세요.
  • 로그인하고 애플리케이션을 승인하도록 요청합니다.
  • 터미널에 새로 고침 토큰 표시

3. MCP 설정 구성

MCP 설정 파일에 서버 구성을 추가합니다.

VSCode(Claude Dev Extension)의 경우: ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Claude 데스크톱 앱의 경우: ~/Library/Application Support/Claude/claude_desktop_config.json

{ "mcpServers": { "youtube-watchlater": { "command": "node", "args": ["/path/to/youtube-watchlater/build/index.js"], "env": { "OAUTH_CLIENT_ID": "your_client_id", "OAUTH_CLIENT_SECRET": "your_client_secret", "OAUTH_REFRESH_TOKEN": "your_refresh_token" } } } }

용법

서버는 선택적 daysBack 매개변수를 허용하는 단일 도구 get_watch_later_urls 제공합니다.

// Get videos added in the last day (default) { "daysBack": 1 } // Get videos added in the last week { "daysBack": 7 }

서버는 일치하는 비디오에 대한 YouTube URL 배열을 반환합니다.

[ "https://youtube.com/watch?v=video1", "https://youtube.com/watch?v=video2", ... ]

토큰 새로 고침

새로 고침 토큰은 명시적으로 액세스를 취소하지 않는 한 만료되지 않습니다. 다음과 같은 경우에만 새 토큰을 받아야 합니다.

  • Google 계정 설정에서 애플리케이션 액세스 권한을 취소하세요.
  • Google 계정의 보안 설정을 재설정하세요
  • 다른 이유로 인해 토큰이 무효화됩니다.

새로운 새로 고침 토큰을 받으려면 설정 섹션에 설명된 대로 get-refresh-token.js 스크립트를 다시 실행하기만 하면 됩니다.

개발

서버는 다음으로 구성되었습니다.

  • 타입스크립트
  • @modelcontextprotocol/sdk
  • googleapis(YouTube 데이터 API v3)

서버를 수정하려면:

  1. src/index.ts 에서 변경하세요.
  2. npm run build 실행하여 컴파일합니다.
  3. 변경 사항을 적용하려면 MCP 서버를 다시 시작하세요.
-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

OAuth2 인증을 사용하는 간단한 인터페이스를 통해 지정된 기간 내에 추가된 비디오 URL을 검색하여 YouTube 나중에 볼 동영상 재생 목록에 안전하게 액세스할 수 있습니다.

  1. 특징
    1. 설치
      1. Smithery를 통해 설치
      2. 수동 설치
    2. 설정
      1. Google Cloud 프로젝트 생성
      2. 새로고침 토큰 받기
      3. MCP 설정 구성
    3. 용법
      1. 토큰 새로 고침
        1. 개발

          Related MCP Servers

          • A
            security
            F
            license
            A
            quality
            Enables interaction with the Twitch API, allowing users to retrieve comprehensive information about channels, streams, games, and more, with additional support for searching and accessing chat elements like emotes and badges.
            Last updated -
            14
            9
            1
            TypeScript
            • Apple
            • Linux
          • -
            security
            -
            license
            -
            quality
            A Model Context Protocol server that enables access to YouTube video content through transcripts, translations, summaries, and subtitle generation in various languages.
            Last updated -
            Python
            MIT License
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that analyzes YouTube videos, enabling users to extract transcripts, generate summaries, and query video content using Gemini AI.
            Last updated -
            7
            Python
            • Linux
            • Apple
          • -
            security
            -
            license
            -
            quality
            A Model Context Protocol server that enables searching YouTube videos, retrieving and storing transcripts, and performing semantic search over video content without using the official YouTube API.
            Last updated -
            1
            Python
            MIT License

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/rados10/youtube-watchlater-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server