Web pages
for agents
MCP, API, SDKs. No matter the interface, all you need is an API key. Let agents build landing pages, docs, and marketing sites autonomously.
Coding Agents
App Builders
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
Agent gets a task
Your AI agent receives a request to create a landing page, comparison page, or documentation site.
Generates structured sections
Using the unified schema, the agent constructs page content as structured JSON — title, subtitle, text, and UI blocks.
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-typeformFrequently 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.