yt-mcp-server
mcp-framework を使用して構築されたモデル コンテキスト プロトコル (MCP) サーバー。
クイックスタート
プロジェクト構造
コンポーネントの追加
このプロジェクトにはsrc/tools/ExampleTool.ts
にサンプルツールが付属しています。CLIを使用してツールを追加することもできます。
ツール開発
ツール構造の例:
npmへの公開
package.json を更新します。
name
が一意であり、npm の命名規則に従っていることを確認してください。適切な
version
を設定するdescription
、author
、license
などを追加します。bin
が正しいエントリファイルを指しているか確認する
ローカルでビルドしてテストします。
npm run build npm link yt-mcp-server # Test your CLI locallynpm にログインします (必要に応じてアカウントを作成します)。
npm loginパッケージを公開します:
npm publish
公開後、ユーザーはそれをクロードデスクトップクライアント(下記参照)に追加したり、npxで実行したりすることができます。
公開後
この構成を Claude Desktop 構成ファイルに追加します。
MacOS : ~/Library/Application Support/Claude/claude_desktop_config.json
Windows : %APPDATA%/Claude/claude_desktop_config.json
構築とテスト
ツールに変更を加える
npm run build
を実行してコンパイルするサーバーは起動時にツールを自動的に読み込みます
もっと詳しく知る
local-only server
The server can only run on the client's local machine because it depends on local resources.
mcp フレームワーク上に構築され、Claude に YouTube と対話するためのツールを提供するモデル コンテキスト プロトコル サーバー。
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server for web research. Bring real-time info into Claude and easily research any topic.Last updated -3199280MIT License
- -securityAlicense-qualityAn MCP server that allows Claude and other AI assistants to interact with the YouTube API, providing tools to search videos/channels and retrieve detailed information about them.Last updated -71MIT License
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that enables Claude or other LLMs to fetch content from URLs, supporting HTML, JSON, text, and images with configurable request parameters.Last updated -32MIT License
- AsecurityFlicenseAqualityA customizable Model Context Protocol server built with mcp-framework that enables Claude to access external tools and capabilities through a standardized interface.Last updated -40