Build Websites with your AI

49 MCP tools for building, theming, and deploying complete websites. Works with Claude, Cursor, VS Code, and any MCP-compatible client.

$npx -y @pagehub/mcp

Quick Start

Add to your MCP client config and start building.

Paste this into your Claude Desktop config. The MCP server runs locally via npx — no global install needed.

Get your API key from pagehub.dev/dashboard — or skip it and the AI registers a free account automatically.

claude_desktop_config.json
{
  "mcpServers": {
    "PageHub": {
      "command": "npx",
      "args": ["-y", "@pagehub/mcp"],
      "env": {
        "PAGEHUB_API_KEY": "ph_your_key_here"
      }
    }
  }
}

49 Tools

Everything an AI needs to build a complete website.

Discovery

Browse blocks, presets, and design patterns to plan your build.

search_blocksget_component_schemaget_style_referenceget_design_patternslist_presets

Template Building

Create templates, apply themes, add blocks, and edit nodes.

create_templateset_themeadd_blockset_navset_footerupdate_node

Theming

Curated presets with palettes, fonts, and style tokens. Override anything.

set_themelist_presetssuggest_palettes

Remote API

Deploy to PageHub Cloud. Manage sites, upload images, patch live nodes.

registersave_sitepull_siteupload_imagepatch_site_bulk

AI Generation

Generate images and copy with AI. Uploads to CDN automatically.

generate_imagegenerate_copy

Auditing

WCAG accessibility and SEO audits. Catch issues before publishing.

audit_accessibilityaudit_seo

How it works

Tell your AI what to build. PageHub handles the rest.

Claude Desktop
You:Build me a landing page for a coffee shop called "Bean There" with a warm, cozy vibe
> create_template("bean-there") > set_theme(preset: "warm-editorial") > add_block("hero", title: "Bean There") > add_block("features", ...) > add_block("menu", ...) > set_nav(logo: "Bean There", links: [...]) > set_footer(copyright: "Bean There Coffee") > generate_image("cozy coffee shop interior") > save_site()
AI:Done! Your coffee shop site is live with a warm editorial theme, hero block, menu, and AI-generated hero image.
1

Scaffold

create_template generates a base site structure from the acme template.

2

Theme

set_theme applies a curated preset with palette, fonts, and spacing tokens.

3

Build

add_block adds pre-built blocks with your content and overrides.

4

Generate

generate_image creates AI images and uploads them to the CDN.

5

Deploy

save_site publishes to PageHub Cloud. Instant live URL.

Key Features

Built for production. Not a demo.

Theme Presets

Curated presets bundling palette, Google Fonts, and style tokens. Filter by mood, override anything.

Design Patterns

Production-ready node recipes: bento galleries, rich contact blocks, quote grids, multi-column footers.

Image Validation

Every image URL is validated with a HEAD request before writing. No broken images in your templates.

Concurrency Safe

File writes are serialized through a mutex. Live patches use atomic GET/PATCH/PUT.

SEO & Accessibility

Built-in WCAG audit with axe-core. SEO audit checks meta tags, headings, alt text, and content depth.

Site Integrations

GA4, GTM, Search Console, Meta Pixel — just pass the tracking ID. 301/302 redirects built in.

Start building with AI

Add one line to your MCP config. Build entire websites from a prompt.

$npx -y @pagehub/mcp