Website hosting for AI agents

Let your AI agent put your website online

Your coding agent publishes the folder, edits files and connects your domain. You get a live link in the same conversation.

Start your 7-day trial See every command

WORKS WITH EVERY AGENT THAT RUNS COMMANDS

What is hosting for AI agents?

Hosting for AI agents is website hosting your coding agent can run by itself. The agent builds the website, publishes it with one command and hands you a live link, then keeps editing it in the same conversation. You don’t open a dashboard, set up git or write a build pipeline.

Static.app hosts static websites: HTML, CSS, JavaScript, images and the build output of tools like React, Vue and Astro. The static command line tool talks to the same account and API as the dashboard, so whatever your agent publishes shows up there too, with your plan, your domains and your team permissions.

Four ways in, one account

Pick the one that fits where your agent runs. They share the same API key, permissions and websites.

  • Skill

    For coding agents

    A short instruction file your agent reads before it publishes: when to use Static.app, which command to run and what to tell you afterwards. Installed into Claude Code and Codex for you.

    Install the skill

  • CLI

    For terminals and CI

    One static binary with no dependencies. It packs a folder and uploads it from disk, prints JSON when asked and returns exit codes your agent or pipeline can act on.

    Command reference

  • MCP connector

    For chat apps

    For Claude Desktop, claude.ai and other apps that can’t run commands. Add one URL, sign in with Static.app and the same actions show up as tools.

    Set up the connector

  • REST API

    For your own code

    Everything the CLI does goes through the Static.app REST API, so scripts, platforms and automations can call it directly with the same key.

    Read the API docs

From prompt to live website

A session in Claude Code with the Static.app skill installed. Every command is one your agent actually runs.

Publish the dist folder on Static.app as bakery.static deploy ./dist --name bakeryLive at bakery.staticdomains.appChange the headline to “Fresh bread every morning”.static files write dist/index.htmlUpdated. Same address, live now.Did anyone fill in the contact form?static forms entries contact --limit 5Two new messages since yesterday.

What just happened

  1. 1

    Published a new websiteThe CLI zipped the folder on disk and uploaded it, so the files never passed through the chat. It saved the website’s ID in the project, so later commands know which website you mean.

  2. 2

    Changed one fileThe agent edited index.html locally and sent only that file. Same address, live right away.

  3. 3

    Read the form entriesSubmissions to the website’s forms are stored on Static.app, and your agent can read them back for you.

New websites go live a few seconds after the upload finishes. If the name you ask for is taken or not allowed, the website gets a random address instead, and the agent tells you which one.

What you can ask your agent

No special syntax. Ask the way you would ask a person, and the skill picks the command.

  1. Publish

    “Publish this folder on Static.app and give me the link.”

    static deploy

  2. Ship an update

    “Build the project and update my website with the new version.”

    static deploy

  3. Password-protect

    “Put a password on my preview website before I send it to the client.”

    static password set

  4. Use my domain

    “Point bakery.com at this website and tell me which DNS records to add.”

    static domain connect

  5. Fix SEO

    “Give every page a proper title and description, and hide the drafts page from search.”

    static pages update

  6. Check traffic

    “How many visitors did my website get, and from where?”

    static analytics

  7. Read form entries

    “Show me the last 10 messages from my contact form.”

    static forms entries

  8. Manage DNS

    “Add a TXT record to my domain to verify it with Google.”

    static domains dns add

Get your agent publishing in 3 steps

  • 1

    Install the CLI and the skill

    Run one command in your terminal. It installs the static command and adds the Static.app skill to Claude Code and Codex, so your agent knows when and how to use it.

  • 2

    Sign in once

    Run static login and paste an API key from Account > API / MCP, or set STATIC_API_KEY in your environment. Start the 7-day trial if you don’t have an account yet.

  • 3

    Ask your agent

    Say “Publish the dist folder on Static.app.” Your agent runs static deploy and gives you a live staticdomains.app address in seconds.

Install the CLI and the skill

The installer downloads the static binary for your system from static.app, checks its checksum, puts it on your PATH and adds the skill to Claude Code and Codex. Nothing else to install, no Node.js or Python.

Ask your agent

The easiest way. Paste this into Claude Code, Codex, Cursor or any agent that can run commands, and it sets everything up for you. It asks you to sign in yourself, so your key never goes through the chat.

