# Hostilo MCP server

> Publish and update websites, including single pages, multi-file projects, and templates, directly from your AI chat interface.

- Repository: https://github.com/hostilo/hostilo-mcp
- Page: https://hostedmcp.org/servers/hostilo/hostilo-mcp
- Transport: remote
- Stars: 1
- License: MIT
- Latest version: 1.7.1

## Install

### Claude Code

```sh
claude mcp add --transport http hostilo-mcp https://hostilo.app/mcp
```

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

```json
{
  "mcpServers": {
    "hostilo-mcp": {
      "url": "https://hostilo.app/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "hostilo-mcp": {
      "type": "http",
      "url": "https://hostilo.app/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"hostilo-mcp","type":"http","url":"https://hostilo.app/mcp"}'
```

### Codex

```sh
codex mcp add hostilo-mcp --url https://hostilo.app/mcp
```

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

```toml
[mcp_servers.hostilo-mcp]
url = "https://hostilo.app/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http hostilo-mcp https://hostilo.app/mcp
```

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

```json
{
  "mcpServers": {
    "hostilo-mcp": {
      "url": "https://hostilo.app/mcp",
      "type": "http"
    }
  }
}
```

## Tools (11)

- `list_sites`
- `get_site`
- `create_site`
- `update_site`
- `publish_files`
- `import_zip`
- `list_templates`
- `get_site_stats`
- `list_versions`
- `restore_version`
- `get_ai_traffic`

## FAQ

### What are the file size limits for publishing?

Single pages can be up to 5 MB of HTML, while ZIP imports can be up to 20 MB with individual files up to 10 MB.

### Is there a way to see how many people are visiting my site?

Yes, you can use the get_site_stats tool to view page views and daily unique visitors.
