{
  "$schema": "https://json.schemastore.org/claude-code-mcp.json",
  "description": "Scrapling MCP 서버 설정 — AI 에이전트가 크롤링 도구를 직접 호출할 수 있도록 구성",
  "server": {
    "command": "scrapling",
    "args": ["mcp"],
    "transport": "stdio"
  },
  "tools": {
    "get": {
      "description": "HTTP GET 요청 (curl_cffi 기반, TLS 핑거프린트 위장)",
      "default_params": {
        "impersonate": "chrome",
        "extraction_type": "markdown",
        "main_content_only": true,
        "stealthy_headers": true,
        "retries": 3,
        "retry_delay": 1,
        "timeout": 30
      }
    },
    "fetch": {
      "description": "브라우저 기반 페이지 로드 (Playwright, JS 렌더링 지원)",
      "default_params": {
        "extraction_type": "markdown",
        "main_content_only": true,
        "headless": true,
        "google_search": true,
        "disable_resources": false,
        "timeout": 30000
      }
    },
    "stealthy_fetch": {
      "description": "스텔스 브라우저 크롤링 (Patchright, 안티봇 우회)",
      "default_params": {
        "extraction_type": "markdown",
        "main_content_only": true,
        "headless": true,
        "google_search": true,
        "block_webrtc": false,
        "allow_webgl": true,
        "solve_cloudflare": false,
        "timeout": 30000
      }
    },
    "bulk_get": {
      "description": "다수 URL 동시 HTTP GET 요청"
    },
    "bulk_fetch": {
      "description": "다수 URL 동시 브라우저 로드"
    },
    "bulk_stealthy_fetch": {
      "description": "다수 URL 동시 스텔스 크롤링"
    }
  },
  "usage_guide": {
    "tier_selection": {
      "tier1_get": "정적 HTML 페이지, API 호출, RSS 피드 등 JS 불필요 시",
      "tier2_fetch": "SPA, 동적 콘텐츠, JS 렌더링 필요 시",
      "tier3_stealthy_fetch": "안티봇 보호 사이트, Cloudflare 보호 시 (합법적 용도만)"
    },
    "legal_notice": "합법적 공개 데이터만 대상으로 사용. 사이트 robots.txt 및 ToS 준수 필수."
  }
}
