Shipsite
Start with a keyword
How it worksRadarKeywordsGalleryPricingDocsMy sitesStart with a keyword
Home/Docs/Drive Shipsite with your AI
Start

Drive Shipsite with your AI

Everything you can do in the Shipsite web app, your own AI can do for you: create a site from an idea, follow the plan and the build, approve decisions, ask for changes in plain words, and put the site live. You create a token, paste one line into your AI tool, and say what you want. A full-access token is you: everything you can do in the browser, your AI can do. Pick read only if it should just look.

Last updated
01

What your AI can do

Your AI talks to Shipsite through a small set of tools that each do what you would do with one click, plus the full catalog of everything else the web app can do. It works with your own account and your own token, so it sees only your sites and can do only what you allowed.

  • Create a site from an idea or a keyword, and start planning it.
  • Tell you, in one line, what a site is doing, what it is waiting for and whose turn it is.
  • Show you the plan or the preview and record your decision.
  • Pass your change requests to Dijiang, the Studio coordinator, in plain words.
  • Wait for the next step without you refreshing a page, and tell you when the preview is ready.
  • Put the site live on your Cloudflare after you say yes.
02

Create a token

A token is a long password for your AI. Create one per tool so you can revoke one without touching the others. It is shown once; Shipsite keeps only a fingerprint of it.

  1. Open AI accessIn the app, go to Connections and choose Let my AI drive Shipsite, or open /app/agent-access.
  2. Name it and pick full access or read onlyFull access (the default) is everything you can do yourself in the browser. Read only sees sites, progress, plans and reports and changes nothing.
  3. Copy it nowThe page shows the token once. Keep it in an environment variable named SHIPSITE_TOKEN; the setup commands below read it from there.
03

Connect Claude Code

Put the token in SHIPSITE_TOKEN once, then add Shipsite. The command reads the variable, so the token never sits in the command itself. Add --scope user to use Shipsite from every folder. In Windows PowerShell use the two PowerShell lines instead: PowerShell reads the variable as $env:SHIPSITE_TOKEN, and with the plain $SHIPSITE_TOKEN the header goes out empty.

Terminal: keep the token
export SHIPSITE_TOKEN="ss_pat_…"
Terminal: add Shipsite
claude mcp add --transport http shipsite https://shipsite.ai/mcp --header "Authorization: Bearer $SHIPSITE_TOKEN"
Windows PowerShell: keep the token
$env:SHIPSITE_TOKEN = "ss_pat_…"
Windows PowerShell: add Shipsite
claude mcp add --transport http shipsite https://shipsite.ai/mcp --header "Authorization: Bearer $env:SHIPSITE_TOKEN"
Check it is connected
claude mcp list
04

Connect Codex

Put the token in an environment variable and add Shipsite to ~/.codex/config.toml. Codex reads the variable each time it starts, so set it where new terminals see it (your shell profile, or setx on Windows) and restart Codex afterwards.

Shell profile
export SHIPSITE_TOKEN="ss_pat_…"
Windows (then open a new terminal)
setx SHIPSITE_TOKEN "ss_pat_…"
~/.codex/config.toml
[mcp_servers.shipsite]
url = "https://shipsite.ai/mcp"
bearer_token_env_var = "SHIPSITE_TOKEN"
05

Connect Cursor and other MCP tools

Cursor reads ~/.cursor/mcp.json (or .cursor/mcp.json in a project). Cursor fills ${env:SHIPSITE_TOKEN} from the environment it was started in, so set the variable in your shell profile (setx on Windows) and restart Cursor. Any tool that supports remote MCP servers over HTTP works the same way: the address is the Shipsite MCP URL and the header carries your token.

~/.cursor/mcp.json
{
  "mcpServers": {
    "shipsite": {
      "url": "https://shipsite.ai/mcp",
      "headers": { "Authorization": "Bearer ${env:SHIPSITE_TOKEN}" }
    }
  }
}
06

Call the API directly

Scripts and tools without MCP can call the same API with the token in the Authorization header. Every route the web app uses is listed in the API catalog for your AI, with the permission it needs.

Who am I
curl -s https://shipsite.ai/api/agent/whoami \
  -H "Authorization: Bearer $SHIPSITE_TOKEN"
One-call status of a site
curl -s https://shipsite.ai/api/projects/prj_…/summary \
  -H "Authorization: Bearer $SHIPSITE_TOKEN"
