— MCP

Turn Claude into your Gitpage editor.

Connect Claude Desktop, claude.ai, or Claude Code to your Gitpage sites and list, read, edit, and publish straight from a chat — no copy-paste templates, no GitLab API calls.

1

Open Claude settings

Launch the desktop app or open claude.ai and go to

2

Add a custom connector

Name it GitPage and paste the URL:

https://www.gitpage.site/api/mcp
3

Connect and sign in

Click Add → Connect, sign in with your GitPage account and approve — then ask Claude to list your sites.

A complete editor inside Claude

Six things you get the moment you connect — none of which you had to build, configure, or maintain.

Live preview

See your edits before you ship them

Every edit returns a preview URL Claude shares with you in chat. Click it, see the change instantly — no waiting for GitLab Pages to rebuild. Iterate, refine, then publish only when you're happy.

AI-driven editing

Describe the change, skip the markup

Tell Claude what you want — "shorten the hero", "add an FAQ row about refunds", "swap the testimonial block" — and it reads the HTML, applies a precise diff, and shows you the result. Multi-file changes happen in one tool call.

Safe publishing

Drafts first, commits when you say so

Edits land in a Mongo-backed draft slot. Validate them, preview them, roll back if you regret a publish. SHA conflict detection means no silent overwrites of remote changes.

Site management

Every site, one conversation away

List, search, and tag the sites you own or have access to as a collaborator. Drill into any file in any repo without leaving the chat — Claude resolves the live URL, the git provider, and the access rules for you.

Access control built-in

Owner + collaborator-aware

MCP respects the same sharing rules as the GitPage dashboard. Editors you've invited can read and publish their shared sites through their own Claude session. Only owners change settings, tags, or visibility.

Two ways to connect

Claude Desktop or Claude Code

Use OAuth from Claude Desktop / claude.ai (no API key to manage), or paste a gp_ token into Claude Code in your terminal. Same tools, same access. Pick the one that fits your workflow.

From a typo fix to a full revamp

The MCP server is the same for everyone — what changes is how deep you go.

Solo founders & indie hackers

Update copy, fix typos, refresh CTAs without leaving the chat where you're already strategizing. No git or HTML knowledge required — describe what you want, approve the result.

Small marketing teams

Iterate on landing-page variants while you discuss the angle. Claude reads the page, drafts the change, you review and publish — all in one conversation.

Agencies managing many sites

Tag projects across clients, list every site in one query, jump in to edit any one of them without switching dashboards. The shared-with-me scope makes hand-offs trivial.

Bug fixes from anywhere

On a phone, on a train, in a meeting — if you can chat with Claude, you can fix that broken price or wrong link. Mobile-friendly because it's just a conversation.

From small edits to full audits

Tell Claude what you're working on. It picks the right tools and chains them for you.

Edit → preview → ship

See it before it goes live

"Change the H1 on my-site to "Welcome back"."

Claude diffs the file, shares a preview URL in chat. You click it, see the change instantly. Say "ship it" and Claude commits — or "make it bolder" and it iterates.

Multi-file refresh

Same change, every page

"Update the footer copyright year to 2026 on every page in this site."

Claude lists files, applies the same edit across all of them in one atomic call, and returns one preview URL per file. Publish them together with a single commit message.

Audit + safe rollback

Validate before you publish, restore if you regret

"Audit my-site for missing alt tags and weak meta descriptions, then fix them."

Claude reads the pages, drafts fixes, and runs validate_draft to confirm the HTML is structurally sound. If a publish goes wrong, restore_previous_version stages the prior version for re-publish.

Composable tools, infinite recipes

Claude composes these primitives to handle anything you ask.

list_sitesList your sites and folders, filter by tag or sharing scope.
list_site_filesBrowse a site's file tree.
read_site_fileRead any file from a site repo with conflict-detection SHAs.
get_preview_urlIframe-friendly URL Claude Desktop can render inline — for editing/viewing.
get_live_urlPublic gitlab.io URL for sharing externally.
edit_site_fileApply small old → new replacements to one or more files. Returns a previewUrl.
save_draftStage a fresh full-file draft. Use for new pages.
validate_draftSanity-check the draft for broken HTML, missing alts, busted anchors.
discard_draftThrow away a staged edit before it ships.
restore_previous_versionRoll back to the last published version as a new draft.
publish_draftCommit drafts to GitLab with conflict handling.
update_site_metaHide, unhide, or tag a site.

Common questions

Your editing workflow just leveled up

Connect Claude to GitPage in under a minute. No new account, no new tokens to manage, no copy-paste templates — just your sites, in your chat.