Install and configure the Bilibili MCP Server
mainTo use the Bilibili MCP Server, you must have uv installed. Follow these steps to set up the environment and configure your MCP client:
- Clone the repository.
- Install dependencies using
uv sync. - Configure your MCP client (e.g., Claude Desktop) by adding the server to your configuration file. You must provide the absolute path to the cloned repository in the
--directoryargument.
# Install dependencies
uv sync{
"mcpServers": {
"bilibili": {
"command": "uv",
"args": [
"--directory",
"/your-project-path/bilibili-mcp-server",
"run",
"bilibili.py"
]
}
}
}