Start planning (one of the month's plans)
curl -s -X POST https://shipsite.ai/api/projects/prj_…/runs \
  -H "Authorization: Bearer $SHIPSITE_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: plan-beat-maker-1" \
  -d '{"lane":"planning"}'
Fix the site's code (on your model key)
curl -s -X POST https://shipsite.ai/api/projects/prj_…/source-patch   -H "Authorization: Bearer $SHIPSITE_TOKEN"   -H "Content-Type: application/json"   -H "Idempotency-Key: fix-download-1"   -d '{"instruction":"The Download button does nothing on mobile; make it save the file."}'
Wait for the next event (up to 20 s)
curl -s "https://shipsite.ai/api/projects/prj_…/activity/events?after=0&wait=20000&visible=0" \
  -H "Authorization: Bearer $SHIPSITE_TOKEN"
07

The tools

Your AI sees these tools with a description of when to use each, what it may cost, and when to ask you first. Reading is always free.

  • whoami, list_projects, get_status: who the token is for, all your sites with each one's stage, latest run and whose turn it is, and everything about one site in one answer.
  • get_quote: what planning, a chat turn, a redo or a decision will cost, before it starts.
  • create_site, start_run, stop_run: create a site, start or retry planning and building, stop a running step.
  • get_decision, decide_gate: show what is waiting for you and record your answer.
  • ask_change: a plain-words request to Dijiang, with the reply.
  • change_code: have the AI engineer fix or change the site's code from one instruction; it picks the files itself and the result goes to preview and QA.
  • wait_for: hold until something happens, then report it with a fresh status.
  • deploy_to_my_cloudflare: put the approved version live on your Cloudflare.
  • list_api, describe_api, call_api: everything else the web app can do, from the catalog.
08

Permissions and safety

A full-access token is you. Your AI can do what you can do in the browser, no more: Shipsite checks each request exactly like a click from you, so it only ever reaches your own workspace and only with your own role in it. Like any AI you let work for you, it can make mistakes; it is told to quote before spending and to ask you before anything that changes the live site or cannot be undone.

  • Full access (default): everything you can do in the browser, including connections, approvals and going live.
  • Read only: sees sites, progress, plans, previews, reports and quotes; changes nothing.
  • Never reachable with a token: creating or revoking tokens, browser sign-ins, and Shipsite's internal functions.
  • Every change made with a token, and every refused request, is listed on the AI access page. Revoking a token stops it on its next request.
09

A sample session

This is what building a site from Claude Code looks like. The tool names in brackets are what your AI calls; you only type the lines that start with You. The counts are an example.

Claude Code
You: Build me a beat maker site for beginners and tell me when the preview is ready.

Claude: [create_site] Created "Beat Maker". Planning (research, plan, copy and design)
        runs on your own model key and uses 1 of your 20 plans this month. Start it?
You: Yes.
Claude: [start_run lane=planning] Planning started.
        [wait_for until=settled] …
        The plan is ready for you [get_decision]: a free online beat maker with a
        16-step sequencer, 8 drum kits and WAV export; pages: home, tool, guides, pricing.
        Approving starts the build, on your own model key. Go ahead?
You: Go.
Claude: [decide_gate approved] Building.
        [wait_for until=settled] …
        The preview is ready: https://…preview… (quality check passed, 2 warnings).
        Want changes, or shall I prepare it to go live?
You: Make the hero shorter and the play button bigger.
Claude: [ask_change] Dijiang will shorten the hero and enlarge the play button, then
        rebuild the preview. I'll tell you when it's done.
10

Teach your AI the house rules

Shipsite already tells every connected AI how to behave. To make it stick across sessions, drop one of these files into your project: a Claude Code skill, or a section for AGENTS.md (Codex, Cursor and others read it).

.claude/skills/shipsite/SKILL.md
---
name: shipsite
description: Build, change, check and launch websites on Shipsite through its MCP server. Use when the user asks to create a site, see how a site is doing, change a site, or put a site live.
---

# Driving Shipsite

Shipsite builds and runs the user's websites. You act for the user through the `shipsite` MCP server with their access token.

1. Start with `list_projects` for every site's stage, latest run and who it is waiting on in one call, then `get_status` for the site you act on. It says what stage the site is in, what it is waiting on, whose job that is, and which tool to call next.
2. Shipsite charges nothing per action: models run on the user's own accounts. A plan has counts (projects, live sites, launches and plans a month); a start past one is refused with the number, so tell the user and point to upgrading.
3. You act as the user with their own permissions. Before anything that changes the live site or cannot be undone (approving go-live, deploying, deleting), ask the user first; Shipsite will not ask for you.
4. Wait with `wait_for` (it holds up to 50 seconds and returns a cursor). Do not poll in a loop.
5. Ask for changes in plain words with `ask_change`. Shipsite's coordinator plans and routes them. To fix or change the site's code directly, call `change_code` with just the instruction: no file list or version id is needed.
6. If `get_status` says `waitingOn: "shipsite"`, the problem is Shipsite's to fix. Report it; do not ask the user to fix it. If a site waits for the user's own API key (`site_owner_secret_required`), ask the user for it and save it with `call_api` `POST /api/projects/{id}/site-secrets` `{name, value}`; the site resumes by itself.
7. Show the user links: the preview URL, the live URL, and the Studio URL from `get_status`.
8. Anything else the web app can do is in the catalog: `list_api`, `describe_api`, `call_api`.
9. When a call is refused, follow its `next` field. A read-only token cannot change anything; the user can create a full-access token at https://shipsite.ai/app/agent-access.
AGENTS.md
## Shipsite

This project's website is built and run on Shipsite. Use the `shipsite` MCP server (https://shipsite.ai/mcp) to work on it.

- Check first: `get_status` with the project id. Follow its `next` suggestions.
- Plans and launches count against the user's monthly plan numbers; models run on the user's own accounts.
- Ask the user before live-site or irreversible actions (go-live, deploy, delete); the server will not ask for you.
- Wait with `wait_for`, not a polling loop.
- Plain-words changes go through `ask_change`; a code fix goes straight to `change_code` with just the instruction.
- A Shipsite-side problem (`waitingOn: "shipsite"`) is not the user's to fix.
- Everything else: `list_api` / `describe_api` / `call_api`.
FAQ

FAQ

Does connecting my AI cost anything?
No. Tokens, the connection and reading are free. Work your AI starts runs on your own model keys and counts against your plan exactly as it would from Studio: a plan or a launch is one of the month's plans or launches.
Can my AI put my site live without asking?
With a full-access token it can, as you can. It is told to ask you before going live, deploying or deleting, and Shipsite still requires the quality check and the release decision a launch always needs. If you only want it to look, give it a read-only token.
The AI says something failed on Shipsite's side. What do I do?
Nothing. A problem on Shipsite's side is Shipsite's to fix; it retries or picks the work up again once fixed. Your AI tells you when the site moves on.
Which AI tools work?
Any tool that supports remote MCP servers over HTTP, including Claude Code, Codex and Cursor, plus anything that can send an HTTP request with a header.