Skip to content
Firecrawl Docs
Firecrawl Docs
代理工具集

Amp 中的 MCP 网页搜索与抓取

将 Firecrawl 的网页抓取和搜索功能添加到 Sourcegraph Amp

通过 MCP 为 Sourcegraph Amp 添加 Firecrawl 的搜索、抓取、爬取和浏览器工具。

firecrawl.dev/app 注册并复制你的 API 密钥。

打开 Amp 的设置并添加一个 MCP Server。Amp 支持标准的 MCP 配置:

{
  "amp.mcpServers": {
    "firecrawl": {
      "command": "npx",
      "args": ["-y", "firecrawl-mcp"],
      "env": {
        "FIRECRAWL_API_KEY": "fc-YOUR-API-KEY"
      }
    }
  }
}

fc-YOUR-API-KEY 替换为你的 Firecrawl API 密钥。

重新加载 Amp 窗口。Firecrawl 工具现已在代理中可用。

进行网页搜索,查找"Sourcegraph Cody vs Amp"并总结两者的区别。
抓取 https://docs.firecrawl.dev and list the core endpoints.
爬取 https://example.com and output a site map as JSON.
{
  "amp.mcpServers": {
    "firecrawl": {
      "url": "https://mcp.firecrawl.dev/v2/mcp"
    }
  }
}

此配置使用免密钥 Firecrawl 工具集。如需连接账户或进行无人值守设置,请按照托管 MCP 连接模式操作;API 密钥应存放在 Authorization 请求头或安全密钥存储中,切勿置于 URL 中。

  • 服务器无法启动 — 在 Amp 的 MCP 日志视图中查看 stderr 输出。
  • 缺少 npx — 安装 Node.js 18+,或使用上方的远程托管 URL。
Was this page helpful?Suggest editsRaise issue