impeccable
The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.
Bilibili MCP tool for video metadata, transcripts, subtitles, and comment summarization
Skills that teach the AI this kind of work; they work alongside this one
The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.
Editorial diagram design for Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, and Pi. 45 diagram types. Self-contained HTML + SVG. No shadows. No Mermaid slop.
Create beautiful slides on the web using a coding agent's frontend skills
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 27/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 39/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install Bilibili MCP Server. Follow https://mcp.popnx.com/i/xzxzzx-ai-bilibili-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 20, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Bilibili MCP Server for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "bilibili": { "command": "npx", "args": [ "-y", "@xzxzzx/bilibili-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Bilibili MCP Server tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
SettingsDeveloperEdit Config
{
"mcpServers": {
"bilibili": {
"command": "npx",
"args": [
"-y",
"@xzxzzx/bilibili-mcp"
]
}
}
}Use Bilibili MCP Server and tell me what you can do for me, then show me one thing✓ If Claude says it is using Bilibili MCP Server or shows a Bilibili MCP Server tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Bilibili MCP Server yet
Bilibili MCP Server runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect Bilibili MCP Server
B · Others in Design, images & audio that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
Install Node.js on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Bilibili MCP Server for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user bilibili -- npx -y @xzxzzx/bilibili-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Bilibili MCP Server tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user bilibili -- npx -y @xzxzzx/bilibili-mcpYou should see Bilibili MCP Server listed as connected
Use Bilibili MCP Server and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Bilibili MCP Server or shows a Bilibili MCP Server tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
Install Node.js on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Bilibili MCP Server for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "bilibili": { "command": "npx", "args": [ "-y", "@xzxzzx/bilibili-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Bilibili MCP Server tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Use Bilibili MCP Server and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Bilibili MCP Server or shows a Bilibili MCP Server tool in the answer, you are connected
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
Install Node.js on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Bilibili MCP Server for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "bilibili": { "type": "stdio", "command": "npx", "args": [ "-y", "@xzxzzx/bilibili-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Bilibili MCP Server tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Use Bilibili MCP Server and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Bilibili MCP Server or shows a Bilibili MCP Server tool in the answer, you are connected
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user bilibili -- npx -y @xzxzzx/bilibili-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"bilibili": {
"command": "npx",
"args": [
"-y",
"@xzxzzx/bilibili-mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"bilibili": {
"command": "npx",
"args": [
"-y",
"@xzxzzx/bilibili-mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"bilibili": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@xzxzzx/bilibili-mcp"
]
}
}
}These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026
The registry name was verified with the GitHub account XZXZZX-Ai, which owns the repo
Code last changed yesterday
Uses Apache-2.0
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for @xzxzzx/bilibili-mcp@1.14.5
Checks only this package version, not every dependency · checked Nov 15, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/xzxzzx-ai-bilibili-mcp)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed yesterday, and the latest version (1.14.5) reached the registry 25 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: HyperFrames by HeyGen, Pascal 3D Editor, draw.io, Figma MCP Server, Remocn: Remotion MCP server
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Official HyperFrames by HeyGen: the best AI video editor in chat. Captions, motion graphics, MP4.
Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.
Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.
Figma’s official server gives AI your design data so it can turn designs into code or describe them accurately. Connects to Figma’s cloud.
Hosted MCP for Remotion videos: search Remocn components, read docs, plan a video, preview it.
| This one Bilibili MCP Server | HyperFrames by HeyGen | Pascal 3D Editor | draw.io | Figma MCP Server | Remocn: Remotion MCP server | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Cloud or install on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | No | No | No | No | No | No |
| Add with + in Claude | No | Yes | No | No | Yes | No |
| Basic checks | 3/3 | 4/4 | 5/5 | 4/4 | 4/4 | 4/4 |
| License | Apache-2.0 | Apache-2.0 | MIT | Apache-2.0 | – | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Bilibili MCP 是一个本地 MCP server,让 AI Agent 读取 Bilibili 内容。你可以读取字幕与评论、按主题搜索视频、按名称或关键词查找并了解 UP 主,也可以遍历自己账号的收藏夹。即使视频没有字幕,通过 setup 安装本地 ASR 模型后也能读到它的文字内容。
English · 客户端配置指南 · 工具参考 · 本地 ASR(可选) · 更新日志 · 最新 Release
搜索候选 → 本地 MCP → 字幕定位 · 章节 · 评论 · 收藏夹
setup 时选择下载 ASR 模型,详见本地 ASR(可选)。把以下提示词完整复制给 Agent:它会完成自己擅长的事(确认客户端、写入 server 配置、检查登录状态),所有涉及 Cookie 的环节都会暂停,交由你本人在本地终端完成。
请帮我安装 Bilibili MCP server:@xzxzzx/bilibili-mcp。
前置条件:Node.js 20+
不想用 Agent 辅助时,按下面四步完成同样的流程:
node --version 和 npx --version,确保 Node.js 为 v20 或更高版本。command 设为 npx,args 设为 -y, @xzxzzx/bilibili-mcp@latest。具体操作见客户端配置指南。npx -y @xzxzzx/bilibili-mcp@latest setup 配置凭证,再运行 npx -y @xzxzzx/bilibili-mcp@latest check 确认凭证已加载。npx -y @xzxzzx/bilibili-mcp@latest doctor --json 可获取不含秘密的本机配置状态。输入不回显,Cookie 只进入本地隐藏提示符,不要粘贴到 Agent 聊天或客户端配置里。凭证字段怎么找:见从浏览器获取凭证字段。setup 还会询问是否安装可选的本地 ASR 模型(默认否),见本地 ASR(可选)。
check_bilibili_credentials 确认 configured: true 且 logged_in: true。doctor --json 只检查本机状态,不能代替这一步的实时登录验证。验证成功后,再让 Agent 调用一次 search_bilibili_videos(任选主题),能返回视频列表即安装完成。凭证保存在 ~/.bilibili-mcp/config.json(Windows:%USERPROFILE%\.bilibili-mcp\config.json),不保证操作系统级加密。登录失败时的排查路径见客户端配置指南。
运行 setup 后,按回车选择扫码登录,用手机 B站 App 扫描终端里的二维码,再在手机上确认即可。无需从浏览器复制 Cookie,更简单方便。
无法扫码? 二维码显示异常(块字符破碎、空心方框)时,Windows 传统控制台的处理见客户端配置指南。也可以在登录方式菜单选择“手动 Cookie”,按照手动 Cookie 配置教程获取凭证并在本地终端输入。
读取 BV1Eb411u7Fw 的字幕,带时间戳返回;
再获取这个视频最热门的评论和回复。
Agent 返回带时间戳的字幕文本,以及热门评论与回复;含时间戳的评论会被优先保留。
搜索 B 站上关于"离散数学"的视频,按 B 站综合排序列出 5 个候选,
包含标题、UP 主、时长和 BVID;先不要读取字幕。
Agent 返回 5 个候选,各带标题、UP 主、时长和 BVID。选中候选后,把 BVID 直接交给转录、元数据、章节或评论工具。
搜索“毕导THU”,列出 UP 主候选,等我确认正确账号后,
先查看他的主页概况,再分别查看最新视频、合集、系列和动态。 根据已经返回的内容概括主要创作方向,并推荐几条适合继续了解的视频; 先不要翻完所有页面,也不要读取字幕、评论或识别动态图片。
Agent 会先让你确认正确的 UP 主,再分批读取不同类型的内容。需要查看更多时,它会继续翻页;选中的视频还可以交给字幕、元数据、章节或评论工具深入查看。
读取 BV1Eb411u7Fw 的 P4 字幕,搜索"函数",
返回命中上下文、时间点和可以直接打开的 B 站链接。
每条命中附带原文上下文、时间点和可直达的 B 站时刻链接。
[!NOTE]
已验证的验收链路:搜索视频 → 选择
BV1Eb411u7Fw的 P4 → 在字幕中搜索函数→ 返回上下文与可直达的?p=4&t=1.12证据链接。Bilibili 可能移除或变更该示例视频。
遍历我当前登录账号创建且 Bilibili 当前可见的全部收藏夹。持续跟随
next_cursor 直到结束;按收藏夹列出成功读取的视频标题和 B 站视频 ID(BVID), 并报告 skipped_count。
每次 MCP 调用最多读取一个 20 条的上游页面;Agent 使用返回的 next_cursor 继续调用,直到该字段不再出现。最终按收藏夹输出成功读取的标题与 BVID 列表,以及被跳过的条目计数。
这个视频没有字幕。请调用 get_video_transcript 并把 fallback_to_asr 设为 true,
用本地 ASR 转录当前这一 P,返回带时间戳的文本。
前提是已经通过 setup 安装了模型且 doctor --json 报告 asr.status: ready,否则会返回 ASR_NOT_READY 并附带安装指引。原生字幕始终优先:只有确认没有可用字幕时才会启动一次本地转录,结果返回 data_source: "asr",并复用与字幕相同的时间戳、区间过滤、关键词搜索和时刻链接。详见本地 ASR。
Bilibili 会把部分视频的 AI 识别字幕标为 ai-zh、ai-en、ai-ja 等 ai-* 语言。为避免与人工字幕混淆,选中任意 ai-* 字幕时,get_video_transcript 与 get_video_info 的结果返回 data_source: "ai_subtitle"(不是 "subtitle";本地 ASR 仍是 "asr")。
ai_subtitle 是 Bilibili 的 AI 转录,可能不准确,不能当作人工校验过的引用。exclude_ai_subtitles: true(两个工具都有,默认 false):过滤全部 AI 字幕(ai-zh、ai-en 等),优先返回剩余的人工字幕;仅剩 AI 字幕时视为无字幕,get_video_transcript 可配合 fallback_to_asr / fallback_to_description,get_video_info 返回简介。force_asr: true(仅 get_video_transcript,默认 false):绕过字幕元数据与内容选择,直接用本地 ASR 转录当前这一 P;无需同时开启 fallback_to_asr,且优先于 exclude_ai_subtitles。ai-* 都会无条件双读并做确定性完整性评估,通过后才返回正文:跨读取稳定性(两次读取的正文不一致即不可用,适用于所有 ai-*)、语言(仅针对 ai-zh:≥80 Unicode 字母且 Han 占比 <10% 视为不匹配;其他 ai-* 语言不因非中文正文被拒绝);不通过时 fallback_to_asr: true 调用本地 ASR,否则遵循 fallback_to_description;video-info 返回简介且不缓存。同语言但语义不符(稳定却离题的正文)是已接受的限制,可用 force_asr 或 exclude_ai_subtitles 控制;人工字幕保持单读,第二次读取的传输、超时、认证或解析失败照常作为错误返回。有些视频没有任何字幕。安装本地 ASR 模型后,get_video_transcript 可以在你显式开启 fallback_to_asr 时,对已解析的这一 P 做一次本地转录。
安装:凭证配置完成后,setup 会询问是否安装本地 ASR 模型(默认否 [y/N],需要 Python 3.9+)。可选模型:
| 模型 | 大小 | 说明 |
|---|---|---|
| tiny | ~78 MB | 速度优先:适合快速提取和长视频初筛;准确率相对较低 |
| base | ~148 MB | 均衡:兼顾速度、质量和资源占用 |
| small | ~486 MB | 质量优先:耗时和内存占用更高;推荐,Enter 默认选中 |
Runtime 固定为 faster-whisper==1.2.1 与 ctranslate2==4.8.0,模型存放在用户目录 ~/.bilibili-mcp/asr/,不需要系统 FFmpeg;同一目录仅保留一个活跃模型。选择模型后还需选择设备偏好:auto(默认)先用程序生成的固定短 WAV 完整验证 cuda/float16,失败时说明脱敏原因并验证、保存 cpu/int8;cpu 跳过 GPU;cuda 验证失败则报错且不回退。doctor --json 会报告实际生效的 device、compute_type、readiness 与脱敏失败类别。
项目不会安装或修改 NVIDIA 驱动、CUDA、cuBLAS、cuDNN、系统 PATH、LD_LIBRARY_PATH 或全局 Python。GPU 验证失败后,你可以继续使用已经验证的 CPU,也可以自行修复 GPU 环境后重新运行 setup;每次重新运行都会再次验证设备。
从旧版本升级:已有 v1 ASR 安装无需重新下载模型。升级后的第一次明确 ASR 请求会自动验证 GPU/CPU,并在验证成功后继续完成本次转录;成功后会保存新状态,后续请求不再重复探测。若迁移失败或被取消,原状态保持待迁移,可在修复环境后重新运行 setup 重试。
边界:本地转录始终被约束在安全范围内——显式选择、资源受限、Cookie 隔离:
ai-* 都会先无条件双读评估,不通过时与无字幕一样构成确认缺失(默认返回简介或 SUBTITLE_UNAVAILABLE);只有在这种确认缺失状态、且你显式传了 fallback_to_asr: true 时才启动转录。force_asr: true 是显式授权直接转录当前这一 P,与是否存在字幕无关,无需同时开启 fallback_to_asr。setup 安装。ASR_NOT_READY、ASR_FAKE_IP_DNS、ASR_BUSY、ASR_TRANSCRIPTION_TIMEOUT 等错误码的完整语义和安全处理方式见工具参考;遇到 Fake-IP 诊断时,不需要关闭整个代理。
| 目标 | 工具 |
|---|---|
| 只有主题,还没有视频链接 | search_bilibili_videos |
| 知道名称或关键词,想找 UP 主候选(稳定 mid) | search_bilibili_creators |
| 从选定 UP 主(mid)读取概览、视频目录、合集、系列或动态 | get_bilibili_creator_content |
| 从我的收藏夹开始读取 | list_bilibili_favorite_videos |
| 快速获取字幕优先的视频上下文 | get_video_info |
| 完整转录、关键词定位,或无字幕时本地 ASR | get_video_transcript |
| 查看标题、作者、播放量等结构化信息 | get_video_metadata |
| 查看观众反馈和评论回复 | get_video_comments |
| 查看视频章节/进度条分段 | get_video_chapters |
| 引导用户配置 Cookie | get_credential_setup_instructions |
| 检查 Cookie 是否已配置且已登录 | check_bilibili_credentials |
| 检查 MCP 包是否需要更新 | check_mcp_update |
完整参数、JSON 示例和错误语义见工具参考。
next_cursor。遍历是实时 best-effort,不是快照。skipped_count,不会为该页拉取替代条目。ai-* 默认都会双读,完整性不通过时即使未开启 ASR 也会降级为简介或 SUBTITLE_UNAVAILABLE;本地转录只会在确认无字幕并显式开启 fallback_to_asr,或设置 force_asr 时运行一次,且需要本机已有 ready 模型。ai-zh 等任意 ai-* 语言)时 data_source 为 ai_subtitle;它是 Bilibili 的 AI 转录,可能不准确,不能当作人工校验过的引用。需要纯人工字幕时使用 exclude_ai_subtitles: true。get_video_transcript 默认在无字幕时返回 SUBTITLE_UNAVAILABLE;描述降级(fallback_to_description)与关键词搜索、时间戳输出和时段过滤互斥。setup 在本地终端交互式输入,保存在本机全局配置中,不会写入项目或 MCP 客户端配置文件。SESSDATA、bili_jct、DedeUserID 或完整 Cookie。git clone https://github.com/XZXZZX-Ai/bilibili-mcp.git
cd bilibili-mcp npm install npm run build npm test
| 命令 | 用途 |
|---|---|
npm run build | 清理并编译 TypeScript 到 dist/ |
npm test | 运行 Vitest 测试 |
npm run watch | 监听 TypeScript 变更 |
npm start | 启动已构建的 stdio MCP server |
npm pack --dry-run | 检查 npm 发布包内容 |
MCP stdio 协议数据使用 stdout;调试日志必须写到 stderr。测试和日志中不要使用真实 Cookie。
遇到问题或有功能建议,请提交 GitHub Issue;一般讨论可前往 GitHub Discussions。
本项目基于 Apache License 2.0 开源。