bilibili-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| bilibili_replyC | 在 B站视频下发布评论或回复他人评论 |
| bilibili_delete_comment | 删除自己在 B站的评论 |
| bilibili_like_comment | 给 B站评论点赞或取消点赞 |
| bilibili_video_commentsA | 获取 B站视频的评论列表,包含评论内容、作者信息、点赞数等 |
| bilibili_searchA | 搜索 B站视频。⚠️ 注意:B站 totalrank 算法不按时间排,系列剧集最新一集可能不在第 1 页。如要查某 UP 主最新视频,建议先用搜索找到 UP主 uid,再调用 bilibili_user_videos 工具 |
| bilibili_video_infoB | 获取 B站视频的详细信息,包含标题、简介、播放量、弹幕数、评论数、点赞数、投币数、收藏数、分享数等 |
| bilibili_video_subtitle | 获取 B站视频的字幕文本(AI 语音转文字),返回带时间轴的字幕内容 |
| bilibili_video_danmakuB | 获取 B站视频的弹幕列表,包含弹幕内容、出现时间、类型、颜色等 |
| bilibili_hotC | 获取 B站当前热门视频列表,包含播放量、弹幕数、点赞数等数据 |
| bilibili_search_hotA | 获取 B站热搜关键词列表 |
| bilibili_send_danmakuA | 向视频发送一条弹幕。B 站对此操作有极严格的风控,新账号或操作频繁的账号可能直接被风控拦截。建议每天不超过 5 条。 |
| bilibili_user_videos | 获取指定 UP 主的视频列表,按发布时间排序 |
| bilibili_user_infoA | 获取 B站用户信息,包含昵称、签名、等级、粉丝数、关注数、直播间信息等 |
| bilibili_user_favorites | 获取用户的收藏夹列表及内容 |
| bilibili_detect_repliesA | 检测 B站视频/评论下的新回复,列出上次检查之后的新内容。不自动回复,需要人工确认后操作。 |
| bilibili_refresh_cookieA | 手动触发 B站 Cookie 刷新。检查当前 Cookie 状态,如需要则执行完整的 6 步刷新流程(含 RSA 加密、refresh_csrf 获取、刷新、确认更新) |
| bilibili_notificationsA | 查看 B站未读消息概览,包含回复、@提及、点赞等通知 |
| bilibili_loginA | 生成 B站 扫码登录二维码。返回二维码图片(Base64)和 login_key,将 login_key 传给 bilibili_login_check 检查登录状态 |
| bilibili_login_checkA | 检查 B站 扫码登录状态。调用 bilibili_login 获取二维码后,传入返回的 loginKey 进行轮询检查。扫码成功后自动保存 Cookie |
| bilibili_user_dynamicsA | 获取指定 UP 主的最新动态(包括视频投稿、转发、图文等) |
| bilibili_article_infoB | 获取 B站 专栏文章的详细内容,包含标题、正文、发布时间、作者、数据统计等 |
| bilibili_user_articlesB | 获取指定 UP 主发布的专栏文章列表,包含阅读数、发布时间等 |
| bilibili_live_infoB | 查询 B站 UP 主的直播间信息。输入 uid(用户 ID),返回直播状态(是否开播)、直播间标题、人气值(热度)、关注数、直播分类、弹幕热词等。注意:人气值是热度指标,非真实观看人数 |
| bilibili_live_screenshot | 获取直播间的当前画面截图,返回给具备视觉能力的模型分析。返回内容包括:1) 直播间元数据(标题/人气/UP主等);2) 关键帧截图(keyframe)。如模型无视觉能力,仅文字信息可用,AI 应提示"无法查看图像"。 |
| bilibili_user_follow | 关注指定 UP 主。需登录态,行为会被 B 站风控监控,不建议短时间内大量关注 |
| bilibili_user_unfollow | 取消关注指定 UP 主 |
| bilibili_user_followings | 查询指定用户的关注列表(TA 关注了谁) |
| bilibili_user_followersB | 查询指定用户的粉丝列表(谁关注了 TA) |
| bilibili_video_downloadA | 下载 B 站视频到本地。自动下载视频+音频并用 ffmpeg 合并为 MP4。要求系统已安装 ffmpeg。⚠️ 仅供个人备份使用,请勿传播。 |
| bilibili_article_download | 下载 B 站专栏为 Markdown 文件(可选择是否下载图片)。 |
| bilibili_download_listA | 查看已下载的文件列表(按时间倒序) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/Iseenope/bilibili-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server