NextPress for WordPress users
What feels familiar, what is new, and how to move your content over.
Open source · MIT licensed
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.
Static pages served from the edge, revalidated the moment you hit publish.
A complete publishing platform, without plugins to keep patched.
Posts, pages, media, menus, categories and tags with a WordPress-style editor, Publish box, inline categories, bulk actions, and confirmation dialogs.
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.
Switch between themes, preview before activating, and tune colors, font, and corners live. Styles are saved in the database, no deploy needed.
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.
Public pages are static and served from the CDN, revalidated the moment you publish. Lighthouse CI guards the performance budget.
Least-privilege database role with row level security, sanitized content, magic-byte upload checks, and zero known dependency advisories.
OpenAPI 3 spec with an interactive Scalar reference at /api/docs, hashed API keys, and rate limits.
Administrator, editor, and author roles. Authors manage only their own posts, and every post records its author.
Add a donate block to any page and accept QRIS payments through SumoPod, with no client JavaScript.
Clone the repository from GitHub and run pnpm install.
Copy .env.example, add your DATABASE_URL, and run pnpm db:migrate.
The first visit creates your administrator account. Public sign-up closes right after.
Create an API key in Settings → API and add the MCP server to your agent.
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 devAdd NextPress to any MCP client, then ask: “Build a landing page for my bakery, make it the homepage, and add Blog to the navigation.”
{
"mcpServers": {
"nextpress": {
"url": "https://your-site.com/api/mcp",
"headers": {
"X-Api-Key": "np_your_key"
}
}
}
}You need all three. Each layer has one job, so AI can design pages without breaking your site.
| Layer | Who uses it | What it controls |
|---|---|---|
| Theme | Developers (React) | How everything looks: layout, typography, colors |
| Style | Administrators and AI agents | Colors, font, and corners per theme, edited live in Appearance → Customize |
| Blocks | Editors and AI agents | What each page contains: hero, features, FAQ, and more |
| MCP | AI agents | Building pages, writing posts, setting the homepage and navigation |
What feels familiar, what is new, and how to move your content over.
Connect your AI agent to NextPress over MCP and let it design, publish, and set your homepage from validated blocks.
An open-source WordPress alternative built on Next.js, with an MCP server so AI agents can manage your content.
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.
The source code is on GitHub at github.com/danixsofyan/nextpress. Clone it, or deploy it to Vercel with a Supabase database.
Yes. NextPress is open source under the MIT license, and it runs on the free tiers of Vercel and Supabase.
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.
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.
Yes. Tools → Import reads WordPress export files and RSS or Atom feeds, keeping titles, content, slugs, categories, tags, and publish dates.
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.
Star the repository on GitHub, share it, or make a donation by QRIS on the Donate page. Contributions and bug reports are welcome too.
NextPress is free and open source. A small donation keeps development going.
Free and open source. Deploy it in minutes and let your AI do the rest.
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.