Hostsmith MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_sitesA | List Hostsmith sites in the user's account. Returns each site's |
| list_domainsA | List domains the user can host sites under. Returns shared hosting domains (e.g. |
| get_accountA | Get the user's account: organization details ( |
| get_siteA | Get full details of a specific Hostsmith site by ID, including its public URL ( |
| create_siteA | Create a new Hostsmith site and return its
Subdomain selection must respect the domain's capabilities from |
| delete_siteA | Permanently delete a Hostsmith site and all of its deployed files. Destructive - only call after explicit user confirmation. The site URL becomes unreachable immediately and the content cannot be recovered. The user must pass |
| deploy_filesA | Publish in-memory file contents to a Hostsmith site without writing to disk. Use when you have just generated content (an HTML page, a report, JSON data) and the user wants it live. Returns the deployment version and status; call Anti-pattern: do not use this tool to ship binaries (images, PDFs, video, fonts, zips) by base64-embedding or data-URI inlining them into HTML/CSS/JSON. Binaries belong on |
| deploy_create_uploadA | Start a direct-to-S3 upload for binary or large files. Use this instead of Bundle into a zip first when: the upload contains more than 3 files OR any file is larger than ~1 MB. The fileWorker auto-extracts a single-zip upload after promotion, so subdirectories are preserved end-to-end and you avoid one PUT round-trip per file. Skip zipping only for the trivial single-small-file case (e.g. one HTML). Bash bundle-and-deploy template (the agent should adapt fileNames and the cleanup prompt):
TMP=$(mktemp -d)
zip -r "$TMP/site.zip" index.html styles.css img/ # add every file/dir to deploy
SIZE=$(stat -c%s "$TMP/site.zip" 2>/dev/null || stat -f%z "$TMP/site.zip")
# 1. call deploy_create_upload with { siteId, files: [{ fileName: "site.zip", fileSize: $SIZE }] }
# 2. PUT $TMP/site.zip to the returned URL(s) per the protocol below, capturing ETag
# 3. call deploy_finalize with { siteId, versionId, completions: [...] }
# 4. ASK THE USER: "Deploy succeeded. Remove temp folder $TMP? [y/N]"
# Only run Three-step protocol:
The site must already exist - call Anti-patterns - never do these to bypass a blocked or unavailable upload path:
Recovery escalation order when a PUT fails with a network/DNS error (connection refused, name resolution failure, timeout, sandbox-denied, proxy 403/407) OR your host environment has no HTTP-PUT capability at all (no bash/curl, no Python
Egress allowlist instructions for step 1:
|
| deploy_finalizeA | Commit a deploy started with |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hostsmith/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server