SETUP PROMPT

I'd like you to set up Static.app: website hosting my agent can publish to.

Install the static CLI and its skill: curl -fsSL https://static.app/install.sh | sh

On Windows, download https://static.app/cli/static-windows-amd64.exe as static.exe instead, then run: static.exe skill install

Then run static whoami. If I'm not signed in, ask me to create an API key at https://static.app/account/api and run static login in my own terminal. Don't ask me to paste the key here.

After that, read https://static.app/skill.md and ask me what I'd like to publish.

Create the key in Account > API / MCP. Keys can expire after a day, a week, a month or a year, and you can revoke one at any time.

Builds for macOS (Apple silicon and Intel), Linux (x86-64 and ARM64) and Windows (x86-64). Checksums are in SHA256SUMS.

Everything your agent can do on Static.app

The CLI covers what the dashboard does for a website day to day. Billing, buying domains and managing your team stay in the dashboard.

  • Publish a folder, ZIP or single file

    Deploy a build folder, a ZIP or one HTML file to a new website or over an existing one, at the same address. Up to 200 MB per deploy, within your plan’s storage.

    deploysiteslink

  • Edit, add and delete files

    List and read the files that are live, send only the ones that changed, delete old ones or download a copy before a redesign. Edits go live right away.

    filessites download

  • Site settings, password and SEO

    Rename a website, put it behind a password, switch analytics on, and set each page’s title, description, visibility and redirect. Some of these need a paid plan.

    settingspasswordpages

  • Custom domains and DNS records

    Connect a domain you own, or one registered with Static.app, and manage its DNS records and nameservers. Your agent tells you which records to add at your registrar.

    domaindomains dns

  • Form entries and analytics

    Read what visitors sent through your forms, remove spam, and get visitor numbers, top pages, referrers and locations without opening the dashboard.

    formsanalytics

  • Workspaces and team permissions

    See which workspace and plan the key works in, switch workspaces, and work on any website your role gives you, not only the ones you created.

    whoamiworkspaces

Command reference

Inside a folder you deployed from, you can leave out the website ID: the CLI reads it from .static.json. Add --json to any command for machine-readable output, and run static help <command> for every flag.

CommandWhat it does
Account
static loginSave your API key on this computer
static whoamiYour account, workspace, role and plan
static workspaces [switch <id>]List workspaces or switch to another
static logoutRemove the saved key
Websites
static deploy [path] [--site <id>] [--name <name>]Publish a folder, ZIP or file, as a new website or over an existing one
static sites [get <id>]List your websites, or show one
static sites download [id] [-o file]Download the whole website as a ZIP
static sites delete <id> --yesDelete a website for good
static link <id> / static unlinkTie this folder to a website, or untie it
Files
static files list [id]Every file on the website
static files read [id] <path>Print one file
static files write [id] <local>... [--to dir]Upload or replace files
static files delete [id] <path>...Delete files
static files download [id] <path>...Download chosen files
Settings and pages
static settings get|set [id] key=valueName, analytics and other website settings
static password set|remove [id]Password-protect the website
static pages list|get|update [id]Title, description, visibility and redirects per page
static analytics [id] [--report name]Visitors, pages, referrers, locations and more
Domains
static domain get|connect|disconnect [id]The website’s custom domain and the DNS it needs
static domain www-redirect|free-redirect [id] on|offRedirects between www, the bare domain and the free address
static domains [get <domain>]Domains registered with Static.app
static domains dns <domain> [add|update|delete]DNS records
static domains nameservers <domain> <ns>...Change nameservers
static domains assign|unassign <domain> [site]Serve a website on a registered domain
Forms
static forms list [id]Forms on the website
static forms entries [id] <form> [--limit n]Read submissions
static forms delete-entry [id] <form> <entry>Delete one submission
Agents
static skill installAdd the skill to Claude Code and Codex
static help [command]Usage, flags and exit codes

Built to be run by an agent

  • JSON on request. With --json, results and errors come back as JSON on standard output, so the agent reads one stream.
  • No surprise prompts. Without a terminal the CLI never waits for input, and it refuses to delete a website without --yes.
  • Remembers the website. .static.json ties a project folder to its website, so “update my site” needs no ID.
  • Uploads skip the chat. Files go from disk to Static.app, so a large build never fills the conversation.
  • Knows its limits. The skill tells the agent what Static.app can’t host, so it doesn’t promise you a backend.

