# Docker 官方 mcp/brave-search 容器化网页搜索 (`docker-hub-brave-search-oci`)

> 容器化 Brave Search API MCP 服务器通过 STDIO 提供独立的 Web 和新闻搜索结果。

- **Canonical URL:** https://syndipath.com/zh/mcp/docker-hub-brave-search-oci
- **Runtime:** `oci` | **Transport:** STDIO | **License:** MIT | **Package:** `mcp/brave-search`
- **Upvotes:** 474 | **GitHub Stars:** 3240 | **Weekly Installs:** 25100
- **Security Note:** 已验证的 OCI 容器镜像（mcp/brave-search）；通过 docker run -i --rm 无状态运行，没有主机污染。

## Quick CLI Setup
```bash
# Pull verified OCI container image
docker pull mcp/brave-search

# Run STDIO MCP container interactively
docker run -i --rm -e BRAVE_API_KEY=${BRAVE_API_KEY} mcp/brave-search
```

## MCP Manifest (`mcp.json`)
```json
{
  "mcpServers": {
    "docker-hub-brave-search-oci": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BRAVE_API_KEY",
        "mcp/brave-search"
      ],
      "env": {
        "BRAVE_API_KEY": "${BRAVE_API_KEY}"
      }
    }
  }
}
```

## Exposed MCP Tools
- `docker_hub_brave_search__extract(url_or_query: string, max_chars?: number)`: Containerized Brave Search API MCP server delivering independent web and news search results over STDIO.
- `docker_hub_brave_search__metadata(target: string)`: Returns structured page headings, canonical links, and HTTP response diagnostics.
