> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firecrawl.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Amp で MCP Web Search とスクレイピング

> Sourcegraph Amp に Firecrawl の Web スクレイピングと検索機能を追加

MCP 経由で、Firecrawl の検索、スクレイピング、クロール、ブラウザツールを [Sourcegraph Amp](https://ampcode.com) に追加します。

<div id="quick-setup">
  ## クイックスタート
</div>

<div id="1-get-your-api-key">
  ### 1. APIキーを取得する
</div>

[firecrawl.dev/app](https://www.firecrawl.dev/app)でサインアップし、APIキーをコピーします。

<div id="2-add-firecrawl-to-amp">
  ### 2. Amp に Firecrawl を追加する
</div>

Amp の設定を開き、MCP Server を追加します。Amp は標準の MCP 設定に対応しています。

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

`fc-YOUR-API-KEY` をお使いの Firecrawl APIキーに置き換えてください。

<div id="3-reload-amp">
  ### 3. Ampを再読み込み
</div>

Ampウィンドウを再読み込みします。これで、Firecrawlのツールをエージェントで利用できます。

<div id="quick-demo">
  ## クイックデモ
</div>

```
Search the web for "Sourcegraph Cody vs Amp" and summarize the differences.
```

```
スクレイピング https://docs.firecrawl.dev and list the core endpoints.
```

```
クロール https://example.com and output a site map as JSON.
```

<div id="remote-hosted-url-no-nodejs-required">
  ## リモートホストのURL (Node.jsは不要)
</div>

```json theme={null}
{
  "amp.mcpServers": {
    "firecrawl": {
      "url": "https://mcp.firecrawl.dev/fc-YOUR-API-KEY/v2/mcp"
    }
  }
}
```

<div id="troubleshooting">
  ## トラブルシューティング
</div>

* **サーバーが起動しない** — Amp の MCP ログビューで stderr の出力を確認してください。
* **`npx` が見つからない** — Node.js 18 以降をインストールするか、上記のリモートホストのURLを使用してください。
