bilibili
Provides tools for interacting with Bilibili, including reading video information, search results, official subtitles, comments, trusted private messages, live room details, and recent danmaku; it also supports QR-code login and approval-gated posting of comments, private messages, and live danmaku.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
支持能力
Related MCP server: bilibili-mcp
快速开始
需要 Node.js 22.18+、24.11+ 或 26+。
包 | 用途 |
在 TypeScript / JavaScript 程序中使用 SDK | |
在终端或脚本中调用,管理登录和操作确认 | |
接入支持 stdio MCP 的 AI 助手 |
命令行
查看可用命令,再试着读取视频信息:
npx --yes @bili-agent-kit/cli@latest help
npx --yes @bili-agent-kit/cli@latest video '{"bvid":"BV1xx411c7mD"}'扫码登录
npx --yes @bili-agent-kit/cli@latest auth.login
npx --yes @bili-agent-kit/cli@latest auth.status用哔哩哔哩 App 扫码并在手机上确认。
接入 MCP
把下面的配置加入 AI 助手:
{
"mcpServers": {
"bilibili": {
"command": "npx",
"args": ["--yes", "@bili-agent-kit/mcp@latest"]
}
}
}接入后,对助手说“登录 B 站”,用哔哩哔哩 App 扫码确认即可。
使用 SDK
在自己的项目中安装 SDK:
npm install @bili-agent-kit/core读取视频信息:
import { loadKit } from "@bili-agent-kit/core";
const kit = await loadKit();
const video = await kit.reads.video({ bvid: "BV1xx411c7mD" });
console.log(video.title);许可
使用 MIT License,第三方组件说明见 NOTICE。本项目与 Bilibili 官方无关联。
赞助
如果这个项目对你有帮助,欢迎通过微信或支付宝支持后续开发。

相关项目
codex-bili-dragon:在官方 Codex 客户端中运行的 B 站小白龙,按兴趣探索视频、写日记和处理消息。
dsh-bili-whale-dashboard:给 DSH 原版养鱼插件配套的管理后台,用来查看日记、审核回复和调整人设。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read, summarize and send your own WhatsApp messages from AI assistants (OAuth 2.1).
Your personal Telegram account for AI: read, search and sum up chats. QR login, no API key.
Connect AI assistants to your approved computer for files, commands, browser and desktop tasks.
Amazon Ads, Seller Central, Vendor Central and AMC data for AI agents. Read-only by default.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to directly operate Bilibili, providing 27 tools for login, search, content publishing, data analysis, and interaction.194MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for interacting with Bilibili, enabling AI assistants to search videos, fetch comments and subtitles, publish content, and manage interactions. It also adds private message reading, stable TV login, and an automated comment workflow requiring human confirmation.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to read chats, Saved Messages, files and media, search history, and send messages through your personal Telegram account.3MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to operate a user's own Bilibili account through MCP tools: scan-code login, browsing recommendations and rankings, watching videos with AI summaries, subtitles and frame overviews, plus commenting, @-mentioning, direct messaging, posting dynamics, and uploading videos. All operations return structured JSON with built-in rate limiting, audit logging, and safety guardrails.1,154 PyPI389MIT