SM

sparfenyuk/mcp-youtube

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

21 stars 7 forks 品質 64 トレンド 0MIT

YouTubeのMCPサーバー

概要

サーバはYoutube API と AI アシスタントのブリッジで、モデルコンテキストプロトコルに基づいています。 Model Context Protocol(MCP)は、Claude DesktopのようなAIアプリを外部ツールやデータソースに接続できるシステムです。 AIアシスタントがローカルサービスやAPIと連携し、ユーザーをコントロールしながら安全に操作できる方法を提供します。 - [x] 指定されたビデオのクローズドキャプションをダウンロード 既にサーバーをインストールしている場合は、uv ツールのアップグレード --reinstall コマンドを使用して更新できます。 サーバーを削除したい場合は、uv ツールを使用して mcp-youtube コマンドをアンインストールします。 Claude Desktop の設定で、Youtube MCP サーバーを認識できます。 1。 Claudeデスクトップ設定ファイルを開きます: - MacOSで、設定ファイルは〜/ Library /アプリケーションサポート/ Claude / claude desktop config.json - Windowsで、設定ファイルは%APPDATA%\Claude\claude desktop config.jsonにあります。 claude desktop config もあります.

概要(AI 翻訳)

  • YouTube MCP サーバー
  • について
  • MCPとは?
  • このサーバーは何をしますか?
  • 実用的なユースケース
  • 前提条件
  • インストール
  • 構成
  • クロードデスクトップ構成
  • 開発
  • はじめる
  • インスペクター内のサーバーをデバッグする
  • トラブルシューティング
  • メッセージ「MCPサーバーmcp-youtubeに接続しない」

について

サーバはYoutube API と AI アシスタントのブリッジで、モデルコンテキストプロトコルに基づいています。

MCPとは?

Model Context Protocol(MCP)は、Claude DesktopのようなAIアプリを外部ツールやデータソースに接続できるシステムです。 AIアシスタントがローカルサービスやAPIと連携し、ユーザーをコントロールしながら安全に操作できる方法を提供します。

このサーバーは何をしますか?

  • [x] 指定されたビデオのクローズドキャプションをダウンロード

実用的なユースケース

  • [x] 動画のまとめを作成する

前提条件

  • [uv ツール

インストール

[!NOTE] サーバーを既にインストールしている場合は、[uv tool upgrade --reinstall]コマンドで更新できます。

[!NOTE] サーバーを削除したい場合は、[uv tool uninstall mcp-youtube]コマンドを使用します。

設定

##Claudeデスクトップの設定

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Youtube MCP server

About

The server is a bridge between the Youtube API and the AI assistants and is based on the Model Context Protocol.

What is MCP?

The Model Context Protocol (MCP) is a system that lets AI apps, like Claude Desktop, connect to external tools and data sources. It gives a clear and safe way for AI assistants to work with local services and APIs while keeping the user in control.

What does this server do?

  • [x] Download closed captions for the given video

Practical use cases

  • [x] Create a summary of the video

Prerequisites

Installation

uv tool install git+https://github.com/sparfenyuk/mcp-youtube

[!NOTE] If you have already installed the server, you can update it using uv tool upgrade --reinstall command.

[!NOTE] If you want to delete the server, use the uv tool uninstall mcp-youtube command.

Configuration

Claude Desktop Configuration

Configure Claude Desktop to recognize the Youtube MCP server.

  1. Open the Claude Desktop configuration file:

    • in MacOS, the configuration file is located at ~/Library/Application Support/Claude/claude_desktop_config.json
    • in Windows, the configuration file is located at %APPDATA%\Claude\claude_desktop_config.json

    Note: You can also find claude_desktop_config.json inside the settings of Claude Desktop app

  2. Add the server configuration

    {
      "mcpServers": {
        "mcp-youtube": {
            "command": "mcp-youtube",
          }
        }
      }
    }
    

Development

Getting started

  1. Clone the repository

  2. Install the dependencies

    uv sync
    
  3. Run the server

    uv run mcp-youtube --help
    

Tools can be added to the src/mcp_youtube/tools.py file.

How to add a new tool:

  1. Create a new class that inherits from ToolArgs

    class NewTool(ToolArgs):
        """Description of the new tool."""
        pass
    
GitHub で README 全文を見る

インストール

npx @modelcontextprotocol/inspector uv run mcp-youtube
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "mcp-youtube": { "command": "mcp-youtube", } } } }