Documentation

Everything you need to get started with ooda.

Also available as plain markdown for LLMs.

Getting started

ooda lets your team publish prototypes, tools, and sites to the web safely, from any agent. Your coding agent runs the ooda CLI, and ooda publish ships a built site to a private, shareable URL.

The setup depends on where your agent runs:

  • Local agents run on your computer, for example Claude Code in your terminal, Cursor or the Codex CLI.
  • Cloud agents run in a sandbox, for example Claude Code on the web, Codex, ChatGPT or Claude.ai.
  • Claude and ChatGPT can also publish straight from a chat, with no CLI, once you add ooda's MCP server as a connector.

Local agents

1. Install the CLI and sign in. You do this once. The session stays on your computer.

$ curl -fsSL https://ooda.run/install | sh
$ ooda login

macOS and Linux. No Node.js needed.

ooda login emails you a sign-in code. If you belong to several teams, see Several teams.

2. Give your agent the ooda skill and publish. Open your agent in the folder of your site and tell it:

Fetch https://ooda.run/skill.md and follow its instructions. Then build this project, publish it with ooda publish, and share the live URL with me.

You can also publish yourself: from a built site, run ooda publish.

Cloud agents

1. Let the sandbox reach ooda. Most sandboxes block ooda by default. Set up the network once for each environment:

  1. Open the environment settings of the cloud session.
  2. Set Network access to Custom.
  3. Add ooda.run and *.ooda.run to Allowed domains, one on each line.
  4. Select Also include default list of common package managers, so that the agent can install the CLI with npm.

The setting is per environment. It applies to Claude Code on the web, the desktop and mobile apps, and claude --cloud.

2. Add an access token to the environment. The sandbox keeps no session, so a sign-in does not stay between sessions. An access token signs the CLI in with no email code:

  1. Open Create a token in the dashboard. The link fills in Read sites and Publish sites, which are sufficient to publish. Check the choices, then click Create token.
  2. Copy the OODA_TOKEN=… line. The token appears only once.
  3. Paste the line into the environment variables of the sandbox, not into the chat. Then start a new session, because a running session does not get the variable.

In Claude Code on the web, the field is Environment variables in the environment settings. In Codex, use Environment variables, not Secrets: Codex removes secrets before the agent starts. ChatGPT and Claude.ai have no environment variables, so use an email code, or skip the sandbox and add the ooda connector.

If you belong to several teams, choose a Default organisation when you create the token, or add OODA_ORG_ID=<org-id> on a second line. A token acts as you, so everyone who can use the environment can use the token. Revoke a token on the Account page if it leaks.

3. Give your agent the ooda skill and publish. Tell it:

Install the ooda CLI with npm install -g @oodarun/cli, then fetch https://ooda.run/skill.md and follow its instructions. Then build this project, publish it with ooda publish, and share the live URL with me.

The CLI reads OODA_TOKEN by itself, so the agent does not run ooda login. Run ooda whoami to see the account and the team.

Without a token: sign in with an email code. Tell the agent to sign you in with ooda login and to ask you for your email and the code from your inbox. The agent requests the code, you paste it into the chat, and the agent verifies it. Do this in each new session:

$ npm install -g @oodarun/cli
$ ooda login --email you@example.com --json
$ ooda login --email you@example.com --code 123456 --json
$ ooda publish ./dist --json

A new code cancels the earlier codes, so paste the code from the latest email. If your account is in several teams, the CLI selects one and lists the others. Add --org <org-id> to the verify step to choose, or run ooda switch <org-id> after it.

A sandbox installs the CLI with npm, not with the standalone installer. The sandboxes include Node.js and allow the npm registry, and the Node CLI uses the proxy that HTTPS_PROXY names. Some sandbox proxies do not work with the standalone binary. If an older CLI fails with fetch failed, update it, or set NODE_USE_ENV_PROXY=1.

MCP server

ooda has a remote MCP server, so Claude, Claude Code, ChatGPT, Codex, Gemini, Cursor, Grok and other MCP clients can publish from a chat with no CLI and no sandbox setup. Add it as a connector once. Then ask for a page, and the chat builds it and publishes it to your team. The MCP server's address is:

https://api.ooda.run/mcp

Claude (claude.ai, the desktop and mobile apps):

  1. Open Settings → Connectors and click Add custom connector.
  2. Name it ooda, enter the address above, and click Continue.
  3. Choose Sign in now and keep the recommended OAuth client. Click Add, then Connect.

On Team and Enterprise plans, an Owner adds the connector under Organization settings → Connectors, and each person clicks Connect to sign in as themselves.

Claude Code: add the server, then run /mcp in Claude Code and sign in to ooda.

claude mcp add --transport http ooda https://api.ooda.run/mcp

ChatGPT (set up on chatgpt.com; the connector then works in the apps too):

  1. Turn on Settings → Apps & Connectors → Advanced settings → Developer mode. Your plan must include it, and in a workspace an admin may need to allow it.
  2. In Apps & Connectors, click Create. Name it ooda, enter the address above, and set authentication to OAuth.

