GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Deploy static sites on Hostsmith - give it a file, get a live HTTPS URL. EU/US residency.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
HOSTSMITH_URL, HOSTSMITH_API_DOMAIN, HOSTSMITH_BASE_URL你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
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/mcpclaude 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/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"hostsmith": {
"url": "https://mcp.hostsmith.net/mcp"
}
}
}粘贴到项目中的 .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"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"hostsmith": {
"type": "http",
"url": "https://mcp.hostsmith.net/mcp"
}
}
}粘贴到项目中的 .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 只能连接互联网上的服务器:
https://mcp.hostsmith.net/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
HOSTSMITH_URL envHOSTSMITH_API_DOMAIN envHOSTSMITH_BASE_URL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 hostsmith 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 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
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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.
| Tool | Description |
|---|---|
list_sites | List all sites in your account for a given data partition |
get_site | Get details of a specific site |
create_site | Create a new site |
delete_site | Delete a site |
list_domains | List available domains (shared and custom) |
get_account | Get account info, subscription plan, and usage |
deploy_files | Deploy inline file contents to a site |
deploy_create_upload | Start a direct upload for binaries / large files |
deploy_finalize | Commit a deploy started with deploy_create_upload |
Authentication is via OAuth 2.0. Static access tokens are not supported.
Add Hostsmith once as a custom connector and it works in every Claude app on your account.
Hostsmith as the name and paste the MCP server URL: https://mcp.hostsmith.net/mcp
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.
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.
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
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.
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" } } }
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.
| Variable | Default | Description |
|---|---|---|
HOSTSMITH_URL | https://hostsmith.net | Hostsmith 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. |
PORT | 3100 | HTTP server port. |
MCP_BASE_URL | http://localhost:$PORT | Public URL of the MCP server, used in OAuth metadata. |
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/ .
MCP_BASE_URL matches the URL your MCP client uses to reach the server.partition arg; if you omit it, the partition is inferred from your access token.npx @modelcontextprotocol/inspector npx -y @hostsmith/mcp-server http to browse tools interactively.Deeper material lives at hostsmith.net/docs/mcp.
See CONTRIBUTING.md (including the Releases section for the version-stamping flow). Security issues: see SECURITY.md.
MIT