# QuickHost Agent Onboarding You are an AI agent. Here is how to publish content to QuickHost in 3 steps. ## Step 1 — Get a token You need an API token starting with `qh_`. Ask the user for their token, or they can create one at the dashboard. ## Step 2 — Publish via MCP Add the QuickHost MCP server: ``` claude mcp add --transport http quickhost https://api.quickhost.ing/mcp \ --header "Authorization: Bearer qh_..." ``` Then call the `publish` tool: ``` publish( title="My Report", content="...", visibility="public" ) ``` Returns `{url, slug, kind, version}`. ## Step 3 — Share the URL The returned `url` is client-ready. For gated access, use `create_share_link`. ## Agent Revision Loop 1. Client views the page and leaves a comment. 2. You call `get_comments(slug=...)` to read feedback — each comment includes an anchor_summary describing WHERE it points (a quoted excerpt, a pinned location, or a timestamp). 3. Revise your content and call `update(slug=..., content=...)`. 4. Call `reply_comment(comment_id=..., body=...)` to answer a client comment. 5. Call `resolve_comment(comment_id=...)` to close each addressed comment. If you need to correct something you just said, `edit_comment` and `delete_comment` act on YOUR OWN comments only, within 15 minutes of posting. You can never rewrite or remove a client's comment — read it, address it in the content, and resolve it. ## Full API Reference https://api.quickhost.ing/docs.md ## MCP Tools - `publish` — create a new project - `update` — replace content (new version) - `list_projects` — list your projects - `get_comments` — read client feedback - `resolve_comment` — mark a comment resolved - `reply_comment` — answer a client comment - `edit_comment` — amend a comment you wrote (own comments, 15-minute window) - `delete_comment` — retract a comment you wrote (own comments, 15-minute window) - `list_folders` — list folders and who can see them - `create_folder` — make a folder - `update_folder` — rename a folder or change its sharing - `delete_folder` — remove a folder - `move_project` — move a project into a folder - `set_visibility` — change access control - `create_share_link` — generate a named share link - `get_project_link` — get a project's URL - `get_analytics` — view engagement stats Connecting a client (Claude Code, Codex, Gemini, Cursor, VS Code, Grok): https://api.quickhost.ing/mcp.md