bilibili-video-reader-mcp
Bilibili Video Reader v2.1
Skill + ステートレスMCPサーバーとして構築された読み取り専用のChatGPT/Codexプラグインで、現在はCloudflare Workersをターゲットにしているため、Renderやクレジットカードなしで実行できます。
MCPツール
get_bilibili_video_parts(url)— タイトル、作者、説明、すべてのP番号とCID。get_bilibili_part_transcript(url, part, language, max_chars)— 公式/AI字幕トラックと、1つのPに対するタイムスタンプ付きトランスクリプト。
WorkerはBilibiliのメタデータ/プレイヤー/字幕エンドポイントを直接呼び出します。字幕モードでは動画のダウンロードは不要です。
Cloudflare Workersへのデプロイ
ダッシュボードでの手順
Cloudflareアカウントを作成/サインインします。
Workers & Pages → Create → Import a repository を開きます(表記は多少異なる場合があります)。
GitHubを接続し、
limuzi23/bilibili-video-reader-mcpを選択します。リポジトリのルートをルートディレクトリのままにします。
Cloudflareが
wrangler.jsoncを自動的に検出します。デフォルトのデプロイコマンドを使用します:
npx wrangler deploy。デプロイします。
Worker名は wrangler.jsonc と一致するため、bilibili-video-reader-mcp のままにする必要があります。
デプロイ後、Cloudflareから次のようなURLが提供されます:
https://bilibili-video-reader-mcp.<your-subdomain>.workers.devヘルスチェック:
https://bilibili-video-reader-mcp.<your-subdomain>.workers.dev/healthMCPエンドポイント:
https://bilibili-video-reader-mcp.<your-subdomain>.workers.dev/mcp公開字幕の場合、ランタイムシークレットは不要です。
オプションのプライベートログイン状態
字幕がログイン中にのみ表示される場合、Workerは BILI_COOKIE という名前のオプションのCloudflareシークレットを読み取ることができます。これはCloudflareの暗号化された Variables and Secrets UI内でのみ設定してください。生のCookieをChatGPTに貼り付けたり、GitHubにコミットしたりしないでください。
ChatGPTへの接続
ChatGPT → Settings → Security and login → Developer mode を有効にします。
Pluginsを開き、
+を押して、/mcpで終わるデプロイ済みURLを登録します。作成した接続から技術IDをコピーします。
plugin_asdk_app_で始まります。プラグインパッケージングフローでアプリ参照が必要な場合は、
python scripts/configure_plugin.py plugin_asdk_app_YOUR_IDを実行します。
OpenAIプラグインマニフェストは .codex-plugin/plugin.json にあり、ワークフロースキルは skills/bilibili-video-reader/ にあります。
ローカル開発
npm install
npm run dev必要に応じてローカルターミナルからデプロイ:
npm run deployエンドポイント:
GET /health
MCP /mcpアーキテクチャ
現在の本番パスは次のとおりです:
ChatGPT Skill
↓
Cloudflare Workers /mcp
↓
Bilibili metadata/player/subtitle APIs
↓
structured multi-P metadata + timestamped subtitles古い server/ Python実装は、リポジトリ内に参照用/レガシー実装としてのみ残っています。Cloudflareはこれを使用しません。
現在のスコープ
v2.1は マルチPメタデータ + 公式/AI字幕 に焦点を当てています。音声/動画のダウンロード、Whisper ASRの実行、動画フレームからのソースコードのOCRはまだ行いません。これらは、この字幕パスがエンドツーエンドで検証された後にのみ計画されています。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Fetch transcripts, subtitles, chapters, metadata and frames from YouTube and 10+ video platforms
MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.
MCP server for Hailuo (MiniMax) AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/limuzi23/bilibili-video-reader-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server