# Hostsmith

> Hostsmith is an MCP server for cloud and infrastructure. Deploy static sites and manage redirects on Hostsmith from an AI agent. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Platforms:** Web, API, CLI
- **Website:** https://hostsmith.net/docs/mcp/quick-start/
- **Repository:** https://github.com/hostsmith/mcp-server
- **MCP Registry name:** io.github.hostsmith/mcp-server
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-21

## About

Hostsmith's server gives an agent the ability to publish files and get back a public HTTPS address, with no repo or build step. Quick start has the agent list available domains, create a site under a shared hostsmith.link domain, then push inline files. Larger files and binaries use a separate create-upload and finalize path, which the server picks based on size.

Beyond deploys it manages redirect rules on custom domains, including setting, editing, testing and switching off rules from a deploy's _redirects file. A redirect host can forward a retired domain or campaign link without hosting content, and an organisation can hold up to 50 of them. Data residency is chosen by partition, EU or US.

Authentication is OAuth 2.0 only; static tokens are not supported. Docs warn that destructive calls such as delete_site and overwriting deploys deserve review before approval. It runs hosted at mcp.hostsmith.net or locally through the @hostsmith/mcp-server npm package.

## Features

- **File deploys:** Publishes inline files to a live HTTPS address.
- **Large upload path:** Binaries and files over about 1 MB go through upload and finalize steps.
- **Redirect management:** Add, edit, delete, replace and test redirect rules on custom domains.
- **Redirect hosts:** Forward a hostname with no content of its own.
- **EU or US residency:** Pick the data partition a site lives in.
- **OAuth sign-in:** The browser consent screen replaces pasted API keys.

## Good for

- Publish an HTML report an agent just generated
- Preview a generated demo at a shareable URL
- Move a retired domain's traffic with redirect rules
- Test a path against live redirect rules before going live
- Check account plan and usage from a chat

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mcp-server https://mcp.hostsmith.net/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.hostsmith.net/mcp
```

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

```json
{
  "mcpServers": {
    "mcp-server": {
      "url": "https://mcp.hostsmith.net/mcp"
    }
  }
}
```

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

```json
{
  "servers": {
    "mcp-server": {
      "type": "http",
      "url": "https://mcp.hostsmith.net/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "serverUrl": "https://mcp.hostsmith.net/mcp"
    }
  }
}
```

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.hostsmith.net/mcp
```

Enter a Name (for example "Hostsmith"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for sign-in. Add the credentials it needs under HTTP headers or in the OAuth fields, as its docs describe.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-server": {
      "type": "http",
      "url": "https://mcp.hostsmith.net/mcp"
    }
  }
}
```

## Tools

- `list_sites`: List sites in your account for a data partition.
- `get_site`: Get details of a site.
- `create_site`: Create a site or a redirect host.
- `delete_site`: Delete a site.
- `list_domains`: List shared and custom domains.
- `get_account`: Get account info, plan and usage.
- `deploy_files`: Deploy inline file contents to a site.
- `deploy_create_upload`: Start a direct upload for binaries or large files.
- `deploy_finalize`: Commit a deploy started with deploy_create_upload.
- `list_redirects`: List a site's redirect rules.
- `set_redirects`: Replace a site's user redirect rules.
- `edit_redirects`: Add, update and delete redirect rules in one batch.
- `add_redirect`: Add one redirect rule.
- `delete_redirect`: Delete one redirect rule.
- `switch_file_redirects`: Switch the live deploy's _redirects rules off or on.
- `test_redirect`: Test a path against live or draft redirect rules.

## FAQ

### How does sign-in work?

OAuth 2.0; the first tool call opens a Hostsmith consent screen. Static access tokens are not supported.

### Where can I host data?

In EU or US partitions.

### Can Hostsmith run locally?

Yes, through the @hostsmith/mcp-server npm package, or point a client at the hosted URL.

### Are redirects available on shared domains?

No, redirects apply only on your organisation's own custom domains.

### How do I add Hostsmith to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp-server https://mcp.hostsmith.net/mcp

### What are the best alternatives to Hostsmith?

The closest alternatives to Hostsmith are ShipStatic, webprompter.ai — Static Sites & Custom Domains for Coding Agents, FluxHost, Server4Agent and DeployMonster.

## Where this comes from

- Description: written from the project's README and the project's website.
- Status: checked automatically by AIPoweredBot on 19 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [ShipStatic](https://ai-powered.com/mcp/shipstatic): ShipStatic is a freemium MCP server for cloud and infrastructure.
- [webprompter.ai — Static Sites & Custom Domains for Coding Agents](https://ai-powered.com/mcp/webprompter-ai-static-sites-and-custom-domains-for-coding-ag): webprompter.ai — Static Sites & Custom Domains for Coding Agents is a freemium MCP server for developer tools.
- [FluxHost](https://ai-powered.com/mcp/fluxhost): FluxHost is a freemium MCP server for cloud and infrastructure.
- [Server4Agent](https://ai-powered.com/mcp/server4agent): Server4Agent is a freemium MCP server for cloud and infrastructure.
- [DeployMonster](https://ai-powered.com/mcp/deploymonster): DeployMonster is a freemium MCP server for cloud and infrastructure.
- [Siteon](https://ai-powered.com/mcp/siteon): Siteon is a freemium MCP server for developer tools.
- [Hostinger](https://ai-powered.com/mcp/hostinger): Hostinger is a free MCP server for cloud and infrastructure.
- [deed.page](https://ai-powered.com/mcp/deed-page): deed.page is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/hostsmith
