DocsLit Cloud
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.
Get started
Fill in the request form with a few details about your docs. We reply by email to agree on a plan and a price.
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.
Set the token as DOCSLIT_TOKEN and 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 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.
https://docslit.com/api.Publish
cloud.project from docslit.json, then a slug made from your site name.Pin the slug in your config so every publish goes to the same project:
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:
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
DOCSLIT_TOKEN belongs to and the API URL.--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}/mcpspeaks MCP over HTTP with the toolslist_pages,get_page,search_docsandget_docs_overview./.well-known/mcp.jsondescribes it. No authentication is needed to read published docs. - Markdown negotiation. A request with
Accept: text/markdownreturns the page's Markdown instead of HTML. - Agent files.
llms.txt,llms-full.txt,.mdpages and.well-known/agent.jsonare 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.