cd /news/ai-agents/your-agent-can-now-publish-your-docs · home › topics › ai-agents › article
[ARTICLE · art-159975] src=mintlify.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Your agent can now publish your docs

Mintlify released a `mint deploy` CLI command that lets coding agents such as Claude Code, Cursor, and Codex publish a live documentation site from the terminal without an account or GitHub repository, with the site expiring 24 hours after creation unless claimed. The agent runs `npm i -g mint` then `mint deploy --subdomain acme` to create a Mintlify-hosted Git repository and short-lived write token, pushing docs live at acme.mintlify.site; a `--github` flag instead writes a GitHub Actions workflow for an existing repository. Mintlify said its evals showed agents previously built sites locally but stalled at email verification and GitHub setup, and the new flow lets the agent send a claim link that the user completes via `mint claim --email` and `mint claim --code`, with deploying free and claiming a first site starting a Pro trial.

by read4 min views1 publishedOct 28, 2026
Your agent can now publish your docs
Image: Mintlify (auto-discovered)

Denzell Ford

Engineering

Share this article

Denzell Ford

Engineering

Share this article

Ask Claude Code, Cursor, or Codex to document a repository and it can write the pages in minutes. Ask it to put them online, and until now, the agent eventually handed the job back to you.

In our evals, agents built the site locally, reached signup, then told the user to finish the flow in a browser. Email verification and GitHub setup were human-only steps.

mint deploy removes that handoff. An agent can publish a live Mintlify site from the terminal without an account or GitHub repository, then send you a link to claim the site within 24 hours.

From prompt to live docs #

From the folder that holds docs.json, the agent runs:

npm i -g mint
mint deploy --subdomain acme

The CLI creates a Mintlify-hosted Git repository and returns a short-lived write token. The agent pushes your docs, and the site goes live at acme.mintlify.site.

You do not need to create an account or connect GitHub before the first deployment.

Deploy with or without GitHub #

The default flow gives the agent a Mintlify-hosted repository. If you want your docs to live in an existing GitHub repository, use:

mint deploy --github --subdomain acme

This writes a GitHub Actions workflow that updates the site when you push to the default branch. If your docs live in a subdirectory, pass it with --directory.

Claim the site within 24 hours #

The site is already live when the claim flow begins. Claiming moves it into your Mintlify dashboard so you can keep managing it.

  1. The agent needs your email to run mint claim --email jane@acme.com .
  2. You open the claim link and sign in or create an account.
  3. You copy the code on the page and paste it back to the agent.
  4. The agent completes the claim with mint claim --code 4F7K-9QX2 .

Claiming makes you an admin of the site's organization.

Try it with your agent #

Open Claude Code, Cursor, or Codex in the folder that contains docs.json and paste this prompt:

Install the Mintlify CLI with npm i -g mint, then publish the docs in this folder with mint deploy. Push the files, check that the site loads, and send me the live URL. Remind me to claim the site within 24 hours.

Run mint deploy --help to see every option, or read the agent signup docs.

If you have any other ideas to improve your agentic workflow, add them to the roadmap.

Frequently Asked Questions #

How does an agent know what to do?

Agents can discover the flow through mintlify.com/auth.md. auth.md is an open protocol from WorkOS that explains how an agent can register with a service and hand the resulting account to a person.

Mintlify's file describes the same flow as raw HTTP requests, so agents that cannot install the CLI can still register, provision a site, and hand it to you through the claim page.

Which agents does this work with?

Any agent that can run shell commands, npm, and Git, including Claude Code, Cursor, and Codex.

What does it cost?

Deploying is free. If this is your first Mintlify site, claiming it starts a Pro trial.

What happens if I do not claim the site?

It expires 24 hours after creation and is deleted, along with its hosted repository. To start over, run mint deploy --new --subdomain <name> to create a new site.

What if I already have a Mintlify account?

Sign in with your existing account and the site will appear in your dashboard. If you belong to several organizations, the claim page may ask you to choose one.

Can I move a claimed site to my own GitHub repository?

Yes. After you claim a site, open the Git settings in your dashboard and connect your repository. mint deploy --github only works for sites that have not been claimed yet.

More blog posts to read

AI TrendsPF

Self-updating external docs is an infinite market

Product surface areas are growing exponentially, agents are becoming the main users of docs, and external agents can't read your primary sources. Together, these make self-updating external docs an infinite market.

October 25, 2026 Patrick Foster

Software Engineer

AnnouncementsDI

Bring your own skills to the Mintlify agent

You can now upload custom skills to the agent in the web editor. Give it your style guide, review checklist, or page templates once, and it uses them whenever a task calls for them.

October 23, 2026 David Isquick

Product Marketing

── more in #ai-agents 4 stories · sorted by recency
── more on @mintlify 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/your-agent-can-now-p…] indexed:0 read:4min 2026-10-28 · —