MCP setup · Claude Code

Add Repage to Claude Code

One terminal command and a browser sign-in. After that, ask Claude to publish any HTML and get back a shareable link instantly.

Prerequisites

Setup

  1. Run the add command
    In your terminal:
    claude mcp add --transport http repage https://www.repage.app/api/mcp
  2. Sign in with Google
    Claude Code opens a browser tab. Click Sign in with Google and authorise Repage. You only do this once — the token is stored locally.
  3. Verify it's connected
    Run claude mcp list — you should see repage in the output.

Using Repage from Claude Code

Just describe what you want in plain English:

# Publish a new document
> Create an HTML dashboard showing our Q4 metrics and publish it to Repage

# Update an existing document
> Fetch the Repage document abc123, update the chart colours to match our brand, then publish the new version

# Read feedback
> List the comments on Repage document abc123

Claude will use repage_publish_document, repage_get_document, and repage_update_document automatically. The URL it returns never changes between revisions.

Remove or update

# Remove the server
claude mcp remove repage

# Re-add (e.g. after re-authentication)
claude mcp add --transport http repage https://www.repage.app/api/mcp

Using an API key instead

If you prefer a static credential, create an API key on your Repage dashboard, then:

claude mcp add --transport http repage https://www.repage.app/api/mcp \
  --header "Authorization: Bearer rpg_your_key_here"

All set — try publishing your first document

Ask Claude to generate any HTML report and publish it to Repage.

Publish a document