Open source · MIT licensed

WordPress, rebuilt for the AI era

NextPress is an open-source CMS on Next.js and PostgreSQL: a familiar admin for people, a typed REST API for developers, and an MCP server so AI agents can build your pages.

MCP tools
22
Page blocks
14
Lighthouse SEO & accessibility
100
License
MIT

Publish once, reach everyone

Static pages served from the edge, revalidated the moment you hit publish.

Everything you expect from WordPress

A complete publishing platform, without plugins to keep patched.

Familiar admin

Posts, pages, media, menus, categories and tags with a WordPress-style editor, Publish box, inline categories, bulk actions, and confirmation dialogs.

Built for AI agents

An MCP server with 22 tools lets Claude, Cursor, or any agent write posts, build landing pages from blocks, set the homepage, and switch themes.

Themes and Customize

Switch between themes, preview before activating, and tune colors, font, and corners live. Styles are saved in the database, no deploy needed.

SEO, GEO, and AEO

JSON-LD with FAQ and breadcrumbs, sitemap, RSS, llms.txt, and a Markdown copy of every post, so Google and AI answer engines can cite you.

Fast by default

Public pages are static and served from the CDN, revalidated the moment you publish. Lighthouse CI guards the performance budget.

Secure by design

Least-privilege database role with row level security, sanitized content, magic-byte upload checks, and zero known dependency advisories.

Typed REST API

OpenAPI 3 spec with an interactive Scalar reference at /api/docs, hashed API keys, and rate limits.

Roles and authors

Administrator, editor, and author roles. Authors manage only their own posts, and every post records its author.

Donations built in

Add a donate block to any page and accept QRIS payments through SumoPod, with no client JavaScript.

Up and running in minutes

  1. 01

    Clone and install

    Clone the repository from GitHub and run pnpm install.

  2. 02

    Connect PostgreSQL

    Copy .env.example, add your DATABASE_URL, and run pnpm db:migrate.

  3. 03

    Open /admin

    The first visit creates your administrator account. Public sign-up closes right after.

  4. 04

    Connect your AI

    Create an API key in Settings → API and add the MCP server to your agent.

Install

bash
git clone https://github.com/danixsofyan/nextpress.git
cd nextpress && pnpm install
cp .env.example .env.local
DATABASE_URL=... pnpm db:migrate && pnpm db:seed
pnpm dev
Requires Node.js 24+, pnpm 11+, and PostgreSQL.

Let your AI build your pages

Add NextPress to any MCP client, then ask: “Build a landing page for my bakery, make it the homepage, and add Blog to the navigation.”

json
{
  "mcpServers": {
    "nextpress": {
      "url": "https://your-site.com/api/mcp",
      "headers": {
        "X-Api-Key": "np_your_key"
      }
    }
  }
}
This page was built exactly this way, through the MCP server.

Themes, blocks, or MCP?

You need all three. Each layer has one job, so AI can design pages without breaking your site.

LayerWho uses itWhat it controls
ThemeDevelopers (React)How everything looks: layout, typography, colors
StyleAdministrators and AI agentsColors, font, and corners per theme, edited live in Appearance → Customize
BlocksEditors and AI agentsWhat each page contains: hero, features, FAQ, and more
MCPAI agentsBuilding pages, writing posts, setting the homepage and navigation

From the blog

Introducing NextPress

An open-source WordPress alternative built on Next.js, with an MCP server so AI agents can manage your content.

Questions

Do I still need themes if I have MCP?

Yes. MCP lets AI decide what goes on a page, using validated blocks. The theme decides how those blocks look. That split keeps AI-built pages consistent, safe, and restyleable.

Where can I download NextPress?

The source code is on GitHub at github.com/danixsofyan/nextpress. Clone it, or deploy it to Vercel with a Supabase database.

Is it free?

Yes. NextPress is open source under the MIT license, and it runs on the free tiers of Vercel and Supabase.

Can an AI agent break my site?

AI agents can only use validated blocks with safe links and a fixed set of icons, and rich text is sanitized. They cannot inject HTML, CSS, or JavaScript.

Where is the developer documentation?

The README covers setup and deployment, the docs folder covers the API, MCP tools, blocks, and themes, and every site has an interactive API reference at /api/docs.

Can I move from WordPress?

Yes. Tools → Import reads WordPress export files and RSS or Atom feeds, keeping titles, content, slugs, categories, tags, and publish dates.

Will an AI-built landing page slow my site down?

No. Agents compose validated blocks that render on the server with no client JavaScript, public pages are cached on the CDN, and a scheduled Lighthouse check flags any regression.

How can I support NextPress?

Star the repository on GitHub, share it, or make a donation by QRIS on the Donate page. Contributions and bug reports are welcome too.

Support NextPress

NextPress is free and open source. A small donation keeps development going.

Choose an amount

Payment is processed securely by SumoPod. Any QRIS-enabled banking or e-wallet app works.

Start building with NextPress

Free and open source. Deploy it in minutes and let your AI do the rest.

NextPress

Open-source WordPress alternative built with Next.js and TypeScript. A familiar admin, a typed REST API, and an MCP server for AI agents. Created by Dani Sofyan.

Product

Community

Latest articles