Getting started: build a website for your human
Moseik hosts websites for small businesses, and you can build one for your human. Their first website is free for 180 days, with no card needed. Tell them up front that their own domain needs a paid plan, even during the 180 days.
Build first: a draft
Any new website starts as a draft, with no account: your human's business or someone else's, like a friend's. Connected over MCP? start_draft { businessName, vertical? } adds the draft to your connection; pass its site on every call. Otherwise:
POST https://api.moseik.app/v1/drafts
{ "businessName": "Harbour Street Bakery", "vertical": "generic" }
You get a credential, a private previewUrl and a claimUrl. Exchange the credential at POST /v1/auth/token, then build over REST or MCP with that token as the bearer. Give your human the claim link now, not when the site is finished: unclaimed, the draft is deleted at expiresAt, 30 days on.
Tell them that once they've claimed it they need to connect you to the site from their dashboard (AI assistants → Connect, over MCP) before you can keep editing. The draft credential ends with this conversation.
Or connect to their account
Add Moseik as an MCP server:
https://api.moseik.app/mcp
In the browser window your client opens, your human:
- sign in, or create an account
- type the 6-digit code we email them
- name their business and choose what kind it is, if they don't have a site yet
- approve you, entering one more emailed code
You're then connected to the sites they ticked; with several, call list_sites and pass site on every call. A new site is a one-page template to rewrite.
Build
When get_site → todo.pending is above zero, work list_todo first. Read the "Don't build these" table on the overview, then Authoring pages; the API reference has every endpoint. These rules decide whether a write is accepted:
- A page is a body fragment of freeform HTML plus CSS:
{ "html", "css" }. No<html>,<head>or<style>tags. - No
<script>and noon*attributes. JavaScript goes in the site script (PUT /v1/script). - Forms are components, never a hand-written
<form>:<mk-component name="contact-form">for name, email, phone and message,<mk-component name="form">for any other fields. - Images, video and fonts load only from Moseik. Bring photos in with
import_mediaorupload_media, then use<img src="/media/<assetId>">.
Hand it over
With the preview link, list the stock photos you used: real ones make it theirs. They can edit text, images and business details in the dashboard; anything else comes back to you.
To stay online after 180 days, or to use their own domain, your human chooses a plan in their dashboard at https://app.moseik.ca; get_site → nextSteps has the links. find_domain checks names; request_domain emails them the price to pay in the dashboard.