Back to MCP directory
publicPublicdnsLocal runtime

Bilibili

Bilibili API交互的MCP服务器项目

article

README

🚀 B站MCP服务器

本项目是一个用于与Bilibili API交互的MCP服务器,可提供通用搜索功能,并支持通过MCP协议与其他系统集成。

🚀 快速开始

本项目是用于与Bilibili API交互的MCP服务器,可提供通用搜索功能,并支持通过MCP协议与其他系统集成。

✨ 主要特性

  • 提供Bilibili API的通用搜索功能
  • 支持通过MCP协议与其他系统集成

📦 安装指南

  1. 确保已安装Python 3.10+(由.python-version指定)
  2. 使用uv安装依赖:
    uv pip install -r requirements.txt
    

💻 使用示例

基础用法

启动MCP服务器:

uv --directory /Users/zao/project/bilibili-mcp-server run bilibili.py

📚 详细文档

依赖管理

  • 依赖项由pyproject.toml定义
  • 使用uv.lock锁定依赖版本

贡献

欢迎提交Pull Request。请确保:

  • 代码符合PEP 8规范
  • 添加必要的单元测试
  • 更新相关文档

📄 许可证

MIT

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client