# DocStash > The home for what your AI makes. Stash HTML, Markdown, PDF, and Static Apps, and get a live versioned webpage, you can publish in a click. DocStash gives every document an AI generates a stable URL the moment it's created. Agents push documents directly over MCP — no CLI, no API keys, no copy-paste. Humans open them in a browser, share public or private links, and keep a full version history. Private by default, free to start. ## What it is A hosting and sharing layer for AI-generated artifacts. When an AI tool (Claude, ChatGPT, Cursor, Gemini, Codex) produces a PDF, a web page, a document, or a full app, it stashes it to DocStash and gets back a permanent, shareable URL. Each artifact becomes its own live webpage instead of a file trapped in a chat window or lost on a desktop. ## Who it's for - Individuals who generate documents, reports, résumés, or small apps with AI and want a durable link instead of a throwaway download. - Teams that produce many AI documents a week and need version history, attribution, and access control. - Anyone connecting an AI assistant to a hosting destination without writing code. ## Supported document types - **PDF** — reports, résumés, invoices, one-pagers (authored as print-ready HTML, rendered to a real PDF). - **Page** — self-contained HTML pages and apps: dashboards, landing pages, slide decks, data visualizations, interactive tools and games (React, three.js and other libraries load from a CDN). - **Text** — Markdown, source code, and plain-text documents. - Existing Word and spreadsheet documents can be downloaded, but no longer opened, created or edited. ## How it works 1. A user adds the DocStash MCP server to their AI tool once and authorizes via OAuth (no API keys). 2. The AI calls tools like `create_pdf`, `create_page`, `create_text`, or `stash` directly — the document is created and hosted server-side. 3. DocStash returns a stable URL (`docstash.ai/`). The document is its own webpage from that moment. 4. Humans view it in a browser; the owner controls who else can. ## Key features ### Versioning & iteration Every regeneration is a **new version**, never an overwrite. Ask the AI to change a document and it pushes a new version to the same URL; older versions stay reachable, and you can **revert** to any of them. History is retained with per-version attribution (which agent made which change). ### Sharing & access **Private by default.** Share a document (or a specific version) as a **public link** or restrict it to **named users**. Grants are per-document, revocable at any time. ### Organizations Documents live in an organization — a **personal** space or a **team**. Team members share documents with **role-based access** (admins manage, members contribute). An AI connection can target a specific organization. ### Custom domains Serve published documents from your **own domain** (Pro). ### Inline previews In AI clients that support it (ChatGPT, Claude), a stashed document renders as an **inline preview** right in the conversation, with a link to open the live page. ## Example use cases - "Generate our Q3 financial report as an HTML page on DocStash" → a shareable, versioned report at a stable URL. - "Build my résumé as a PDF on DocStash" → a print-ready PDF page you can send as a link. - "Build a little Stack game in React and host it on DocStash" → a live, playable app at its own URL. - "This doc looks flat, docstash.ai/<slug> — add some color" → the AI reads the current version, edits it, and stashes a new version to the same link. ## Iterating on a document DocStash is built for iteration: 1. The AI creates a document → you get a URL. 2. You ask for changes → the AI pushes a new version to the **same URL** (nothing is overwritten). 3. When it's right, **stash** promotes that version to the live one everyone sees. 4. Prefer an earlier take? **Revert** to any prior version. The link never changes; the content evolves under it, with full history. ## MCP tools - **Create**: `create_pdf`, `create_page`, `create_text` - **Edit**: `edit_pdf`, `edit_page`, `edit_text` (surgical edits to an existing doc) - **Lifecycle**: `stash` (promote to live), `discard`, `rename_document`, `set_trashed` (trash, restore), `revert_document` - **Sharing**: `list_access`, `set_access`, `set_public_link` (publish, unpublish) - **Read**: `list_documents`, `read_document`, `screenshot_document`, `show_pdf`, `show_page`, `show_text` - **Organizations**: `get_organizations`, `set_organization`, `list_org_members` ## Get started - [Onboarding flow](https://docstash.ai/get-started): pick your AI, copy the MCP URL, authorize once. - [Stash a doc](https://docstash.ai/stash): drop an HTML, Markdown, PDF, or text file and get a webpage with its own link, no agent needed. - [MCP endpoint](https://mcp.docstash.ai): paste this into any MCP-aware client (Claude, ChatGPT, Cursor, Gemini, Codex). It's a Streamable-HTTP JSON-RPC endpoint; you authorize once via OAuth on first connect — no API keys, no CLI. Opening the URL in a browser redirects to the DocStash integrations setup page. ## Pricing - **Free** — for personal use. Create, host, version, and share documents. - **Pro** — richer sharing and analytics, custom domains, and more, for power users and teams. ## Guides - [Blog](https://docstash.ai/blog): guides on creating, sharing, and iterating on AI-generated artifacts, by agent (Claude, ChatGPT, Gemini, Antigravity, Cursor, OpenCode, Pi, Hermes Agent, Grok, Perplexity, Muse) and topic. - [How to share Claude-generated HTML](https://docstash.ai/blog/how-to-publish-or-share-claude-generated-html): connect Claude to DocStash and turn a generated HTML page into a live, shareable link, or paste the HTML in yourself. ## Security & legal - [Security](https://docstash.ai/security): how we protect your data, append-only audit logs, content-free logging, erasure, encryption, your own storage and identity, and MCP server security. - [Privacy Policy](https://docstash.ai/privacy): what we collect, store, and how to delete it. - [Terms of Service](https://docstash.ai/terms): the terms that govern using DocStash. ## Contact - Email: hello@docstash.ai