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
- Internationalization (i18n) — Multilingual websites, hreflang, RTL support
- PWA guide — Progressive Web App setup
Tool Categories
Websites
- list_websites — List all websites
- get_website — Get website details
- create_website — Create a new website
- update_website — Update website settings
Pages
- list_pages — List all pages
- get_page — Get page content
- create_page — Create a new page
- update_page — Update page content via find-and-replace
- update_page_settings — Update page path, title, table association, language, or indexability
- delete_page — Delete a page
Components
- get_component — Get header or footer content
- update_component — Update header or footer content
- get_html_head — Get html_head content
- update_html_head — Update html_head content
Theme
- get_theme — Get current theme
- update_theme — Update theme
Assets
- list_assets — List all assets
- upload_asset — Upload a new asset or replace an existing one (pass
asset_id) - request_upload_url — Get session-based upload URL (supports replace via
asset_id)
Snippets
- list_snippets — List all text snippets
- get_snippet — Get snippet content
- create_snippet — Create a new text snippet
- update_snippet — Update snippet content via overwrite or find-and-replace
- delete_snippet — Delete a snippet
Data Tables
- list_tables — List all tables
- create_table — Create a new table
- update_table — Update table schema
- list_table_rows — List table rows
- create_table_row — Create a table row
- update_table_row — Update a table row
- delete_table_row — Delete a table row
Forms
- list_forms — List all forms
- create_form — Create a new form
- update_form — Update form fields
Domains
- add_domain — Add a domain
- update_domain — Update domain settings
- purchase_domain — Purchase a domain
- check_domain_availability — Check domain availability
Website Access
- invite_website_member — Invite a member
Analytics
- website_analytics — Get analytics data
Version Management
Unified tools for pages, components (header/footer), html_head, theme, and snippets:
- pin_version — Pin a specific version
- revert_version — Revert to a previous version
Edit Pattern
All HTML edit tools use find-and-replace with fuzzy matching:
- Exact match
- Line-trimmed (ignoring whitespace)
- Block anchor (first/last line match)
- Whitespace-normalized
- Indentation-flexible
- Escape-normalized
- Trimmed-boundary
- 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.