# HTTrack MCP server

> Enables AI agents to mirror websites into local archives and browse, read, or search the downloaded content via MCP.

- Repository: https://github.com/TechVentures-Studio/httrack-mcp
- Page: https://hostedmcp.org/servers/techventures-studio/httrack-mcp
- Transport: remote
- Stars: 0
- License: AGPL-3.0
- Latest version: 1.0.3

## Install

### Claude Code

```sh
claude mcp add httrack-mcp -- docker run -i --rm ghcr.io/techventures-studio/httrack-mcp-server:v1.0.3
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "httrack-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/techventures-studio/httrack-mcp-server:v1.0.3"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "httrack-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/techventures-studio/httrack-mcp-server:v1.0.3"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"httrack-mcp","type":"stdio","command":"docker","args":["run","-i","--rm","ghcr.io/techventures-studio/httrack-mcp-server:v1.0.3"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "httrack-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/techventures-studio/httrack-mcp-server:v1.0.3"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add httrack-mcp -- docker run -i --rm ghcr.io/techventures-studio/httrack-mcp-server:v1.0.3
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.httrack-mcp]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/techventures-studio/httrack-mcp-server:v1.0.3"]
```

### Gemini CLI

```sh
gemini mcp add -s user httrack-mcp docker -- run -i --rm ghcr.io/techventures-studio/httrack-mcp-server:v1.0.3
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "httrack-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/techventures-studio/httrack-mcp-server:v1.0.3"
      ]
    }
  }
}
```

## FAQ

### Can I run multiple website mirrors at the same time?

Yes, different projects run in parallel as each project is isolated by its own output directory.

### What happens if I try to mirror a project that is already being downloaded?

The server will return an 'already_running' status along with the live job ID.

### Can the AI agent read binary files from the archive?

No, the read_file tool refuses binary files and only supports text files like HTML, JS, CSS, txt, json, and md.

### Is there a limit to how much content the agent can read at once?

Yes, to keep the agent context manageable, content is capped at 256 KB.
