WPConvert MCP

ai.wpconvert由 wpconvert.ai 發布官方發布者v0.4.1更新於 Nov 3, 2026

Convert websites to WordPress themes: connect by URL or run locally; preview, buy, download.

已驗證Streamable HTTP可網頁執行開發者工具商業與電商媒體與設計

概覽

AI 產生的概覽

WPConvert MCP 可把本機專案資料夾轉換成 WordPress 佈景主題,並在對話中查看任務狀態、預覽、方案與結帳。

可以做什麼
  • 壓縮本機資料夾並發起 WordPress 佈景主題轉換,附帶冪等鍵以便安全重試
  • 查詢轉換任務在各流程階段的状态,並說明任務失敗原因
  • 將完成的佈景主題以 zip 檔下載到本機磁碟
  • 產生暫時的 WordPress Playground 連結,在瀏覽器中檢視轉換後的佈景主題
  • 在轉換前查看帳戶配額、可用能力與訪客免費預覽次數
  • 以訪客或登入身分連線,列出方案與價格,並建立 Stripe 結帳連結
適用情境
當你有靜態網站或前端專案資料夾,希望由助理直接轉成可安裝的 WordPress 佈景主題、省去手動打包上傳時適用。也適合先用免費訪客預覽試用,再決定是否購買方案或額度。
執行需求
可作為遠端端點使用,也可作為本機 npm 套件執行(npx @wpconvert/mcp),需要 Node.js 18 以上版本。API 金鑰為選用:未設定 WPCONVERT_API_KEY 時,助理會提供訪客或登入連結,登入後金鑰會存到本機設定檔。下載需要付費方案或額度。
安裝前請注意
此伺服器會讀取本機資料夾並上傳到第三方服務;預設排除 node_modules、建置產物與機密檔案,但仍應先確認資料夾內容。購買方案或額度是透過使用者自行開啟的 Stripe 結帳連結完成。訪客上傳有大小上限,預覽連結約十分鐘後失效且屬敏感資訊。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 WPConvert MCP,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/ai.wpconvert%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "wpconvert": {
      "type": "http",
      "url": "https://mcp.wpconvert.ai/mcp"
    }
  }
}

README

@wpconvert/mcp

A Model Context Protocol server for WPConvert.ai. It lets an AI agent (Cursor, Claude Code, Claude Desktop, etc.) convert the current workspace folder into a WordPress theme — no manual zipping required.

It's a thin wrapper over the same HTTP API and smart-zip logic as the wpconvert CLI.

Requires Node.js >= 18. No API key is needed to start: the agent can give you a link for a few free guest previews (one quick human check in the browser, no account), or for signing in. Downloads need Starter, Pro, Agency or pay-as-you-go credits, which you can buy from the same conversation.

Tools

ToolPurpose
wpconvert_convert_folderZip a folder (excluding node_modules, build output, secrets) and start a conversion. Returns a jobId.
wpconvert_check_statusPoll a job's status. Persisted values follow the OpenAPI ConversionStatus enum (queued, pipeline stages, done, failed). The tool-layer bucket processing means still in progress — not a persisted API value.
wpconvert_download_resultDownload a completed conversion to disk.
wpconvert_create_previewGet a WordPress Playground URL to view the theme in a live in-browser WordPress. The link expires after about ten minutes and is sensitive — open it in a browser.
wpconvert_explain_failureReturn the failure reason for a failed job.
wpconvert_quotaShow quota, capabilities, and recommended_next. Call before converting. For a guest session, shows free previews left.
wpconvert_connectStart a browser link: kind: "guest" (free previews, no account) or kind: "login" (sign in; saves a new API key locally). Returns a link and code for you to open — the agent never opens it.
wpconvert_connect_statusCheck whether you finished the link (waits ~20s), and how WPConvert is connected now.
wpconvert_plansEvery option with what it includes and today's price: Starter (one theme), Pro, Agency (monthly/yearly), pay-as-you-go packs. Pass jobId for options to unlock that conversion.
wpconvert_checkoutA Stripe checkout link for the option you picked. Needs a signed-in account. You open and pay; the agent never pays.

Configure (Claude Code)

bash
claude mcp add wpconvert --scope user -- npx -y @wpconvert/mcp

