Tài liệuCông cụ dành cho nhà phát triểnScrapeless MCPClaude Desktop / Claude Code

Claude Desktop / Claude Code

Kết nối Scrapeless MCP với các client Claude của Anthropic. Bạn sẽ cần Scrapeless API token của mình.

Claude Desktop

  1. Mở Claude Desktop.
  2. Vào Settings → Developer → Edit Config (thao tác này sẽ mở claude_desktop_config.json).
  3. Thêm Scrapeless server vào mcpServers:
{
  "mcpServers": {
    "Scrapeless MCP Server": {
      "command": "npx",
      "args": ["-y", "scrapeless-mcp-server"],
      "env": {
        "SCRAPELESS_KEY": "YOUR_SCRAPELESS_KEY"
      }
    }
  }
}
  1. Lưu tệp và khởi động lại Claude Desktop.
  2. Các công cụ Scrapeless giờ đây xuất hiện trong menu công cụ (🔨) — Claude có thể tìm kiếm, scrape, crawl và điều khiển trình duyệt theo yêu cầu.

Claude Code

Trong terminal, đăng ký server với Claude Code CLI:

claude mcp add scrapeless \
  --env SCRAPELESS_KEY=YOUR_SCRAPELESS_KEY \
  -- npx -y scrapeless-mcp-server

Để sử dụng endpoint Streamable HTTP được lưu trữ (hosted) thay vì một tiến trình cục bộ:

claude mcp add --transport http scrapeless https://api.scrapeless.com/mcp \
  --header "x-api-token: YOUR_SCRAPELESS_KEY"

Chạy claude mcp list để xác nhận server đã được kết nối.

Muốn dùng chế độ hosted? Xem Authentication and Transports để biết cấu hình Streamable HTTP.