PageGun Logo – The #1 Free AI Landing Page Builder Used by Startups, Makers, and EntrepreneursPageGun

Frictionless

Automate page creation through MCP

Add the PageGun MCP server to your agent and it gets native access to create pages, manage projects, and publish content.

mcp-config.jsonjson

{
  "mcpServers": {
    "pagegun": {
      "type": "command",
      "command": "npx -y @pagegun/mcp",
      "env": {
        "PAGEGUN_API_KEY": "pgk_live_xxxxxxxxx"
      }
    }
  }
}

How It Works

From prompt to published page in seconds

1

Agent gets a task

Your AI agent receives a request to create a landing page, comparison page, or documentation site.

2

Generates structured sections

Using the unified schema, the agent constructs page content as structured JSON — title, subtitle, text, and UI blocks.

3

Publishes via API

One API call to publish. The page is live on your domain with SEO optimization, responsive design, and fast CDN delivery.

Simple

One API call to publish

Create and publish pages with a single API request. No templates, no configuration, no manual steps.

create-page.tstypescript

const page = await fetch("https://api.pagegun.com/pages", {
  method: "POST",
  headers: {
    "Authorization": "Bearer pgk_live_xxx",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    projectId: "your-project-id",
    title: "MakeForm vs Typeform",
    slug: "makeform-vs-typeform",
    type: "page",
    sections: [
      {
        subtitle: "Why teams switch to MakeForm",
        text: "Compare features side by side",
        ui: [{ type: "table", data: { ... } }]
      }
    ]
  })
})

// Page is live at your-domain.com/makeform-vs-typeform
50K+
Pages Generated
99.9%
API Uptime
<200ms
Avg Response Time
1,200+
Active Projects

Frequently Asked Questions

Start building with agents today

PageGun is the fastest way to give your AI agents the power to create and manage web pages at scale.