--scope user makes the server available in every project. Confirm with claude mcp list (wpconvert … ✔ Connected) or /mcp inside a session. Then ask the agent to convert a folder; it will offer a guest link or a sign-in link.

To use an existing API key instead, add it before the --, after the server name: claude mcp add wpconvert --scope user -e WPCONVERT_API_KEY=wpc_live_xxx -- npx -y @wpconvert/mcp (-e accepts several values, so put the name first).

Configure (Cursor / Claude Desktop)

json
{  "mcpServers": {    "wpconvert": {      "command": "npx",      "args": ["-y", "@wpconvert/mcp"]    }  }}

Optional env: WPCONVERT_API_KEY (an existing key; it takes precedence over a key saved by sign-in) and WPCONVERT_API_BASE (a non-default API host, for testing).

Sign-in and guest sessions are saved in ~/.wpconvert/config.json (mode 0600), shared with the wpconvert CLI. Tool results never include the key, the guest token or the link's device code.

Typical agent flow

Quota-first (recommended):

  1. wpconvert_quota → review capabilities (conversion mode, can_start, download availability) and recommended_next
  2. wpconvert_convert_folder { "path": "./my-site", "type": "theme" } → jobId + idempotency_key + recommended_next
  3. wpconvert_check_status { "jobId": "..." } (repeat until done; follow recommended_next — usually poll every ~15s)
  4. When recommended_next.tool is wpconvert_download_result → download the theme .zip
  5. When preview-only or download locked → wpconvert_create_preview for a WordPress Playground URL (no ZIP)

If conversion is blocked (can_start: false), wpconvert_convert_folder returns a structured denial before zipping or submitting. Call wpconvert_quota to review recommended_action.

No key yet (guest):

  1. wpconvert_convert_folder → recommended_next: wpconvert_connect { "kind": "guest" }
  2. wpconvert_connect { "kind": "guest" } → the agent shows you a link and code; you open it and confirm you're human
  3. wpconvert_connect_status → connected, with free previews left
  4. wpconvert_convert_folder, wpconvert_check_status, then wpconvert_create_preview to see it in WordPress Playground (guest uploads up to 50MB zipped; never retried automatically, since each upload uses a preview)

Buying (download a theme, or a plan):

  1. wpconvert_plans { "jobId": "..." } → every option and price; the agent asks you which one
  2. Not signed in? wpconvert_connect { "kind": "login" }, then wpconvert_connect_status, then wpconvert_plans again
  3. wpconvert_checkout with your choice's checkout_arguments → a Stripe link you open and pay
  4. wpconvert_check_status → once paid, recommended_next is wpconvert_download_result. Guest themes you buy move to your account.

Capabilities and structured responses

Tools return human-readable prose plus a trailing JSON block (same ok() / fail() pattern as before). Key fields:

FieldWhereMeaning
quotawpconvert_quotaFull backend quota body (unknown future fields preserved)
summaryquota, denialsProjected can_start, mode, consumes, download_available
capabilities_availablequotafalse on legacy backends without capabilities.conversion
recommended_nextall tools{ tool, reason, retry_after_seconds? } — which MCP tool to call next
next_actionconvert successString (unchanged) — human guidance for agents
idempotency_keyconvertOmitted on preflight denial (no key generated)

Status recommended_next rules:

  • queued, pipeline stages, or tool-layer processing → wpconvert_check_status (poll)
  • done + downloadable → wpconvert_download_result
  • done + preview-only / download locked → wpconvert_create_preview (never download); the reason names wpconvert_plans for unlocking
  • done + guest (guest: true, remaining_previews) → wpconvert_create_preview, then wpconvert_plans to buy
  • failed → wpconvert_explain_failure

Idempotency recovery

  • Leave idempotency_key blank for a new intentional conversion.
  • If a prior wpconvert_convert_folder call timed out or returned an ambiguous network error, retry with the exact idempotency_key from that call — do not omit it and do not invent a new one.
  • Do not reuse a key for changed files, options, or a deliberate new conversion.
  • Preflight runs after path/plan validation but before key generation (when omitted), ZIP build, and submit — so blocked accounts never upload.

Preview-only / download locked

Free developer previews and guest previews are preview-only (Playground, no ZIP download). When download_available is false or preview_only is true, status and download tools recommend wpconvert_create_preview, wpconvert_plans or wpconvert_quota — not download retry.

