저장소나 빌드 단계 없이 AI agent에서 직접 정적 사이트와 파일을 라이브 HTTPS URL로 배포합니다.
다른 이름 hostsmith/mcp-server, @hostsmith/mcp-server
- 스타
- 0
- Tools
- 16
- 다운로드, 30일
- 1,637
- 최신 버전
- 1.8.0
- 마지막 커밋
- 2026년 11월 14일
- 라이선스
- MIT
Hostsmith MCP란?
Hostsmith은(는) MCP server입니다. 저장소나 빌드 단계 없이 AI agent에서 직접 정적 사이트와 파일을 라이브 HTTPS URL로 배포합니다. 16개 도구를 제공합니다. 예: list_sites, get_site, create_site.
프로젝트 README에서 생성된 요약
Hostsmith MCP server 정보
이 MCP server는 AI agent에서 직접 정적 웹사이트와 파일을 라이브 HTTPS URL로 배포할 수 있는 기능을 제공합니다. 개발자는 저장소, 빌드 설정 또는 CI 파이프라인을 관리할 필요 없이 생성된 파일을 몇 초 만에 공개 웹 페이지로 전환할 수 있습니다. 이 server는 agent가 HTML 보고서, 데모 또는 원페이저를 즉시 호스팅할 수 있는 아티팩트 중심 워크플로우를 위해 설계되었습니다.
사용자는 Claude Desktop, claude.ai, Cursor 또는 Claude Code 및 Windsurf와 같은 도구를 위한 stdio를 통해 연결할 수 있습니다. 인증은 OAuth 2.0을 통해 처리되며, 정적 토큰 대신 브라우저 기반 인증 흐름이 필요합니다. 이 server는 npx를 통한 로컬 설치와 호스팅된 URL을 통한 원격 연결을 모두 지원합니다. 사이트 생성, 삭제, 목록 조회는 물론 리다이렉트 및 파일 배포 관리를 포함하여 사이트 관리에 대한 세밀한 제어를 제공합니다. 또한 특정 아키텍처 요구 사항을 충족하기 위해 US 또는 EU 데이터 거주지를 선택할 수 있습니다.
활용 사례
- 1생성된 웹 데모 게시AI agent가 생성된 HTML 파일을 가져와 즉시 미리 볼 수 있도록 라이브 URL에 호스팅할 수 있습니다.
- 2HTML 보고서 즉시 배포개발자는 Claude Code를 사용하여 데이터 보고서를 공개 HTTPS 주소로 직접 전송할 수 있습니다.
- 3사이트 리다이렉트 규칙 관리커스텀 도메인에 대한 특정 URL 리다이렉트 규칙을 추가, 업데이트 또는 삭제하도록 agent에게 지시할 수 있습니다.
- 4대용량 바이너리 업로드 처리이 server는 대용량 파일 또는 바이너리의 직접 업로드를 관리하기 위한 전용 도구를 제공합니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
Hostsmith MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 Hostsmith MCP 설치
$ claude mcp add mcp-server -- npx -y @hostsmith/mcp-serverCursor에 Hostsmith MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@hostsmith/mcp-server"
]
}
}
}VS Code에 Hostsmith MCP 설치
.vscode/mcp.json
{
"servers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hostsmith/mcp-server"
]
}
}
}VS Code CLI에 Hostsmith MCP 설치
$ code --add-mcp '{"name":"mcp-server","type":"stdio","command":"npx","args":["-y","@hostsmith/mcp-server"]}'Claude Desktop에 Hostsmith MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@hostsmith/mcp-server"
]
}
}
}Codex에 Hostsmith MCP 설치
$ codex mcp add mcp-server -- npx -y @hostsmith/mcp-serverCodex config.toml에 Hostsmith MCP 설치
~/.codex/config.toml
[mcp_servers.mcp-server] command = "npx" args = ["-y", "@hostsmith/mcp-server"]
Gemini CLI에 Hostsmith MCP 설치
$ gemini mcp add -s user mcp-server npx -- -y @hostsmith/mcp-serverGemini settings.json에 Hostsmith MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@hostsmith/mcp-server"
]
}
}
}Hostsmith MCP 도구 16
README에서 감지됨list_sitesget_sitecreate_sitedelete_sitelist_domainsget_accountdeploy_filesdeploy_create_uploaddeploy_finalizelist_redirectsset_redirectsedit_redirects
| list_sites | — | |
| get_site | — | |
| create_site | — | |
| delete_site | — | |
| list_domains | — | |
| get_account | — | |
| deploy_files | — | |
| deploy_create_upload | — | |
| deploy_finalize | — | |
| list_redirects | — | |
| set_redirects | — | |
| edit_redirects | — |
도구 16개 모두 보기도구 수 줄이기
add_redirectdelete_redirectswitch_file_redirectstest_redirect
| add_redirect | — | |
| delete_redirect | — | |
| switch_file_redirects | — | |
| test_redirect | — |
구성
HOSTSMITH_API_DOMAINOverride the upstream API domain across both partitions; 'us.api.' and 'eu.api.' are prepended to this value.
HOSTSMITH_BASE_URLOverride the API base URL with a single fixed value, bypassing partition selection entirely.
HOSTSMITH_URLHostsmith app URL (OAuth endpoints).
| 이름 | 설명 | 유형 |
|---|---|---|
| HOSTSMITH_API_DOMAIN | Override the upstream API domain across both partitions; 'us.api.' and 'eu.api.' are prepended to this value. | |
| HOSTSMITH_BASE_URL | Override the API base URL with a single fixed value, bypassing partition selection entirely. | |
| HOSTSMITH_URL | Hostsmith app URL (OAuth endpoints). |
자동 검사
2026년 11월 13일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능통과
- 오픈 소스 라이선스 (OSI)통과
- 최근 1년 내 커밋 또는 릴리스통과
- 패키지 이름이 인기 패키지와 유사하지 않음통과
- 원격 엔드포인트가 HTTPS 사용통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 모델에 대한 숨겨진 지침 없음통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음통과
README
GitHub에서 보기@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
| 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, or a redirect host |
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 |
list_redirects |
List a site's redirect rules, in the order they are checked |
set_redirects |
Replace a site's user redirect rules, from rules or _redirects text |
edit_redirects |
Add, update and delete user redirect rules in one batch |
add_redirect |
Add one user redirect rule |
delete_redirect |
Delete one user redirect rule |
switch_file_redirects |
Switch the live deploy's _redirects rules off or back on |
test_redirect |
Test a path against the live or draft redirect rules |
Redirects apply only on your organization's own custom domains. User rules, kept on the hostname and changed through these tools, are checked before the live deploy's _redirects.
To forward a hostname with no content of its own, such as a retired domain or a campaign link, create a redirect host: create_site with kind: "redirect", then add its rules. A redirect host serves only its rules and takes no deploys. It doesn't count toward your plan's site limit; an organization can have up to 50.
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.
-
In Claude, open Customize > Connectors, click + Add, then Add custom connector.
-
Enter
Hostsmithas the name and paste the MCP server URL:https://mcp.hostsmith.net/mcp -
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<Response> 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
| 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. |
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 theuspartition)eu.api.hostsmith.net(for sites in theeupartition)
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/<version> hostsmith-js-sdk/<version>.
Troubleshooting
- Tool calls return 401: the OAuth session expired. Reconnect from your MCP client to re-authorize.
- OAuth redirect loops: confirm
MCP_BASE_URLmatches the URL your MCP client uses to reach the server. - Wrong partition: tool calls accept an explicit
partitionarg; 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 httpto 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
Hostsmith MCP 질문
Hostsmith MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add mcp-server -- npx -y @hostsmith/mcp-server를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
Hostsmith MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
Hostsmith MCP는 어떤 도구를 제공하나요?
16개 도구를 제공합니다. 예: list_sites, get_site, create_site, delete_site, list_domains.
데이터 저장 위치를 선택할 수 있나요?
네, 사이트의 데이터 거주지를 EU 또는 US 중에서 선택할 수 있습니다.