原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Hostsmith MCP

作者:hostsmith版本 1.6.1i★ –i电脑或云端
注册名称io.github.hostsmith/mcp-server

安装

概览

作者提供的说明(英文原文)

Deploy static sites on Hostsmith - give it a file, get a live HTTPS URL. EU/US residency.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
  • 需要你自己填写: HOSTSMITH_URL, HOSTSMITH_API_DOMAIN, HOSTSMITH_BASE_URL

你需要

  • 在云端运行无需安装任何东西,通过互联网连接
  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

适用于网页版、桌面版和手机版 Claude:

  1. 打开 Settings → Connectors
  2. 点击 Add custom connector
  3. 粘贴下面的地址,然后点击 Add
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Add2https://…3
https://mcp.hostsmith.net/mcp

或者在你的电脑上运行

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "hostsmith": {
      "command": "npx",
      "args": [
        "-y",
        "@hostsmith/mcp-server"
      ],
      "env": {
        "HOSTSMITH_URL": "your-value",
        "HOSTSMITH_API_DOMAIN": "your-value",
        "HOSTSMITH_BASE_URL": "your-value"
      }
    }
  }
}

在终端中运行这条命令

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

或者在你的电脑上运行

claude mcp add hostsmith --env HOSTSMITH_URL=your-value --env HOSTSMITH_API_DOMAIN=your-value --env HOSTSMITH_BASE_URL=your-value -- npx -y @hostsmith/mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "hostsmith": {
      "url": "https://mcp.hostsmith.net/mcp"
    }
  }
}

或者在你的电脑上运行

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "hostsmith": {
      "command": "npx",
      "args": [
        "-y",
        "@hostsmith/mcp-server"
      ],
      "env": {
        "HOSTSMITH_URL": "your-value",
        "HOSTSMITH_API_DOMAIN": "your-value",
        "HOSTSMITH_BASE_URL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "hostsmith": {
      "type": "http",
      "url": "https://mcp.hostsmith.net/mcp"
    }
  }
}

或者在你的电脑上运行

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "hostsmith": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hostsmith/mcp-server"
      ],
      "env": {
        "HOSTSMITH_URL": "your-value",
        "HOSTSMITH_API_DOMAIN": "your-value",
        "HOSTSMITH_BASE_URL": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

ChatGPT 只能连接互联网上的服务器:

  1. 打开网页版 ChatGPT → Settings → Connectors (Apps)
  2. 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
  3. 粘贴下面的地址,起个名字,然后保存
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Create2https://…3
https://mcp.hostsmith.net/mcp

菜单名称可能因套餐和版本不同而略有差异。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • HOSTSMITH_URL env
    Hostsmith app URL (OAuth endpoints).
  • HOSTSMITH_API_DOMAIN env
    Override the upstream API domain across both partitions; 'us.api.' and 'eu.api.' are prepended to this value.
  • HOSTSMITH_BASE_URL env
    Override the API base URL with a single fixed value, bypassing partition selection entirely.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 hostsmith 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    端点有响应

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    使用 OAuth 登录

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 1386 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1386 个服务器的 75% 更新
  • 基础检查结果等于或优于此分类中其他 1386 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Hostsmith MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.6.1)于15天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

电脑或云端★ 34,245MIT3天前更新
安装

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

在你的电脑上运行★ 10,225MIT15天前更新
安装

Cloudflare MCP

作者:cloudflare

Cloudflare MCP servers

在云端运行★ 4,446Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

@hostsmith/mcp-server

Official Model Context Protocol server for the Hostsmith hosting platform.

Static hosting for agents - give it a file, get a live URL. Claude Code shipping an HTML report. Cursor previewing a generated demo. Claude publishing a one-pager from claude.ai or Desktop. One MCP call → public HTTPS URL in seconds. No repo, no CI, no build step. Custom domains, private sites, EU or US data residency.

Why Hostsmith
  • Artifact-first. No repo, no build config - drop a file (or have the agent generate one), get a URL.
  • Built for agents. MCP-native, OAuth-scoped, structured tool descriptions agents can chain.
  • EU or US data residency. Pick where the user's data lives, architecturally - not via a checkbox.

Tools

ToolDescription
list_sitesList all sites in your account for a given data partition
get_siteGet details of a specific site
create_siteCreate a new site
delete_siteDelete a site
list_domainsList available domains (shared and custom)
get_accountGet account info, subscription plan, and usage
deploy_filesDeploy inline file contents to a site
deploy_create_uploadStart a direct upload for binaries / large files
deploy_finalizeCommit a deploy started with deploy_create_upload

Usage

Authentication is via OAuth 2.0. Static access tokens are not supported.

Claude (claude.ai, Desktop, Cowork, mobile)

Add Hostsmith once as a custom connector and it works in every Claude app on your account.

  1. In Claude, open Customize > Connectors, click + Add, then Add custom connector.
  2. Enter Hostsmith as the name and paste the MCP server URL:
   https://mcp.hostsmith.net/mcp
  1. Click Continue, finish adding the connector, then connect it. Claude opens Hostsmith in your browser to authorize the connector against your Hostsmith account.