Dependency pin

This package pins [email protected] exactly for shared capability helpers (resolveConvertPreflight, quota formatters).

來源:packages/mcp/README.md,提交 b47ab0a

工具

10

wpconvert_convert_folder

Zip a local folder (excluding node_modules, build output, and secrets by default) and start a WordPress theme conversion. Call wpconvert_quota first to review capabilities (mode, credits, download availability). Returns a jobId and an idempotency_key. Leave idempotency_key blank for a new intentional conversion. If a prior call may have timed out or returned an ambiguous network error, retry with the exact idempotency_key returned by that prior call — do not omit it and do not invent a new one. Do not reuse a key for changed files, options, or a deliberate new conversion. Once you have a jobId, poll wpconvert_check_status until "done", then follow recommended_next for download or preview. Without an API key it uses the guest session from wpconvert_connect (free previews, up to 50MB zipped); with neither it returns recommended_next wpconvert_connect.

輸入參數namepath必填typeincludeEnvmaxAssetSizeMBidempotency_key

wpconvert_check_status

Check the status of a conversion job. Returns persisted status per the OpenAPI ConversionStatus enum (queued, analyzing, building, rendering, labeling, generating, validating, uploading, done, failed). The tool-layer bucket `processing` means still in progress — it is not a persisted API value. Also returns progress, download/preview availability, and recommended_next (which tool to call next). When done and downloadable, recommended_next points to wpconvert_download_result; for preview-only jobs it points to wpconvert_create_preview instead.

輸入參數jobId必填

wpconvert_download_result

Download a completed conversion to disk. Only use when wpconvert_check_status shows download_available and recommended_next is wpconvert_download_result. Returns the saved file path. For preview-only jobs, use wpconvert_create_preview or upgrade and re-convert instead.

輸入參數jobId必填outDir

wpconvert_create_preview

Create a WordPress Playground preview link for a completed conversion so the user can view the theme running in a live, in-browser WordPress (no local install). Returns a URL the user must open in a browser — you cannot embed or render it yourself. The link expires after about ten minutes and grants temporary access to the theme, so treat it as sensitive.

輸入參數jobId必填

wpconvert_explain_failure

Return the failure reason for a failed conversion job. Distinguishes status retries, recovering a submission with the same idempotency_key via wpconvert_convert_folder, and starting a deliberate new conversion without that key.

輸入參數jobId必填

wpconvert_quota

Show account quota, capabilities (conversion mode, can_start, download availability), and recommended_next. Call this before wpconvert_convert_folder to understand what the next conversion will consume. For a guest session it shows the free previews left.

無需輸入參數。

wpconvert_connect

Connect WPConvert without an API key. kind "guest": the user confirms they are human once in the browser and gets a few free previews (no account; downloads need a purchase). kind "login": the user signs in or creates an account in the browser and types the code shown, and a new API key is saved locally. Returns a link and a short code. Show both to the user and ask them to open the link; never open it yourself. Then call wpconvert_connect_status.

輸入參數kind必填

wpconvert_connect_status

Check whether the user finished the wpconvert_connect link (waits up to about 20 seconds). Call it again while it says "waiting". Also reports how WPConvert is connected now: guest (with previews left) or account (with a masked email). Never returns the token or key.

無需輸入參數。

wpconvert_plans

List what the user can buy: Starter (unlock one theme), Pro, Agency (monthly or yearly) and pay-as-you-go credit packs, with what each includes and today's price. Pass jobId to see options for unlocking that conversion. Show all options to the user and let them choose; do not pick for them. Then call wpconvert_checkout with the checkout_arguments of their choice.

輸入參數jobId

wpconvert_checkout

Create a Stripe checkout link for the option the user picked from wpconvert_plans. Call this only after the user has chosen; pass that choice's checkout_arguments unchanged. Needs a signed-in account (wpconvert_connect kind "login"). Returns a link the user opens to pay; never open it yourself and never pay on their behalf.

輸入參數kind必填jobIdintervalpackSize

版本歷史

4
  1. v0.4.1最新Oct 26, 2026
  2. v0.4.0Oct 20, 2026
  3. v0.3.2Oct 19, 2026
  4. v0.3.1Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分