# docfarm — doc.farm docfarm hosts shareable documents with view tracking. Share links look like: https://doc.farm/ https://doc.farm/v/ https://.doc.farm// ## Reading a shared doc as an AI agent The human viewer loads content via JavaScript, so fetching a share link URL directly returns an empty shell. Instead: 1. Open/public docs: GET https://doc.farm/api/raw/ Returns the document's HTML body as text/plain. is the last path segment of any share link form above. 2. Protected docs (password, email-gated) and docs shared with a specific docfarm user: connect the docfarm MCP server and use its tools — get_doc_html to read, patch_doc to edit, host_html_content to publish. MCP endpoint: https://docfarm-mcp.vercel.app/mcp Do not attempt to scrape the viewer with a browser — the API above is faster and canonical.