About Bilibili-Mcp-Server
Bilibili-Mcp-Server is an MCP server for querying Bilibili video and user information and performing selected account actions. It is for workflows that need to retrieve video details, like videos, follow users, or check a user's coin balance.
Key features
- 01Retrieve video details
- 02Like videos
- 03Retrieve user information
- 04Follow users
- 05Check user coin balance
Use cases
- 01Look up a video's title and upload time
- 02Like a video through an MCP client
- 03Retrieve user details or coin balance
- 04Follow a user
MCP support
Exposes Bilibili video and user information, liking and following actions, and coin balance lookup to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEBilibili-Mcp-Server
Bilibili-Mcp-Server 是一个针对Bilibili的MCP服务器,提供了以下功能:
- 视频:
- 获取视频信息:获取视频的基本信息,如标题、描述、上传时间等。
- 对视频点赞:用户可以对视频进行点赞操作。
- 用户:
- 获取用户信息:获取用户的基本信息,如用户名、头像等。
- 关注用户:用户可以关注其他用户。
- 获得用户的硬币数量
使用方法
使用uv安装依赖
uv install
配置环境信息,在.env文件中填写SESSDATA,BILI_JCT,DEDEUSERID等信息
SESSDATA=your sessdata
BILI_JCT=your bili_jct
DEDEUSERID=your deuserid
可以使用fastmcp 的MCP Inspector 进行测试
fastmcp dev server.py
MCP Server Configure
在配置文件中填写sessdata,bili_jct,deuserid等信息,获取方法见->获取 Credential 类所需信息
"bilibili-mcp-server": {
"disabled": false,
"timeout": 60,
"command": "uv",
"args": [
"--directory",
"/Users/maoyan/Codes/Python/mcps/bilibili-mcp-server",
"run",
"server.py"
],
"env": {
"SESSDATA":"your sessdata",
"BILI_JCT":"your bili_jct",
"DEDEUSERID":"your deuserid"
},
"transportType": "stdio"
}
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.