Back to MCP directory
publicPublicdnsLocal runtime

zed-brave-search-context-server

为Zed AI助手提供Brave搜索的模型上下文服务扩展,支持网页和本地搜索命令。

article

README

🚀 Zed 勇敢搜索上下文服务器

本扩展专为 Brave 搜索打造了一个模型上下文服务器,可与 Zed AI 助手搭配使用。它借助了 这个 MCP 服务器,还为 Assistant Panel 添加了 /brave_web_search/brave_local_search 按钮命令。

🚀 快速开始

📦 安装指南

使用此扩展前,需先获取 Brave API 密钥:

  1. Brave 搜索 API 账户 上注册。
  2. 选择一个计划(免费层提供每月 2,000 次查询)。
  3. 开发者仪表板 中生成你的 API 密钥。

随后,在配置文件中填入 API 密钥:

{
  "context_servers": {
    "brave_search": {
      "settings": {
        "brave_api_key": "<你的 Brave API 密钥>"
      }
    }
  }
}

💻 使用示例

基础用法

  • 网络搜索
/brave_web_search <查询> [数量] [偏移量]

此命令可执行带有分页和过滤的网络搜索。

  • 本地搜索
/brave_local_search <查询> [数量]

该命令用于搜索本地企业和服务。若未找到本地结果,将自动回退到网络搜索。

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