For the full documentation index, see PageWeave Documentation or fetch llms.txt.

MCP Tools Reference

PageWeave exposes tools via the Model Context Protocol (MCP). All tools connect to https://pageweave.dev/mcp using Streamable HTTP transport.

Authentication

  • API keys — long-lived, full access
  • OAuth tokens — short-lived (1 hour), scoped

Guides

Tool Categories

Websites

Pages

Components

Theme

Assets

Snippets

Data Tables

Forms

Domains

Website Access

Analytics

Version Management

Unified tools for pages, components (header/footer), html_head, theme, and snippets:

Edit Pattern

All HTML edit tools use find-and-replace with fuzzy matching:

  1. Exact match
  2. Line-trimmed (ignoring whitespace)
  3. Block anchor (first/last line match)
  4. Whitespace-normalized
  5. Indentation-flexible
  6. Escape-normalized
  7. Trimmed-boundary
  8. Context-aware

If old_html is empty → append new_html.

Read Pattern

All read tools support offset (default 0) and limit (default 50, max 100) for paginated results.