[{"data":1,"prerenderedAt":360},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fmcp":3,"docs-navigation":288,"docs-surround-\u002Fdocs\u002Fmcp":357},{"id":4,"title":5,"body":6,"description":279,"extension":280,"icon":281,"meta":282,"navigation":283,"path":284,"seo":285,"stem":286,"__hash__":287},"docs\u002Fdocs\u002F2.mcp\u002Findex.md","MCP",{"type":7,"value":8,"toc":271},"minimark",[9,14,26,42,47,80,84,154,158,202,206],[10,11,13],"h1",{"id":12},"hostsmith-mcp-server","Hostsmith MCP server",[15,16,17,18,25],"p",{},"Hostsmith ships an official ",[19,20,24],"a",{"href":21,"rel":22},"https:\u002F\u002Fmodelcontextprotocol.io",[23],"nofollow","Model Context Protocol"," server so AI agents can publish files as live HTTPS URLs without a repo, build step, or CI pipeline. Install it once in your client, run the OAuth flow, and your agent can create sites, deploy artifacts, and manage custom domains directly.",[27,28,30],"callout",{"type":29},"warning",[15,31,32,36,37,41],{},[33,34,35],"strong",{},"AI agents can make mistakes."," They may deploy the wrong file, overwrite a site you wanted to keep, delete a site that looked unused, or pick the wrong data partition. Review each tool call before approving destructive actions, and treat any agent-driven deploy as something you might need to undo. Hostsmith and ops42 OU are not liable for damages caused by AI-generated actions - see the ",[19,38,40],{"href":39},"\u002Fterms-of-service","Terms of Service",".",[43,44,46],"h2",{"id":45},"why-use-the-mcp-server","Why use the MCP server",[48,49,50,57,63,69],"ul",{},[51,52,53,56],"li",{},[33,54,55],{},"Artifact-first."," Generate a file in your agent, get a public URL back. No git push, no deploy script.",[51,58,59,62],{},[33,60,61],{},"Native to your client."," Works with Claude Desktop connectors, stdio (Claude Code, Cursor, Cline, Windsurf, Zed), and any MCP-compatible Streamable-HTTP client.",[51,64,65,68],{},[33,66,67],{},"Scoped OAuth, not API keys."," The user authorizes the server once in the browser. No long-lived secrets in client config.",[51,70,71,74,75,79],{},[33,72,73],{},"Multi-partition aware."," Tools accept an explicit ",[76,77,78],"code",{},"partition"," argument; otherwise the server uses the home partition encoded in your access token.",[43,81,83],{"id":82},"supported-clients","Supported clients",[85,86,87,103],"table",{},[88,89,90],"thead",{},[91,92,93,97,100],"tr",{},[94,95,96],"th",{},"Client",[94,98,99],{},"Transport",[94,101,102],{},"Setup",[104,105,106,118,131,141],"tbody",{},[91,107,108,112,115],{},[109,110,111],"td",{},"Claude Desktop",[109,113,114],{},"Streamable HTTP",[109,116,117],{},"Custom connector URL",[91,119,120,123,126],{},[109,121,122],{},"Claude Code, Cursor, Cline, Windsurf, Zed",[109,124,125],{},"stdio",[109,127,128],{},[76,129,130],{},"npx @hostsmith\u002Fmcp-server",[91,132,133,136,138],{},[109,134,135],{},"Other MCP clients with Streamable-HTTP support",[109,137,114],{},[109,139,140],{},"Remote URL",[91,142,143,146,149],{},[109,144,145],{},"Self-hosted",[109,147,148],{},"HTTP",[109,150,151],{},[76,152,153],{},"npx @hostsmith\u002Fmcp-server http",[43,155,157],{"id":156},"when-to-use-mcp-vs-the-rest-api-or-sdk","When to use MCP vs the REST API or SDK",[85,159,160,170],{},[88,161,162],{},[91,163,164,167],{},[94,165,166],{},"You want to...",[94,168,169],{},"Use",[104,171,172,179,186,194],{},[91,173,174,177],{},[109,175,176],{},"Deploy an artifact your agent just generated",[109,178,5],{},[91,180,181,184],{},[109,182,183],{},"Let a chat user manage their sites by typing in the chat",[109,185,5],{},[91,187,188,191],{},[109,189,190],{},"Build a backend integration or CI pipeline",[109,192,193],{},"REST API",[91,195,196,199],{},[109,197,198],{},"Build a TypeScript or JavaScript client",[109,200,201],{},"JS SDK",[43,203,205],{"id":204},"where-to-next","Where to next",[48,207,208,217,226,235,244,253,262],{},[51,209,210,216],{},[33,211,212],{},[19,213,215],{"href":214},"\u002Fdocs\u002Fmcp\u002Fquick-start","Quick start"," - install in your client and ship your first deploy in under a minute.",[51,218,219,225],{},[33,220,221],{},[19,222,224],{"href":223},"\u002Fdocs\u002Fmcp\u002Fclients","Clients"," - one-time setup for each supported client.",[51,227,228,234],{},[33,229,230],{},[19,231,233],{"href":232},"\u002Fdocs\u002Fmcp\u002Fauthentication","Authentication"," - how OAuth works for the MCP server, what scopes are requested, and how to revoke access.",[51,236,237,243],{},[33,238,239],{},[19,240,242],{"href":241},"\u002Fdocs\u002Fmcp\u002Ftools","Tools"," - reference for every tool the server exposes.",[51,245,246,252],{},[33,247,248],{},[19,249,251],{"href":250},"\u002Fdocs\u002Fmcp\u002Frecipes","Recipes"," - task-shaped how-tos for the things people actually want to do.",[51,254,255,261],{},[33,256,257],{},[19,258,260],{"href":259},"\u002Fdocs\u002Fmcp\u002Flimits-and-errors","Limits and errors"," - quotas, error taxonomy, and retry guidance.",[51,263,264,270],{},[33,265,266],{},[19,267,269],{"href":268},"\u002Fdocs\u002Fmcp\u002Ffaq","FAQ"," - the questions that come up most often.",{"title":272,"searchDepth":273,"depth":273,"links":274},"",2,[275,276,277,278],{"id":45,"depth":273,"text":46},{"id":82,"depth":273,"text":83},{"id":156,"depth":273,"text":157},{"id":204,"depth":273,"text":205},"Use Hostsmith from any MCP-capable agent - Claude Desktop, Claude Code, Cursor, and more.","md","solar:plug-circle-bold",{},{"title":5,"icon":281},"\u002Fdocs\u002Fmcp",{"title":5,"description":279},"docs\u002F2.mcp\u002Findex","2YWag_TLiKZQ8zpbgaxU9LO4PZ8epqzkMhSA_tEhhM0",[289],{"title":290,"path":291,"stem":292,"children":293,"page":356},"Docs","\u002Fdocs","docs",[294,321,338],{"title":295,"path":296,"stem":297,"children":298,"page":-1,"icon":300},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002Findex",[299,301,305,309,313,317],{"title":295,"path":296,"stem":297,"icon":300},"solar:rocket-bold",{"title":302,"path":303,"stem":304},"Introduction","\u002Fdocs\u002Fgetting-started\u002Fintroduction","docs\u002F1.getting-started\u002F1.introduction",{"title":306,"path":307,"stem":308},"Quick Start","\u002Fdocs\u002Fgetting-started\u002Fquick-start","docs\u002F1.getting-started\u002F2.quick-start",{"title":310,"path":311,"stem":312},"Sites","\u002Fdocs\u002Fgetting-started\u002Fsites","docs\u002F1.getting-started\u002F3.sites",{"title":314,"path":315,"stem":316},"Custom Domains","\u002Fdocs\u002Fgetting-started\u002Fcustom-domains","docs\u002F1.getting-started\u002F4.custom-domains",{"title":318,"path":319,"stem":320},"Support","\u002Fdocs\u002Fgetting-started\u002Fsupport","docs\u002F1.getting-started\u002F5.support",{"title":5,"path":284,"stem":286,"children":322,"page":-1,"icon":281},[323,324,326,328,330,332,334,336],{"title":5,"path":284,"stem":286,"icon":281},{"title":215,"path":214,"stem":325},"docs\u002F2.mcp\u002F1.quick-start",{"title":224,"path":223,"stem":327},"docs\u002F2.mcp\u002F2.clients",{"title":233,"path":232,"stem":329},"docs\u002F2.mcp\u002F3.authentication",{"title":242,"path":241,"stem":331},"docs\u002F2.mcp\u002F4.tools",{"title":251,"path":250,"stem":333},"docs\u002F2.mcp\u002F5.recipes",{"title":260,"path":259,"stem":335},"docs\u002F2.mcp\u002F6.limits-and-errors",{"title":269,"path":268,"stem":337},"docs\u002F2.mcp\u002F7.faq",{"title":339,"path":340,"stem":341,"children":342,"page":-1,"icon":344},"Developers","\u002Fdocs\u002Fdevelopers","docs\u002F3.developers\u002Findex",[343,345,348,352],{"title":339,"path":340,"stem":341,"icon":344},"solar:code-bold",{"title":233,"path":346,"stem":347},"\u002Fdocs\u002Fdevelopers\u002Fauthentication","docs\u002F3.developers\u002F1.authentication",{"title":349,"path":350,"stem":351},"API Explorer","\u002Fdocs\u002Fdevelopers\u002Fapi-explorer","docs\u002F3.developers\u002F2.api-explorer",{"title":353,"path":354,"stem":355},"Node.js SDK","\u002Fdocs\u002Fdevelopers\u002Fsdk","docs\u002F3.developers\u002F3.sdk",false,[358,359],{"title":318,"path":319,"stem":320,"children":-1},{"title":215,"path":214,"stem":325,"children":-1},1778091982712]