Free Claude plans allow one custom connector. On Team and Enterprise plans, an owner adds the connector under Organization settings > Connectors, and each member then clicks Connect next to Hostsmith under Customize > Connectors to sign in with their own Hostsmith account.

Claude asks for your approval before each tool call. To change that, open Hostsmith under Customize > Connectors and set its Tool permissions.

To revoke, open Hostsmith under Customize > Connectors, click ⋯, then Remove (Team and Enterprise owners: Organization settings > Connectors). To force a re-auth, click Disconnect, then Connect.

Stdio (Claude Code, Cursor, Cline, Windsurf, Zed)

Add this entry to your MCP client's config:

{

"mcpServers": { "hostsmith": { "command": "npx", "args": ["-y", "@hostsmith/mcp-server"] } } }

The first tool call triggers an OAuth flow in your browser to authorize the server against your Hostsmith account.

Remote URL (other clients)

Any MCP client that supports remote Streamable HTTP transport can point directly at the hosted server:

{

"mcpServers": { "hostsmith": { "url": "https://mcp.hostsmith.net/mcp" } } }

The client handles the OAuth flow automatically - you'll be redirected to Hostsmith to authorize access.

Claude Code can use the hosted server directly too:

claude mcp add --transport http hostsmith https://mcp.hostsmith.net/mcp
Cursor (one-click install)

Click the badge to add the remote Hostsmith server (https://mcp.hostsmith.net/mcp) to Cursor. The first tool call triggers OAuth in your browser.

Local HTTP (self-hosted)

Run the server in HTTP mode and have your MCP client perform OAuth against it:

npx @hostsmith/mcp-server http
{

"mcpServers": { "hostsmith": { "url": "http://localhost:3100/mcp" } } }

Embedding the HTTP handler

createFetchHandler returns a Web-Standard (req: Request) => Promise handler, for hosting the server in your own runtime (a Lambda, an edge worker, a Node server). It reads no environment variables; pass the configuration:

import { createFetchHandler } from "@hostsmith/mcp-server";

const handler = createFetchHandler({ hostsmithUrl: "https://hostsmith.net", mcpBaseUrl: "https://mcp.example.com", // Optional: called for every authenticated MCP request with that // request's new McpServer and the access token's decoded claims, // before the server handles the request. onServer: async (server, { claims }) => { // e.g. attach your own instrumentation to server }, });

onServer is awaited. If it throws, the error is logged and the request is handled as if there were no hook. The claims are decoded, not verified; the Hostsmith API verifies the token on every tool call. Hostsmith's hosted server at mcp.hostsmith.net uses this hook for its usage analytics. The package itself contains no analytics client and sends no telemetry, and the CLI passes no hook.

Environment variables

VariableDefaultDescription
HOSTSMITH_URLhttps://hostsmith.netHostsmith app URL (OAuth endpoints).
HOSTSMITH_API_DOMAIN-Override the upstream API domain across both partitions. The server prepends us.api. and eu.api. to the value you set. Example: HOSTSMITH_API_DOMAIN=staging.example.com routes calls to https://us.api.staging.example.com and https://eu.api.staging.example.com. Use this to point at a staging or proxied API host.
HOSTSMITH_BASE_URL-Override the API base URL with a single fixed value, bypassing partition selection entirely.
PORT3100HTTP server port.
MCP_BASE_URLhttp://localhost:$PORTPublic URL of the MCP server, used in OAuth metadata.

Network access

The MCP transport and OAuth flow run in your client's app process and need no agent-sandbox configuration - if your MCP client connected, those paths are working.

The one place sandboxed agents commonly fail is the upload PUT during deploy_create_upload + deploy_finalize: the bytes go from the agent's shell to the partition API host. From the agent terminal, allow outbound HTTPS (port 443) to:

  • us.api.hostsmith.net (for sites in the us partition)
  • eu.api.hostsmith.net (for sites in the eu partition)

Sandbox-specific snippets (Cursor sandbox.json, Claude Code settings.json, Codex config.toml, generic firewall guidance) live in the Network access docs.

The server's own calls to the Hostsmith API identify themselves with User-Agent: hostsmith-mcp-server/ hostsmith-js-sdk/ .

Troubleshooting

  • Tool calls return 401: the OAuth session expired. Reconnect from your MCP client to re-authorize.
  • OAuth redirect loops: confirm MCP_BASE_URL matches the URL your MCP client uses to reach the server.
  • Wrong partition: tool calls accept an explicit partition arg; if you omit it, the partition is inferred from your access token.
  • Upload PUT fails (DNS, refused, proxy, timeout): the agent's shell can't reach the partition API host. See Network access.
  • Inspect the install: npx @modelcontextprotocol/inspector npx -y @hostsmith/mcp-server http to browse tools interactively.

Documentation

Deeper material lives at hostsmith.net/docs/mcp.

Contributing

See CONTRIBUTING.md (including the Releases section for the version-stamping flow). Security issues: see SECURITY.md.

License

MIT

问 PopNx