bibi-proxy
Provides tools for summarizing Bilibili videos and other video/audio content through BibiGPT, including chapter-based summaries, subtitle extraction, asynchronous long-video tasks, saved video library management, notes, collections, channel subscriptions, and feeds.
Provides tools for exporting content to Notion as part of the BibiGPT video summarization workflow.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bibi-proxysummarize this video https://www.bilibili.com/video/BV1GJ411x7h7"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
bibi-proxy
BibiGPT 视频总结本地 MCP 代理 · 多账号 API Key 轮询
A local MCP proxy for BibiGPT (AI video & audio summarizer). Clients configure only the proxy URL; the proxy injects BibiGPT API keys with round-robin rotation, retry-on-auth-error, and hot-reload.
Qwen Code / any MCP client ──> http://localhost:8788 (this proxy)
│ injects Authorization: Bearer <rotated key>
▼
https://bibigpt.co/api/mcp (BibiGPT remote MCP)功能特性 Features
🔑 多账号轮询:
keys.json数组里放任意数量的 BibiGPT API Key,每个请求轮换使用🔄 坏 Key 自动切换:认证失败(HTTP 401/403/429 或 JSON-RPC
UNAUTHORIZED)自动换下一个 Key 重试♻️ 热重载:修改
keys.json无需重启,fs.watch自动加载🔐 Key 不进客户端:客户端只连代理地址,不接触任何 Key;日志全程打码
🚀 32 个 MCP 工具:总结、分章节、字幕、异步长视频任务、个人库、笔记、合集、频道订阅、Feed、Notion 导出、思维导图、画面分析等
⚙️ 可作 Windows 服务:随附 NSSM 脚本,开机自启、崩溃自愈
Related MCP server: video-toolkit-mcp
目录结构 Project Structure
bibi-proxy/
├── src/index.ts # 代理源码(Node.js,零依赖,仅用 node:http)
├── package.json # npm 脚本:build / start / dev
├── tsconfig.json
├── keys.example.json # Key 配置模板(提交到仓库的占位符)
├── keys.json # 真实 Key(本地创建,已被 .gitignore 排除,勿提交)
├── setup-service.cmd # NSSM 服务安装脚本(可移植,自动探测 node/nssm)
├── nssm-2.24-101-g897c7ad/ # 随附的 NSSM 工具(win32/win64)
└── dist/ # 编译产物(npm run build 生成,已被忽略)快速开始 Quick Start(中文)
1. 环境要求
Node.js 18+(推荐 20+),
node在 PATH 中Windows / macOS / Linux 均可运行;Windows 服务化需要 Windows + NSSM(已随附)
BibiGPT API Key:登录 https://bibigpt.co/user/integration 获取(多个账号可多放几个)
2. 安装依赖并构建
npm install
npm run build3. 配置 API Key
copy keys.example.json keys.json编辑 keys.json,填入你的 Key:
[
"key_1",
"key_2",
"key_3"
]Key 数量不限;
keys.json已被.gitignore排除,不会误提交。
4. 启动代理
npm run start # 前台运行(开发调试用)启动后应看到:
[proxy] keys reloaded (3) reason=startup
bibi-proxy listening on http://localhost:8788
Upstream: https://bibigpt.co/api/mcp验证代理可用:
curl -s -X POST http://localhost:8788/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d "{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/list\"}"应返回 BibiGPT 的 MCP 工具列表 JSON(HTTP 200)。
5. 接入 Qwen Code
qwen mcp add bibigpt http://localhost:8788 --transport http然后在对话里直接说:
总结这个视频 https://www.bilibili.com/video/BV1xxxxxxxx其他 MCP 客户端(Claude Desktop、Cursor 等)配置示例:
{
"mcpServers": {
"bibigpt": {
"url": "http://localhost:8788",
"type": "http"
}
}
}安装为 Windows 服务(NSSM)
让代理开机自启、崩溃自动重启。需要管理员权限——请右键"以管理员身份运行"或在管理员终端中执行(会弹 UAC 由你确认)。
安装
setup-service.cmd脚本会自动:
用脚本所在目录定位项目根和随附的 NSSM(
nssm-2.24-101-g897c7ad\win64\nssm.exe)从 PATH 探测
node.exe若
dist缺失先自动npm run build注册服务
bibi-proxy(自动启动,异常退出自动重启,日志写入_service.log)启动服务
成功输出:SERVICE_INSTALLED_AND_STARTED
验证:
sc query bibi-proxy
netstat -ano | findstr :8788管理命令
net start bibi-proxy rem 启动
net stop bibi-proxy rem 停止
sc query bibi-proxy rem 查状态更新 Key:直接编辑
keys.json,服务内自动热重载,无需重启服务更新代码:
npm run build后net stop bibi-proxy && net start bibi-proxy
卸载
在项目目录执行:
nssm-2.24-101-g897c7ad\win64\nssm.exe remove bibi-proxy confirm使用示例 Usage
常用 MCP 工具
用户意图 | 工具 |
总结视频/音频 URL |
|
自定义 prompt/模型/语言总结 |
|
分章节总结 |
|
提取字幕/转写 |
|
长视频异步总结(>30 分钟) |
|
查账户/剩余额度 |
|
浏览/搜索已保存的视频 |
|
笔记、合集、频道、Feed、Notion 导出、思维导图等 | 详见 |
curl 调用总结
curl -s -X POST http://localhost:8788/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d "{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/call\",\"params\":{\"name\":\"summarize_video\",\"arguments\":{\"url\":\"https://www.bilibili.com/video/BV1xxxxxxxx/\"}}}"环境变量 Environment Variables
变量 | 默认值 | 说明 |
|
| 监听端口 |
|
| Key 文件路径 |
|
| 上游 MCP 地址 |
|
| 请求体大小上限(字节) |
|
| 错误响应体缓冲上限(字节) |
|
| JSON 响应缓冲上限(字节,用于认证错误检测) |
安全说明 Security
keys.json与*.log已被.gitignore排除,提交前请确认 Key 未入库代理注入
Authorization: Bearer <key>,忽略客户端自带认证头日志只记录 key 序号(
key #1/5),绝不输出明文 Key
常见问题 Troubleshooting
症状 | 原因 | 解决 |
启动报 |
| 按上文第 3 步创建并填写 |
调用返回 | 所有 Key 均无效或额度用尽 | 检查 Key 有效性: |
端口 8788 被占用 | 已有进程监听 |
|
改了 | — | 正常会自动热重载;日志应出现 |
服务注册失败 | 未以管理员运行 | 以管理员运行 |
English Quick Start
npm install && npm run build
copy keys.example.json keys.json # then fill in your BibiGPT API keys
npm run startConnect from Qwen Code:
qwen mcp add bibigpt http://localhost:8788 --transport httpInstall as a Windows service (elevated):
setup-service.cmdGet API keys at https://bibigpt.co/user/integration.
第三方组件 Third-party components
NSSM — bundled under
nssm-2.24-101-g897c7ad/for Windows service management (see its ownREADME.txt/ChangeLog.txtinside the folder).BibiGPT — remote MCP service being proxied; API docs: https://docs.bibigpt.co
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 Servers
- AlicenseAqualityAmaintenanceMCP server that fetches YouTube video transcripts and optionally summarizes them. Supports multiple transcript formats (text, JSON, SRT, WebVTT), multi-language retrieval, and flexible YouTube URL parsing.Last updated64MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that provides comprehensive video tools: transcript retrieval, video downloading, and automatic subtitle generation using AI speech-to-text. Works with YouTube, Bilibili, Vimeo, and any platform supported by yt-dlp.Last updated11MIT
- Flicense-qualityDmaintenanceAn all-in-one MCP server for transcription, supporting YouTube, audio, and video with translation, summarization, chapter generation, subtitle export, and batch processing via 19 tools.Last updated
- AlicenseAqualityAmaintenanceA local content summarization service that allows AI agents to fetch web pages, WeChat articles, and Bilibili videos, transcribe if needed, and generate Markdown summaries via MCP.Last updated162MIT
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
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/spherica233/bibi-proxy'
If you have feedback or need assistance with the MCP directory API, please join our Discord server