---
title: "DocStar on Product Hunt: API Docs Agents Can Use | DocStar"
description: "Welcome from Product Hunt. Paste one prompt into your coding agent and DocStar turns your code into API docs, llms.txt, a hosted MCP server and a CLI."
url: https://docstar.io/producthunt
---

# Your agent writes the docs. Every agent can use them.

_Welcome, Product Hunt_

DocStar is API documentation for people and AI agents. Paste one prompt into your coding agent: it documents your API from your code, and DocStar publishes the docs, llms.txt, a hosted MCP server and a CLI.

Copy prompt: paste this into your agent:

```text
Use DocStar to let my users use my app from their AI assistants.
Follow https://docstar.io/mcp/quickstart.md, document my app's user-facing APIs from my latest code, and set up MCP.
```

[Start free](https://app.docstar.io/login?intent=signup)

Works with: Claude Code, Cursor, Codex, VS Code, any MCP client

What the agent does:

- you: Document my API with DocStar.
- agent: Reading src/routes … 24 endpoints in 5 modules
- agent: Created “Acme API” as drafts for your review
- agent: Docs, llms.txt, MCP server and CLI ready on publish

## See a live example before you sign up.

_Try it in two minutes_

MSG91's API docs run on DocStar. Read them, give them to your agent or call them from your terminal.

### Read the docs

A searchable API reference with a markdown twin for every page.

[Open the MSG91 docs](https://docs.msg91.com)

### Hand it to your agent

Models read clean text, not HTML.

```text
curl https://docs.msg91.com/llms.txt
```

### Run it from the terminal

Every published endpoint becomes a command.

```text
npx docstar-cli init msg91
```

## From code to every channel, in one prompt.

_How it works_

1. **Copy the prompt.** Paste it into Claude Code, Cursor or Codex, opened in your API's repo.
2. **Your agent reads your code.** It finds your routes with their auth, params, bodies and responses, and saves them as drafts for you to review.
3. **You publish.** Docs, llms.txt, markdown, the MCP server and the CLI go live from the same source.

## Questions from Product Hunt.

_FAQ_

### What is DocStar?

DocStar is an API documentation platform for people and AI agents. Your coding agent writes the docs from your code; DocStar publishes them as a docs site, llms.txt and markdown, a hosted MCP server and a CLI.

### Is there a free plan?

Yes. Start free, then move to Pro at $25 a month with 10 members included. See the pricing page for the details.

### Will my agent publish without asking?

No. Your agent saves the docs as drafts, and you review and publish them in DocStar.

### Do I need an OpenAPI file?

No. Your agent reads your routes directly. If you already have an OpenAPI, Swagger or Postman file, you can import it instead.

## Keep exploring DocStar.

_Related_

### Hosted MCP server

Every API you document gets an MCP server that agents use to search your docs and call your API.

[How the MCP server works](https://docstar.io/mcp)

### docstar-cli

Every published endpoint becomes a terminal command, and the CLI runs as a local MCP server.

[Generate a CLI from your docs](https://docstar.io/cli)

### Pricing

Start free. Pro adds members for growing teams; Enterprise adds governance and support.

[Compare plans](https://docstar.io/pricing)

## Take the first step. Let your agent write your API docs.

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

Copy prompt: paste this into your agent:

```text
Use DocStar to let my users use my app from their AI assistants.
Follow https://docstar.io/mcp/quickstart.md, document my app's user-facing APIs from my latest code, and set up MCP.
```

[Start free](https://app.docstar.io/login?intent=signup)
