DocsLit Cloud

Deployment•8 min read|
|

DocsLit Cloud is a managed hosting service for your documentation. Build and publish with one command. There is no hosting configuration and no infrastructure to run. Each site also gets a hosted MCP endpoint for AI agents.

DocsLit Cloud is in early access. We set up each account ourselves, and pricing is on request. Request DocsLit Cloud and we reply by email.

Get started

Request access

Fill in the request form with a few details about your docs. We reply by email to agree on a plan and a price.

Get your API token

We create your account and project, and send you an API token that starts with dlt_. Treat it like a password: anyone with the token can publish to your project.

Publish

Set the token as DOCSLIT_TOKEN and publish:

DOCSLIT_TOKEN=dlt_your_token docslit publish

DocsLit builds your site, compresses it and uploads it. Your docs are live in seconds, and the command prints the URL.

Authenticate with a token

Every cloud command reads the API token from the DOCSLIT_TOKEN environment variable. In CI, store the token as a secret:

- run: npx docslit publish env: DOCSLIT_TOKEN: ${{ secrets.DOCSLIT_TOKEN }}

Run docslit whoami to check which account the token belongs to. You can sign in to the dashboard with the account details we send you to create more tokens or revoke old ones. An account can hold up to 25 tokens.

Your API token. Required for every cloud command. Overrides the API base URL for every cloud command. Default: https://docslit.com/api.

Publish

docslit publish docslit publish --project my-docs --build docslit publish --out public The project slug. Without it, DocsLit uses cloud.project from docslit.json, then a slug made from your site name. The build output folder to upload. Build before publishing. Without it, DocsLit builds only when the output folder does not exist.

Pin the slug in your config so every publish goes to the same project:

{ "cloud": { "project": "my-docs" } }

Slugs

A slug becomes your site's address. DocsLit lowercases it and replaces other characters with hyphens. It must be 3 to 63 characters. Names that could impersonate the service or its routes are reserved, such as www, api, docs, mail, login and docslit. A slug that another account already uses is rejected.

Limits

Every publish is checked before anything goes live.

Limit Value
Uploaded zip 20 MB
One file after extraction 10 MB
All files after extraction 50 MB
Number of files 5,000
Project name 100 characters

We assign your plan when we set up your account. Limits per plan:

Free Starter Pro
Projects 1 1 Unlimited
Deploys per month 10 Unlimited Unlimited
Rollback No Yes Yes
Deploy history kept 3 100 100

The monthly count covers successful and pending deploys in the current UTC month. Failed deploys do not count. Enterprise plans use the same limits as Pro. To change your plan, email hello@docslit.com.

Files that are not served

Hosting configuration for other platforms is dropped from the upload and never served: functions/, _middleware.*, vercel.json, _headers, _redirects, mcp-server.js, wrangler.toml, netlify.toml, .git/ and .env* files. DocsLit Cloud does its own content negotiation and hosts its own MCP endpoint, so you do not need them.

Releases and rollback

Each publish uploads to its own immutable release, then switches a single pointer to it. Visitors see either the old site or the new one, never a half-written site. Sites published before this layout keep working and move over on their next publish.

List and restore deploys with rollback:

docslit rollback my-docs # choose from a list docslit rollback my-docs <deploy-id> docslit rollback my-docs <deploy-id> --yes

Rollback asks for confirmation unless you pass --yes. These rules apply:

  • Your plan must include rollback. The Free plan does not.
  • You can restore only successful deploys whose archive is still kept. Only the most recent deploys are kept: 3 on Free, 100 on paid plans.
  • The archive is checked again against the current limits, and restoring creates a new deploy rather than rewriting history.

Commands

Build if needed, then upload the site. List your published projects with URLs and status. Show the account that DOCSLIT_TOKEN belongs to and the API URL. Restore a project to an earlier deploy. Delete a project and all its files. Asks for confirmation unless you pass --yes.

Built for AI agents

Every site on DocsLit Cloud is ready for AI tools with no extra setup:

  • Hosted MCP endpoint. https://{slug}.{base-domain}/mcp speaks MCP over HTTP with the tools list_pages, get_page, search_docs and get_docs_overview. /.well-known/mcp.json describes it. No authentication is needed to read published docs.
  • Markdown negotiation. A request with Accept: text/markdown returns the page's Markdown instead of HTML.
  • Agent files. llms.txt, llms-full.txt, .md pages and .well-known/agent.json are served as built.

See How agents read your site for the details, and connect a client with the MCP server page.

When to use cloud vs self-hosting

Feature DocsLit Cloud Self-hosting
Setup We set it up for you Varies
CI/CD required No Yes
Hosted MCP endpoint Built in Run docslit mcp <url> yourself
Markdown negotiation Built in Needs host middleware
Custom domain Coming soon Yes
Rollback Paid plans Manual
Cost Pricing on request Your hosting cost

For self-hosting options, see static hosting.