# Build a landing page with AI in five minutes

> Connect your AI agent to NextPress over MCP and let it design, publish, and set your homepage from validated blocks.

URL: https://nextpress-app.vercel.app/blog/build-a-landing-page-with-ai
Published: 2026-11-21
Updated: 2026-11-21

Every NextPress site ships with an MCP server. Create an API key in **Settings → API**, add the server to your agent, and ask it for a page.

## How it works

1. The agent reads the block specification with `get_block_spec`.
2. It creates the page with `create_page`, using hero, features, FAQ, and other blocks.
3. It publishes the page as your homepage with `set_homepage`.

The homepage of this site was built exactly that way.
