Back to MCP directory
publicPublicdnsLocal runtime

bilibili-mcp-p6i

一个简单的MCP服务器示例项目,用于演示如何创建MCP服务器并与Bilibili API交互,提供内容搜索功能。

article

README

🚀 Bilibili MCP 服务器

本项目是一个简单的 MCP(模型上下文协议)服务器示例,旨在演示如何创建 MCP 服务器,并与 Bilibili API 进行交互,为开发者提供实践参考。

🚀 快速开始

运行服务器:

uv run main.py

服务器将以 stdio 模式启动,准备接收 MCP 协议命令。

✨ 主要特性

提供了一个搜索工具 general_search,可以通过关键词在 Bilibili 上进行内容搜索。

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