# Máy chủ tìm nạp chính thức MCP - HTML dễ đọc để xóa Markdown (uvx) (`fetch-markdown-mcp`)

> Tìm nạp các URL tài liệu tôn trọng robots.txt và chuyển đổi các trang DOM ồn ào thành các đoạn Markdown nhỏ gọn cho cửa sổ ngữ cảnh LLM.

- **Canonical URL:** https://syndipath.com/vi/mcp/fetch-markdown-mcp
- **Runtime:** `pypi` | **Transport:** STDIO | **License:** MIT | **Package:** `mcp-server-fetch`
- **Upvotes:** 794 | **GitHub Stars:** 6890 | **Weekly Installs:** 74200
- **Security Note:** HTTP-200 đã được xác minh trên PyPI (mcp-server-fetch); chạy bên trong một virtualenv phù du Astral uvx bị cô lập.

## Quick CLI Setup
```bash
# Run isolated Python tool via Astral uvx
uvx mcp-server-fetch

# Alternative: run via pipx
pipx run mcp-server-fetch

# Add to Claude Code CLI
claude mcp add fetch-markdown-mcp -- uvx mcp-server-fetch
```

## MCP Manifest (`mcp.json`)
```json
{
  "mcpServers": {
    "fetch-markdown-mcp": {
      "command": "uvx",
      "args": [
        "mcp-server-fetch"
      ]
    }
  }
}
```

## Exposed MCP Tools
- `fetch_markdown_mcp_extract(url_or_query: string, max_chars?: number)`: Fetches documentation URLs respecting robots.txt and converts noisy DOM pages into compact Markdown chunks for LLM context windows.
- `fetch_markdown_mcp_metadata(target: string)`: Returns structured page headings, canonical links, and HTTP response diagnostics.
