# MCP Server

> MCP Server 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-18

## 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"
    }
  }
}
```

### 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 it 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 MCP Server 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 MCP Server?

The closest alternatives to MCP Server are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.

## Where this comes from

- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Context7](https://ai-powered.com/mcp/context7): Context7 is a freemium MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-2): Chrome DevTools MCP is an open-source MCP server for browser automation.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [awesome-mcp-servers](https://ai-powered.com/mcp/awesome-mcp-servers-2): awesome-mcp-servers is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/mcp-server-mweo96vv
