# Máy chủ MCP chính thức của Firecrawl - Lập bản đồ trang web và quét sạch Markdown (`firecrawl-site-mapper-mcp`)

> Thu thập thông tin các trang web tài liệu được hiển thị bằng JavaScript, ánh xạ hệ thống phân cấp URL và trích xuất Markdown và JSON có cấu trúc sẵn sàng cho LLM.

- **Canonical URL:** https://syndipath.com/vi/mcp/firecrawl-site-mapper-mcp
- **Runtime:** `npm` | **Transport:** STDIO | **License:** MIT | **Package:** `firecrawl-mcp`
- **Upvotes:** 604 | **GitHub Stars:** 5380 | **Weekly Installs:** 42100
- **Security Note:** HTTP-200 đã được xác minh trên NPM Đăng ký (firecrawl-mcp); chạy qua npx bên trong phiên STDIO trong phạm vi không gian làm việc.

## Quick CLI Setup
```bash
# Run directly via Node npx
npx -y firecrawl-mcp

# Add to Claude Code CLI
claude mcp add -e FIRECRAWL_API_KEY=${FIRECRAWL_API_KEY} firecrawl-site-mapper-mcp -- npx -y firecrawl-mcp
```

## MCP Manifest (`mcp.json`)
```json
{
  "mcpServers": {
    "firecrawl-site-mapper-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "firecrawl-mcp"
      ],
      "env": {
        "FIRECRAWL_API_KEY": "${FIRECRAWL_API_KEY}"
      }
    }
  }
}
```

## Exposed MCP Tools
- `firecrawl_site_mapper_mc_extract(url_or_query: string, max_chars?: number)`: Crawls JavaScript-rendered documentation sites, maps URL hierarchies, and extracts clean LLM-ready Markdown and structured JSON.
- `firecrawl_site_mapper_mc_metadata(target: string)`: Returns structured page headings, canonical links, and HTTP response diagnostics.
