DeepSRT MCP サーバー
DeepSRT の API との統合を通じて YouTube ビデオ要約機能を提供するモデル コンテキスト プロトコル (MCP) サーバー。
特徴
YouTube動画の要約を生成する
物語形式と箇条書き形式の要約モードの両方をサポート
多言語サポート(デフォルト:zh-tw)
MCP対応環境とのシームレスな統合
Related MCP server: YT Transcripter Multilingual MCP
仕組み
コンテンツキャッシュ
コンテンツがサービスにキャッシュされていることを確認するために、ビデオはまずDeepSRT経由で開く必要があります。
この最初の閲覧により、DeepSRTサービスのキャッシュプロセスが開始されます。
MCPサマリー検索
MCPを通じて要約をリクエストすると、コンテンツはDeepSRTのCDNエッジロケーションから提供されます。
これにより、要約を迅速かつ効率的に配信できます。
事前キャッシュされたコンテンツ
一部のビデオは、以前のユーザーリクエストからすでにシステムにキャッシュされている可能性があります。
事前にキャッシュされた動画の要約を取得できる場合もありますが、利用可能かどうかは保証されません。
最良の結果を得るには、まずDeepSRTで動画を開いてください。
%%{init: {'theme': 'dark', 'themeVariables': { 'primaryColor': '#2496ED', 'secondaryColor': '#38B2AC', 'tertiaryColor': '#1F2937', 'mainBkg': '#111827', 'textColor': '#E5E7EB', 'lineColor': '#4B5563', 'noteTextColor': '#E5E7EB'}}}%%
sequenceDiagram
participant User
participant DeepSRT
participant Cache as DeepSRT Cache/CDN
participant MCP as MCP Client
Note over User,MCP: Step 1: Initial Caching
User->>DeepSRT: Open video through DeepSRT
DeepSRT->>Cache: Process and cache content
Cache-->>DeepSRT: Confirm cache storage
DeepSRT-->>User: Display video/content
Note over User,MCP: Step 2: MCP Summary Retrieval
MCP->>Cache: Request summary via MCP
Cache-->>MCP: Return cached summary from edge location
Note over User,MCP: Alternative: Pre-cached Content
rect rgba(31, 41, 55, 0.6)
MCP->>Cache: Request summary for pre-cached video
alt Content exists in cache
Cache-->>MCP: Return cached summary
else Content not cached
Cache-->>MCP: Cache miss
end
endインストール
Claude Desktop へのインストール
まず、サーバーを構築します。
npm install
npm run buildClaude Desktop 構成ファイルにサーバー構成を追加します。
macOSの場合:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows の場合:
%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"deepsrt-mcp": {
"command": "node",
"args": [
"/path/to/deepsrt-mcp/build/index.js"
]
}
}
}Cline のインストール
チャットでClineにインストールを依頼するだけです:
「ねえ、この MCP サーバーをhttps://github.com/DeepSRT/deepsrt-mcpからインストールしてください」
Cline はdeepsrt-mcpを自動的にインストールし、 cline_mcp_settings.jsonを更新します。
使用法
サーバーは次のツールを提供します。
要約を取得する
YouTube ビデオの概要を取得します。
パラメータ:
videoId(必須): YouTube 動画 IDlang(オプション): 言語コード (例: zh-tw) - デフォルトは zh-twmode(オプション):要約モード(「narrative」または「bullet」) - デフォルトはnarrative
使用例
Claude Desktop の使用:
// The MCP tool will fetch the video summary
const result = await mcp.use_tool("deepsrt-mcp", "get_summary", {
videoId: "dQw4w9WgXcQ",
lang: "zh-tw",
mode: "narrative"
});Cline の使用:
const result = await mcp.use_tool("deepsrt", "get_summary", {
videoId: "dQw4w9WgXcQ",
lang: "zh-tw",
mode: "bullet"
});発達
依存関係をインストールします:
npm install開発サーバーを起動します:
npm run dev生産用にビルド:
npm run buildデモ
よくある質問
Q: 404エラーが発生しますが、なぜでしょうか?
A: これは、ビデオの概要が CDN エッジ ロケーションにキャッシュされていないためです。MCP を使用して概要を取得する前に、DeepSRT Chrome 拡張機能を使用してこのビデオを開き、CDN ネットワークにキャッシュする必要があります。
次のようにcURLを使用してキャッシュの状態を確認できます。
curl -s 'https://worker.deepsrt.com/transcript' \
-i --data '{"arg":"v=VafNvIcOs5w","action":"summarize","lang":"zh-tw","mode":"narrative"}' | grep -i "^cache-status"
cache-status: HITcache-status: HITと表示される場合、コンテンツは CDN エッジ ロケーションにキャッシュされており、MCP サーバーは404取得しません。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Latest Blog Posts
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/DeepSRT/deepsrt-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