Exit codes

0
Done
1
The request failed; the message says why
2
Wrong command or missing argument
3
No key, an expired key, or your role doesn’t allow it
4
No such website, file, form or domain

You stay in control

Your agent acts through an API key that you create, name and can revoke. It follows your role in the workspace, exactly as the dashboard does.

  • Your agent can

    • Publish and replace websites, within your plan’s limits
    • Read, write and delete files
    • Change settings, passwords and page SEO
    • Connect domains and edit DNS records
    • Read form entries and analytics
  • Your agent can’t

    • See or change billing or your plan
    • Buy, renew or transfer domains, or turn on auto-renewal
    • Invite or remove team members
    • Do anything your role in the workspace doesn’t allow
    • Delete your account
  • Keep the key out of the chat. Run static login yourself, or set STATIC_API_KEY, so the key never appears in a message.
  • Approve deletes. Keep your agent’s approval prompt on for static sites delete and static files delete.
  • Mind whose key it is. A key acts with its owner’s role. A teammate with the Viewer role can read everything and change nothing, which suits an agent that only reports.

What it doesn’t do

  • Run server code. Static.app hosts static files, so PHP and Node.js backends, cron jobs and databases won’t run.
  • Publish without an account. Every website belongs to an account, and the 7-day trial is enough to start.
  • Take more than 200 MB in one deploy. Split a larger site, or add big files afterwards with static files write.

Included on every plan

The CLI, the skill and the MCP connector cost nothing extra. Every Static.app account, including the 7-day trial, can create an API key. Plan limits apply to what you create: the trial includes 1 website, and paid plans start at $6 a month ($5 a month billed annually) for 2 websites and a custom domain.

Compare plans Start your 7-day trial

Agent hosting FAQ

What is agent hosting?

Hosting an AI agent can use on its own. Instead of you uploading files in a dashboard, your coding agent publishes and updates the website with commands it already knows how to run. Static.app gives agents three ways in: the static command line tool, a skill that tells the agent when to use it, and an MCP connector for apps that don’t run commands.

Which AI agents work with it?

Any agent that can run shell commands: Claude Code, Codex, Cursor, Gemini CLI, Devin Desktop, GitHub Copilot in VS Code and your own scripts. The skill installs into Claude Code and Codex automatically. Apps that can’t run commands, such as Claude Desktop and claude.ai, use the MCP connector instead.

Should my agent use the CLI or the MCP connector?

Both reach the same account with the same permissions. Use the CLI when your agent runs in a terminal: it zips and uploads a folder straight from disk, so nothing passes through the chat, and it works in CI. Use the MCP connector in chat apps without a terminal. You can use both.

Do I need an account?

Yes. Every website belongs to a Static.app account, so your agent needs an API key from Account > API / MCP. The 7-day free trial is enough to start. After the trial, publishing needs a paid plan.

What can my agent publish?

Static files: HTML, CSS, JavaScript, images, fonts, PDFs and the build output of React, Vue, Astro, Next.js static export and similar tools. Point static deploy at a folder, a ZIP or a single file. Static.app doesn’t run server code, so PHP, Node.js backends and databases won’t work.

How does the agent update a website it already published?

After the first deploy the CLI writes the site’s ID to a .static.json file in your project. The next static deploy replaces that website at the same address, and other commands use it when you leave the ID out. For one small change, static files write updates just that file.

Is it safe to let an agent use my account?

The CLI acts through an API key you create, name and can revoke at any time, and it follows your role in the workspace exactly as the dashboard does. It can’t touch billing, buy or renew domains, or manage team members. Keep your agent’s approval prompts on for deleting websites and files.

Does it work in CI?

Yes. Set STATIC_API_KEY as a secret and run static deploy ./dist --site <id> --json. Every command returns JSON with --json and a clear exit code, so a pipeline can tell a missing key from a missing website. On GitHub you can also use our GitHub Action.

How much does it cost?

Nothing extra. The CLI, the skill and the MCP connector come with every plan and the 7-day trial. Plan limits apply to what you create: paid plans start at $6 a month, or $5 a month billed annually.

Install once. Ask for the rest.

One command in your terminal, one API key, and your agent publishes your next website.

Start your 7-day trial Install the CLI