Migrate your WordPress site to a modern AI-powered stack β in minutes, not months.
What is Unpress? β’ Features β’ Architecture β’ Quick Start β’ How It Works β’ Contributing
Unpress is an open-source MCP (Model Context Protocol) server that migrates WordPress websites to a modern, AI-powered stack:
| From | To |
|---|---|
| WordPress + PHP + MySQL | Next.js + Sanity CMS + Vercel |
| Manual theme editing | AI co-pilot that changes your site on command |
| $5β80/mo hosting | Free tier for most sites |
After migration, Claude stays as your site co-pilot β say "Change my header color" or "Add a testimonials section" and it just happens.
|
Your WordPress site stays completely untouched. Unpress only reads and copies content β it never modifies, deletes, or touches your live site. Three experience levels adapt the entire wizard:
|
Share 3β5 websites you love. Unpress analyzes their visual DNA (colors, fonts, layout, vibe) and generates a site that matches your taste β not a generic template. Once deployed, Claude can modify your site on demand:
|
|
π° Cost Calculator Shows exactly what you'll pay (usually $0) with side-by-side WP hosting comparison |
π 301 Redirect Map Auto-generates SEO-preserving redirects from old WordPress URLs to new routes |
π Preview Gate See your entire site before it goes live β approve or request changes |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β MCP Server (unpress) β
β β
β 10 Tools: start Β· status Β· rollback Β· scan Β· wizard β
β decide Β· migrate Β· design Β· deploy Β· copilot β
ββββββββββββ¬βββββββββββ¬βββββββββββ¬βββββββββββ¬βββββββββββββββ€
β Scan β Migrate β Design β Deploy β Copilot β
β Phase β Phase β Phase β Phase β Phase β
β β β β β β
β WP Clientβ HTMLβPT β Inspira- β GitHub β Site changes β
β Cost Est β Schemas β tion AI β Vercel β on demand β
β Manifest β Media β Site Gen β DNS β β
β β Redirect β β β β
ββββββββββββ΄βββββββββββ΄βββββββββββ΄βββββββββββ΄βββββββββββββββ
β² β
β ββββββββββββββββ β
βββββββββββ WordPress β βΌ
β Plugin β βββββββββββββββββββββ
β (scanner) β β Generated Site β
ββββββββββββββββ β Next.js + Sanity β
β + Vercel β
βββββββββββββββββββββ
packages/
shared/ β Types: Manifest, Phase, Checkpoint, Config, Errors
unpress/ β MCP server orchestrator (10 tools)
unpress-scan/ β WordPress scanning + cost estimation
unpress-migrate/ β Content migration pipeline
unpress-wizard/ β Next.js onboarding UI
unpress-design/ β Design phase (AI-powered)
unpress-deploy/ β GitHub + Vercel deployment
unpress-copilot/ β Post-migration AI co-pilot
plugins/
unpress-wp/ β WordPress plugin (scanner + REST API + trust badge)
templates/
next-sanity/ β Generated site template
| Layer | Technology |
|---|---|
| Monorepo | Turborepo + pnpm workspaces |
| Language | TypeScript (strict mode, ES2022, NodeNext) |
| MCP Server | @modelcontextprotocol/sdk |
| Frontend | Next.js 16 + Tailwind CSS + shadcn/ui |
| CMS | Sanity CMS (Portable Text, Studio) |
| Hosting | Vercel (free tier for most sites) |
| WP Plugin | PHP 8.0+, WordPress 6.0+ |
| Testing | Vitest (31 tests across 7 test files) |
- Node.js 18+
- pnpm 9+
- A WordPress site you want to migrate
# Clone the repo
git clone https://github.com/baldiga/unpress.git
cd unpress
# Install dependencies
pnpm install
# Build all packages
pnpm turbo build
# Run tests
pnpm turbo testAdd to your Claude Desktop MCP config (claude_desktop_config.json):
{
"mcpServers": {
"unpress": {
"command": "node",
"args": ["path/to/unpress/packages/unpress/dist/index.js"]
}
}
}Then tell Claude: "I want to migrate my WordPress site to a modern stack" and it will guide you through the entire process.
|
Step 1 π Install WP Plugin |
Step 2 π Connect Site |
Step 3 π¦ Set Up Sanity |
Step 4 π Set Up GitHub |
Step 5 β² Set Up Vercel |
Step 6 π¨ Pick Design |
Step 7 π Launch! |
- Install the WordPress plugin β scans your content, creates a secure read-only connection
- Connect your site β enter your URL, Unpress verifies the connection and shows what it found
- Set up services β Sanity (your new CMS), GitHub (your code), Vercel (your hosting)
- Choose your design β share websites you love, AI analyzes their visual DNA
- Review & launch β preview everything before it goes live, approve with one click
The entire process takes 15β45 minutes depending on site size.
| Tool | Description |
|---|---|
unpress_start |
Start or resume a migration session |
unpress_status |
Get current migration progress |
unpress_scan |
Scan WordPress site, generate manifest + cost estimate |
unpress_wizard |
Launch the onboarding wizard UI |
unpress_decide |
Submit user decisions for migration choices |
unpress_migrate |
Migrate content to Sanity CMS |
unpress_design |
Analyze inspiration sites + generate design |
unpress_deploy |
Deploy to GitHub + Vercel |
unpress_copilot |
Execute post-migration site changes |
unpress_rollback |
Mark session for rollback |
# Build all packages
pnpm turbo build
# Run all tests (31 tests)
pnpm turbo test
# Watch mode for development
pnpm turbo dev
# Clean all build artifacts
pnpm turbo clean
# Lint
pnpm turbo lint@unpress/shared (types)
βββ @unpress/scan
βββ @unpress/migrate
βββ @unpress/design
βββ @unpress/deploy
βββ @unpress/copilot
βββ @unpress/wizard
βββ unpress (MCP server) β imports all phase packages
- Core monorepo + shared types
- MCP server with 10 tools
- WordPress plugin (scanner, REST API, trust badge)
- Scan phase (WP client, cost calculator)
- Migrate phase (HTMLβPortable Text, schemas, media, redirects)
- Wizard UI (welcome page, skill levels)
- Design/Deploy/Copilot stubs
- Wizard steps 1β7 (full onboarding flow)
- Design phase β Playwright analysis + AI site generation
- Deploy phase β GitHub + Vercel API integration
- Copilot phase β post-migration site changes
- Live migration dashboard
- End-to-end integration testing
- WooCommerce support
- Multi-language support (WPML/Polylang)
Contributions are welcome! This is an open-source project and we'd love your help.
- Fork the repo
- Create a feature branch (
git checkout -b feat/amazing-feature) - Write tests for your changes
- Make sure all tests pass (
pnpm turbo test) - Open a PR
MIT License. See LICENSE for details.
Built by Amir Baldiga β’ Connect on LinkedIn
WordPress β AI-powered websites, one migration at a time.