Codex (the CLI and the IDE extension share one config). Add the server, then sign in:

codex mcp add ooda --url https://api.ooda.run/mcp
codex mcp login ooda

Gemini (set up on gemini.google.com; the app then works on your phone too). Open Settings → Connected Apps, click Add a custom app under Custom apps, enter the address above and click Next to sign in. Custom apps need a personal Google account. Type @ooda in a chat to use it.

Gemini CLI: add the server, then run /mcp auth ooda in Gemini CLI and sign in to ooda.

gemini mcp add --transport http -s user ooda https://api.ooda.run/mcp

Cursor: add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project to share it with everyone who opens that project. Then open Settings → MCP and sign in to ooda when Cursor asks.

{
  "mcpServers": {
    "ooda": { "url": "https://api.ooda.run/mcp" }
  }
}

For a Cursor team, so Cloud Agents and Grok Bot get ooda too: an admin pastes the same entry into Dashboard → Plugins & MCPs → Team MCP servers, then clicks Add to Team Marketplace so it shows up for everyone. Leave out headers and tokens. Each person signs in to ooda as themselves the first time they use it.

Grok Bot (the desktop app; the connector then works on your phone too):

  1. Open Connect apps in the sidebar and click Add a custom connector at the bottom. If your Cursor team already added ooda, it is in the list: click it and skip to step 3.
  2. Name it ooda, choose Remote HTTPS, and enter the address above as the Server URL. Leave HTTP headers and Client ID empty. Click Add plugin.
  3. Click Authenticate on ooda and finish the sign-in in your browser within 10 minutes. ooda shows Installed when it is connected.

You can also ask your Bot to “add a custom MCP server called ooda at https://api.ooda.run/mcp”, then click Connect on the card it shows. If ooda shows Disabled by team admin, ask a Cursor team admin to allow it under Plugins & MCPs.

Grok on grok.com: open Connectors, click New Connector, choose Custom and enter the address above.

Each app then opens ooda's sign-in page. Choose the team the connection is for and click Approve. A connection acts as you, in that one team, with the permissions the page lists. Disconnect it any time under Connected apps on your Account page.

In a chat, the connector can publish a site, list your team's sites, read a site's files to change them, set who can open a site, set variables and secrets, and delete a site after you confirm. It suits small sites built in the chat, a few files and well under 1 MB. To publish a project from your computer, use the CLI.

Agent skill

The ooda agent skill teaches your agent to publish sites, manage them and sign in, with no questions to you. The skill is hosted at ooda.run/skill.md, so it needs no install. The prompts above tell the agent to fetch it.

To load the skill automatically in every session, install it into the agent's skills directory with the skills CLI:

# Global (all projects)
$ npx skills add toy-studio/ooda-skills -g

# Or per-project
$ npx skills add toy-studio/ooda-skills

Source and details: github.com/toy-studio/ooda-skills.

Publishing sites

Publish a built static site to a gated, shareable URL with one command: ooda publish.

How it works

  1. Build your site (e.g. npm run build)
  2. ooda publish detects the build output directory and uploads it
  3. Your site is available at a {slug}.ooda.run URL, gated by your access policy

Every publish creates a new version. Previous versions are kept and accessible. ooda.json records the version a folder last published, so if a teammate has published a newer one since, ooda publish stops and says who published it and when, instead of replacing their changes. Bring their changes in first (ooda pull downloads their version into a new folder to compare), or pass --force to replace them anyway.

Any framework that produces static output works — Vite, Astro, Next.js (static export), and more. ooda publish detects your build output directory (dist, build, out, etc.).

Versions

The live version is the newest one unless you pin another. Roll back in the dashboard (step to a version and choose Pin this version) or with ooda sites pin <slug> <version>. ooda sites pin <slug> latest follows the newest version again. ooda publish --draft adds a version without making it live.

Editors

A site belongs to the person who first published it. They and your org's admins can add teammates as editors from Share on the site's page. Editors can publish new versions, change which version is live, and edit the name, description and tags. Only the owner and admins change who can open the site, see its password, set its variables or unpublish it. Agents can do the same with ooda sites share <slug> <email> (and unshare, sharing, ooda members), or share_site over the MCP server. A token needs the sites:share scope, which is off unless you tick it.

Comments

Your team comments on a site from its page in the dashboard: click Comment over the preview (or press C), then click any element to leave a comment pinned to it. Agents can read those comments, fix the site and close them, so feedback goes straight to the agent that built it. Each comment records who left it, the version it was made on and, when it points at part of the page, the page, the element's text and the screen size. Comments stay open across versions until someone resolves them.

ooda comments
ooda comments reply <id> "Which button?"
ooda comments resolve <id> -m "Cut the padding on mobile"

Run them in the site's folder, or pass a slug. When a site has open comments, ooda publish says so. Through the MCP server the same actions are get_comments, reply_to_comment and resolve_comment.

ooda.json

ooda.json is the site configuration file. ooda publish reads the site's metadata from it, and writes the site's addresses back into it.

