Convert frontend folders to WordPress themes: quota, convert, status, download, preview, failures.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Open-source developer tools for turning AI-built websites into WordPress themes from your terminal, API, or AI assistant.
WPConvert does not modify your source project and does not require WordPress credentials. Output is either
theme.zip(paid) or a WordPress Playground preview URL (~10 minutes).
The CLI and MCP server are open source. The WPConvert conversion engine runs on WPConvert.ai and requires an API key. Free verified accounts can create preview-only developer conversions; downloading
theme.ziprequires PRO, Agency, or PAYG credits.
If you are a coding agent in Cursor, Claude Desktop, or another MCP host, use the MCP tools (do not shell out to the CLI in the same session).
@wpconvert/mcp β see examples/mcp/ and docs/agents.mdwpconvert_quota β inspect capabilities before convertingwpconvert_convert_folder β wpconvert_check_status β wpconvert_download_result or wpconvert_create_preview| MCP tool | Purpose |
|---|---|
wpconvert_quota | Capabilities, credits, recommended_next |
wpconvert_convert_folder | Zip folder + start conversion |
wpconvert_check_status | Poll job status |
wpconvert_download_result | Download theme.zip when allowed |
wpconvert_create_preview | Playground URL when preview-only |
wpconvert_explain_failure | Failure reason + recovery |
Portable Skill: skills/wpconvert/SKILL.md
Current release: @wpconvert/mcp@0.3.1 (npx -y @wpconvert/mcp uses npm latest; pin @0.3.1 for deterministic installs).
Optional: set WPCONVERT_API_BASE to point at a non-default API host (testing only).
See docs/mcp.md and docs/agents.md for the full agent workflow.
This repository contains the open-source WPConvert developer tools:
| Package | Description |
|---|---|
wpconvert | CLI β convert a local folder to a WordPress theme |
@wpconvert/mcp | MCP server β convert from Cursor, Claude Desktop, or other MCP clients |
examples/ | API usage examples (curl + Node.js) |
docs/ | CLI, MCP, API reference, and agent integration guide |
openapi.yaml | Machine-readable OpenAPI 3.1 Developer API contract (mirrored from production) |
These tools are thin clients that call the hosted API over HTTPS.
This repository does not include the WPConvert conversion engine, backend workers, AI prompts, parser/mapper logic, billing/quota logic, or theme generation system. Those run on WPConvert.ai servers.
wpc_live_...) from your dashboard (Settings β API & CLI)theme.zip downloadFree verified WPConvert accounts can create up to 3 lifetime developer previews from the CLI, API, or MCP. Preview-only conversions generate a WordPress Playground preview, but theme ZIP downloads are locked. To download theme.zip, upgrade to PRO/Agency or add PAYG credits, then re-run the conversion.
wpconvert convert automatically creates a Playground preview URL.--no-open in CI/headless, or --no-preview to skip Playground entirely.Paid conversions (PRO/Agency/PAYG) download theme.zip automatically and print the preview URL without auto-opening unless you pass --open.
Current release: wpconvert@0.3.1
The CLI smart-zips your folder, runs a capability preflight before upload, polls until done, then downloads theme.zip (paid) or opens a Playground preview (free preview-only).
convert flags--dry-run lists exactly what would be uploaded β no upload, no credit used.
By default the CLI excludes:
.env and secret files (*.pem, *.key, id_rsa*, .npmrc, .ssh/, credentials*.json, β¦)node_modules, .git, build output (dist/, build/, β¦).gitignore patternsSymlinks are never followed. Use --include-env only if you truly intend to upload secrets (not recommended).
Only upload projects you own or have permission to process through WPConvert.
WPConvert offers three developer surfaces: REST API, CLI, and MCP. All call the same hosted API at https://api.wpconvert.ai.
| Surface | Entry point |
|---|---|
| OpenAPI 3.1 | openapi.yaml β canonical machine-readable contract (mirrored from production) |
| REST guide | docs/api.md β workflows, capabilities, idempotency, status, download, Playground |
| CLI | docs/cli.md β wpconvert quota, wpconvert convert ./site |
| MCP | docs/mcp.md β six MCP tools for Cursor, Claude Desktop, etc. |
| Agents | docs/agents.md β capability gate, idempotency, preview vs download |
openapi.yamlis a byte-identical mirror of the canonical WPConvert API contract maintained in the private application repository. Do not independently modify API behavior or schemas here. Contract changes originate with the production API and are mirrored into this repository.
Quick example:
See docs/api.md for the full workflow (quota β convert β status β download or Playground) and examples/ for end-to-end scripts.
Prefer
docs/api.mdandopenapi.yamlfor the current contract. The table below is a minimal quick reference.
All requests require the X-API-Key header. Base URL: https://api.wpconvert.ai
| Method | Endpoint | Purpose |
|---|---|---|
GET | /api/convert/quota | Preflight quota and developer capabilities |
POST | /api/convert | Upload a zip and start conversion (multipart) |
POST | /api/convert/upload-url | Mint a signed URL for large archives |
POST | /api/convert/from-storage | Queue conversion after signed upload |
GET | /api/convert/{jobId}/status | Poll conversion status |
GET | /api/download/{projectId} | Get download URL for a completed conversion |
POST | /api/playground/sessions | Create a Playground preview session |
Returns { "jobId": "...", "status": "queued", ... }.
Returns { "download_url": "https://...", "name": "my-site-theme.zip" }. Follow the download_url to fetch the theme zip β do not hard-code storage paths.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/wpconvert-mcp)<a href="https://allmcps.com/mcp/wpconvert-mcp"><img src="https://allmcps.com/api/badge/wpconvert-mcp?style=directory" alt="WPConvert MCP on AllMCPs" /></a>