Option A — Settings UI
- Open Windsurf Settings → Cascade → MCP Servers.
- Click Add server and choose Remote (HTTP/SSE).
- Paste the server URL:
Give it the name repage.https://www.repage.app/api/mcp - A browser tab opens for the Google sign-in. Authorise and return to Windsurf — the server will show as connected.
Option B — config file
Edit (or create) ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"repage": {
"serverUrl": "https://www.repage.app/api/mcp"
}
}
}Restart Windsurf after saving the file.
Using an API key instead of OAuth
Create an API key on your Repage dashboard and add it to the config:
{
"mcpServers": {
"repage": {
"serverUrl": "https://www.repage.app/api/mcp",
"headers": {
"Authorization": "Bearer rpg_your_key_here"
}
}
}
}Using Repage from Windsurf
Open Cascade and describe what you want. Make sure Cascade is in Write or Agent mode so it can call tools:
Generate an HTML technical spec for this feature and publish it to Repage
Fetch my Repage document abc123 and update the data table with the latest numbersWindsurf's Cascade will call the appropriate Repage tools and include the shareable URL in its response.
All set — try it in Cascade
Ask Windsurf to generate a report and publish it to Repage.
Publish a document