Fastest way: let your agent do it
If you use a coding agent (Claude Code, Cursor, Windsurf, ChatGPT developer mode…), you don't need to follow any steps yourself. Paste the prompt below and your agent will add the Repage server using its own configuration and walk you through sign-in.
Add the Repage MCP server to your tools so you can publish HTML documents to shareable links. It is a remote, streamable-HTTP MCP server at: https://www.repage.app/api/mcp Please add it using whatever MCP configuration you support (e.g. `claude mcp add --transport http repage https://www.repage.app/api/mcp`, an mcp.json/mcp_config.json entry with that URL, or your IDE's "add remote MCP server" setting). Name it "repage". It authenticates with OAuth — when prompted, open the authorization URL so I can sign in with Google. Once connected, confirm by listing the repage_* tools you now have (repage_publish_document, repage_get_document, repage_update_document, repage_list_versions, repage_list_comments).
Prefer to do it by hand? Pick your tool above for click-by-click steps. All tools use the same server URL — https://www.repage.app/api/mcp — and authenticate through a Google sign-in flow, so there's no API key to manage.
What tools does the MCP server expose?
| Tool | What it does |
|---|---|
| repage_publish_document | Create a new Repage document from HTML and get a shareable URL. |
| repage_get_document | Fetch the current HTML source of a document you own. |
| repage_update_document | Publish new HTML as a new version of an existing document. |
| repage_list_versions | List the version history of a document. |
| repage_list_comments | Read comments teammates left on a document. |
How authentication works
Repage uses standard OAuth 2.0 with PKCE. When you first add the server, your AI client discovers the auth endpoint automatically (via RFC 8414), opens a browser tab, and asks you to sign in with Google. The resulting token is stored locally by your client — you only do this once.
Prefer a static token? You can create an API key on your dashboard and pass it as an Authorization: Bearer <key> header instead.
Typical workflow
- Generate HTML
Ask your AI to create a report, dashboard, PRD, or prototype as a complete HTML document. - Publish
Say “publish this to Repage”. The AI callsrepage_publish_documentand returns a link likehttps://www.repage.app/d/abc123. - Share & collect feedback
Send the link to teammates. They can view it and leave inline comments without any account. - Revise
Ask the AI to fetch the document (repage_get_document), make changes, then update it (repage_update_document). The URL stays the same; the old version is kept.