AnyCrawl
Hướng dẫn thiết lập MCP

Windsurf

Thêm thu thập web và tìm kiếm vào Windsurf với AnyCrawl MCP

Tìm kiếm web và Scrape MCP trong Windsurf

Thêm khả năng thu thập web và tìm kiếm vào Windsurf với AnyCrawl MCP.

Thiết lập nhanh

1. Lấy API key

Đăng ký tại anycrawl.dev và sao chép API key từ bảng điều khiển.

2. Thêm vào Windsurf

Thêm vào ~/.codeium/windsurf/mcp_config.json:

{
    "mcpServers": {
        "anycrawl": {
            "command": "npx",
            "args": ["-y", "anycrawl-mcp"],
            "env": {
                "ANYCRAWL_API_KEY": "your-api-key"
            }
        }
    }
}

Thay your-api-key bằng API key AnyCrawl thực tế của bạn.

3. Khởi động lại Windsurf

Xong! Windsurf có thể tìm kiếm và thu thập web.

Demo nhanh

Thử trong Windsurf:

Tìm kiếm web:

Search for the latest Tailwind CSS features

Scrape một trang:

Scrape anycrawl.dev and explain what it does

Lấy tài liệu:

Find and scrape the Supabase authentication documentation

Crawl một website:

Crawl the docs section of nextjs.org and summarize the key concepts

Agent AI của Windsurf sẽ tự động dùng công cụ AnyCrawl.

Xử lý sự cố

Server không phản hồi

  1. Kiểm tra API key có hợp lệ không
  2. Đảm bảo đã cài Node.js 18+
  3. Khởi động lại Windsurf sau khi đổi cấu hình

Lỗi quyền

Đảm bảo npx có quyền thực thi. Có thể cần cài gói toàn cục:

npm install -g anycrawl-mcp

Sau đó cập nhật cấu hình để dùng gói toàn cục:

{
    "mcpServers": {
        "anycrawl": {
            "command": "anycrawl-mcp",
            "env": {
                "ANYCRAWL_API_KEY": "your-api-key"
            }
        }
    }
}

Bước tiếp theo