{
  "name": "My Cool App",
  "description": "A React dashboard for analytics",
  "color": "#0f766e"
}

name

Human-readable site name (e.g. "My Cool App"). Shown in the dashboard instead of the site slug when set.

description

Short description of what the site is. Shown in the dashboard alongside the name.

color

Brand colour ("#rrggbb"). The dashboard tints the site's card with it.

secrets

A manifest of the env vars and secrets the site needs, so ooda secrets check can prompt for the missing ones.

slug, siteName, urls

Written back by ooda publish — the resolved {slug}.ooda.run address and, when your org has short addresses, the {siteName}.{org}.ooda.run one. Keep them in the file so re-publishes stay on the same URL.

Access control

Every site is gated. By default a site requires a team login; you can make any site public or password-protected, per site or as an org-wide default. Site passwords are encrypted at rest. Manage access from the dashboard or with ooda sites access.

Env vars and secrets

A site has no server of its own, so ooda keeps its config. Set values org-wide or per site, in the dashboard under Variables or with ooda secrets set. An org-wide value reaches every site in the organisation, and a site's own value of the same name takes its place.

  • Env vars (--env) are public config. The page reads them from window.__OODA_ENV__.
  • Secrets never reach the browser. To call an API with one, set PROXY_<NAME>_URL (an env var with the API's base URL) and PROXY_<NAME>_KEY (the secret) on the site. The page calls /__ooda/proxy/<name>/…, and ooda forwards the request with Authorization: Bearer <key>. The proxy has the same access gate as the site. An org-wide proxy key works only on sites that need a login or password; a public site sets its own.

CLI commands

$ ooda publish [path]

Publish a built static site to a shareable {slug}.ooda.run URL. A slug from --slug or ooda.json that names an existing site is that site: the publish updates it or stops with the reason, never a copy elsewhere. --dry-run prints what would happen; --new publishes a separate copy. Non-interactive; --json supported.

$ ooda pull <slug> [dir]

Download a published site's live files into a folder (default ./<slug>), with an ooda.json that points at the site, so ooda publish from that folder updates it. These are the files ooda serves: for a site built from source code, that's the build output, not the source. --force writes into a folder that already has files; --json supported.

$ ooda sites [list|access|password|versions|pin|delete|sharing|share|unshare|collect|uncollect]

List and manage your published sites — set access (public / password / login), reveal a password, list versions and pin one live, unpublish, or add and remove editors. ooda sites list shows each site's live version, its note and open comments, and narrows with --query, --collection and --owner me. ooda members lists the emails to share with.

$ ooda collections [list|create|update|delete]

Collections group your org's sites: by type (Prototypes), part of an experience (Onboarding), team (Design) or initiative (October workshop). A site can be in several or none. Anyone lists them and files a site they can edit with ooda sites collect <slug> <collection> or ooda publish --collection <name>; only an org admin creates, renames or deletes one.

$ ooda secrets [set|list|rm]

Manage env vars & secrets for your published sites. --env values reach a site's page as window.__OODA_ENV__; true secrets never reach the browser. No reveal in the CLI — an admin reveals in the dashboard.

$ ooda comments [slug|reply|resolve|reopen]

Read the open comments on a site, with what each one points at, then reply, resolve (-m says what changed) or reopen. The site comes from ooda.json unless you name it; --all, --resolved and --json supported.

$ ooda login  ·  ooda whoami  ·  ooda logout

Sign in with an email code (--email/--code for agents/CI), check the current session, or sign out. In a sandbox or CI, set OODA_TOKEN instead.

$ ooda orgs  ·  ooda switch <org-id>

List the teams your account belongs to, and choose the one that later commands act on. You join another team in the dashboard.

Managing your team

On ooda, sites belong to a team (an organisation). Team admins add members and control who can see each site.

Join a team

If your team already uses ooda, join their team instead of creating a new one. Only a team admin can add you. The admin adds you from the Team page in the dashboard, in one of two ways:

  • Email invite. The admin enters your email address. You get an email with a link to create your account. Sign up with that same address, and enter the code we email you to confirm it. The invite expires after 7 days.
  • Join link. The admin shares a link. Anyone who opens it can join the team, so the admin can limit how many times it works or revoke it.

Several teams

One account can belong to several teams. To accept a pending email invite, open the Account page in the dashboard. You must verify your email address first. A join link works the same way: open it while you are signed in.

The CLI acts on one team at a time. Run ooda orgs to list your teams and ooda switch <org-id> to select one. To use another team for one command only, add --org <org-id> to publish, sites or secrets.

Organisation URL

On the Team plan, every site can have a short address under your team's name, like blog.acme.ooda.run. Turn on Use organisation URL in Settings. The {slug}.ooda.run addresses keep working and redirect to the short ones. Turning it off switches them back. Once it has been on, the organisation URL can no longer be renamed.

Start a new team

Signing up at app.ooda.run/signup, or with a waitlist invite, creates a new team with you as its admin. If you want to join an existing team, do not sign up there. Ask that team's admin for an invite.