# Fortress MCP server

> Provides a stealth Chromium engine that allows AI agents to bypass bot detection and scrape data from protected websites.

- Repository: https://github.com/tiliondev/fortress
- Page: https://hostedmcp.org/servers/tiliondev/fortress
- Transport: stdio
- Stars: 802
- Latest version: 0.1.3

## Install

### Claude Code

```sh
claude mcp add --env 'TILION_API_KEY=<YOUR_TILION_API_KEY>' fortress -- uvx tilion
```

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

```json
{
  "mcpServers": {
    "fortress": {
      "command": "uvx",
      "args": [
        "tilion"
      ],
      "env": {
        "TILION_API_KEY": "<YOUR_TILION_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "fortress": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "tilion"
      ],
      "env": {
        "TILION_API_KEY": "<YOUR_TILION_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"fortress","type":"stdio","command":"uvx","args":["tilion"],"env":{"TILION_API_KEY":"<YOUR_TILION_API_KEY>"}}'
```

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

```json
{
  "mcpServers": {
    "fortress": {
      "command": "uvx",
      "args": [
        "tilion"
      ],
      "env": {
        "TILION_API_KEY": "<YOUR_TILION_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add fortress --env 'TILION_API_KEY=<YOUR_TILION_API_KEY>' -- uvx tilion
```

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

```toml
[mcp_servers.fortress]
command = "uvx"
args = ["tilion"]

[mcp_servers.fortress.env]
TILION_API_KEY = "<YOUR_TILION_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'TILION_API_KEY=<YOUR_TILION_API_KEY>' fortress uvx -- tilion
```

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

```json
{
  "mcpServers": {
    "fortress": {
      "command": "uvx",
      "args": [
        "tilion"
      ],
      "env": {
        "TILION_API_KEY": "<YOUR_TILION_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `TILION_API_KEY` | no | yes | Bearer key for the hosted Tilion server (cloud mode only). |
| `CHROMIUM_VERSION` | no | no |  |
| `TILION_ALLOW_PRIVATE_EGRESS` | no | no | Set 1 to allow tools to reach localhost / private IPs (SSRF guard off). |
| `TILION_BASE_URL` | no | no | Run browsers on a hosted Tilion server instead of locally. |
| `TILION_MCP_HEADLESS` | no | no | Set 0 to show a visible browser window (default 1). |
| `TILION_MCP_PREWARM` | no | no | Boot the browser at startup so the first tool call is instant (default 1). |

## FAQ

### How does Fortress prevent being blocked by bot detectors?

Fortress corrects the browser fingerprint inside Chromium's C++, making the browser appear as an ordinary Chrome installation.

### Can I use Fortress with my existing automation tools?

Yes, you can point existing Playwright or Puppeteer setups at Fortress using the Chrome DevTools Protocol (CDP).

### Is there a cost for developers to use Fortress?

Version 3 is free for developers with no limits on machines, sessions, or concurrency.
