Skip to content

API docs

The API documentation platform people and agents can read.

DocStar publishes your API reference with a try-it playground, guides and your branding. Let your agent write it from your code, or import OpenAPI or Postman, and get llms.txt, markdown, an MCP server and a CLI from the same docs.

one source, every reader
docs.acme.com            for people
docs.acme.com/llms.txt   for models
docs.acme.com/x.md       for agents
mcp.acme.com             for agents
OpenAPI 3 export         for tools
docstar-cli acme         for terminals

The reference

Everything a public API reference needs.

Without running a separate docs site.

  • Written by your agent

    Your coding agent reads your routes and creates every endpoint, with auth, params, bodies and responses. No OpenAPI file needed.

  • Or import a spec

    Bring OpenAPI 3, Swagger 2 or a Postman collection and get a structured reference.

  • Try it in the docs

    Readers send real requests with params, headers, body and auth, right from the page.

  • Environments

    Switch base URLs and variables between sandbox and production.

  • Guides and changelogs

    Getting-started guides and API changelogs live with the reference.

  • Search and AI answers

    Readers ask questions and get answers grounded in your reference.

  • Your domain

    Publish on a custom domain, subdomain or sub-path, with your logo, colours and fonts.

  • No lock-in

    Export your docs back to OpenAPI 3 at any time.

  • Copy prompt on every page

    Your users hand your API to their agent in one click, with one-click MCP connect for Cursor, VS Code and Claude.

One source, every format

One reference, five formats.

  • for people

    Docs site

    Searchable reference and guides with try-it and code samples.

    docs.acme.com/messages/send
  • for models

    llms.txt + markdown

    Every page has a .md twin, and the site has llms.txt.

    GET docs.acme.com/llms.txt
  • for agents

    MCP server

    Hosted, on your domain, with search, contract and call tools.

    claude mcp add acme https://mcp.acme.com
  • for terminals

    CLI

    Every endpoint becomes a command.

    npx docstar-cli acme messages send
  • for tools

    OpenAPI export

    Export your docs to OpenAPI 3 for SDK generators and gateways.

    Export to OpenAPI 3 any time

Stays true

A reference that stays right after launch.

  • Never drifts

    DocStar watches your repo and drafts doc fixes when routes, params or responses change.

    • GitHub app
    • GitHub Actions sync
  • See who reads it

    People and agents, split by channel, with the questions they ask and the answers they couldn't find.

    • Docs, MCP, CLI, llms.txt

FAQ

API documentation questions.

Do I need an OpenAPI file?

No. Your agent can write the docs from your code. If you have OpenAPI, Swagger or Postman, import it instead.

Can I see a live example?

Yes. MSG91's API docs at docs.msg91.com run on DocStar, including llms.txt and module.json for agents.

Can I keep guides next to the reference?

Yes. Guides, changelogs and endpoints live in the same project and share navigation and search.

Does DocStar generate llms.txt?

Yes. Every published docs site gets llms.txt, and every page is also served as clean markdown, so models read your content without the page chrome.

Can I leave DocStar later?

Yes. Export your docs to OpenAPI 3 at any time.

Publish API docs agents can use, from one prompt.

One prompt. Your docs, MCP server and CLI, live.

Start free