Elementor Ultra MCP

Elementor Ultra MCP

Enables AI agents to read, build, refactor, and govern Elementor websites through a Model Context Protocol server and companion WordPress plugin with atomic validation, backups, and rollback.

Category
访问服务器

README

Elementor Ultra MCP

The agent control surface for Elementor. A Model Context Protocol server + companion WordPress plugin that let AI agents read, build, refactor and govern real Elementor sites the way engineers ship software — Editor V4 atomic elements first, V3 classic fallback — with authoritative server-side validation, diffs, backups and rollback on every write.

  • packages/server — TypeScript MCP server: 91 tools (elementor.page.*, widget, design, templates, media, nav, pro.*, HTML→Elementor convert), stdio + HTTP transports, lean/full tool profiles.
  • plugin/elementor-ultra-mcp — WordPress plugin exposing the authoritative REST seam (/wp-json/elementor-ultra/v1/*): every write goes through Elementor's own Document::save() with backup snapshots, optimistic concurrency (base_hash), idempotency (op_id) replay, the authoritative validator, and mandatory CSS priming.
  • packages/shared — the frozen contract surface: REST route registry, error taxonomy, JSON-schema mirrors, golden fixtures. Byte-identical to spec/contracts/schemas (CI-guarded).
  • spec/ — the full engineering record: contracts, spike verdicts and work packages the system was built against.

Pairs with elementor-jsx — the JSX→Elementor compiler whose deploys ride this plugin's REST seam.

Quickstart (use it with an agent)

  1. Install the companion plugin on your WordPress site (zip from Releases; requires Elementor ≥ 4.1) and create an application password.
  2. Wire the server into your MCP client (.mcp.json):
{
  "mcpServers": {
    "elementor-ultra": {
      "command": "node",
      "args": ["/path/to/elementor-ultra-mcp/packages/server/dist/index.js"],
      "env": {
        "WP_URL": "https://your-site.com",
        "WP_USER": "admin",
        "WP_APP_PASSWORD": "xxxx xxxx xxxx xxxx xxxx xxxx",
        "ULTRA_TOOLS": "full",
      },
    },
  },
}
  1. Ask your agent to list pages, dry-run a tree, build a page. Every mutation is validated by Elementor's own parsers server-side before anything saves; invalid trees are rejected atomically with a taxonomy error code.

Licensing

  • TypeScript packages (packages/*): MIT © 2026 Algorismus
  • WordPress plugin (plugin/elementor-ultra-mcp): GPL-2.0-or-later (WordPress convention)

Not affiliated with or endorsed by Elementor Ltd — "Elementor" is their trademark; this is an independent integration that targets their page format.


Prerequisites

Tool Version Notes
Node.js ≥ 20 LTS .nvmrc pins 20. engine-strict=true is enforced.
pnpm 9.x The package manager; the lockfile is committed.
Docker running Required by @wordpress/env (wp-env) for the dev WP site.
PHP ≥ 7.4 (in container) Provided by the wp-env Docker container — no host PHP needed.
Composer (in container) The plugin's Composer/PHPCS setup is provided by WP-P01.

You do not need PHP or Composer on the host; the PHP tooling runs inside the wp-env container.


Install & build

pnpm install        # installs all workspace deps; writes/uses pnpm-lock.yaml
pnpm build          # turbo: compiles packages/shared + packages/server (strict TS)
pnpm lint           # eslint (typescript-eslint, recommended-type-checked) across the workspace
pnpm format:check   # prettier --check
pnpm test:unit      # turbo: vitest run in each package

Running the server bin (no tools wired yet)

After pnpm build, the server bin exists at packages/server/dist/index.js. With no env set it prints a clear message and exits cleanly (exit code 0):

node packages/server/dist/index.js
# -> elementor-ultra-mcp: missing required environment variable(s): WP_URL, WP_USER, WP_APP_PASSWORD. ...

When configured, it reads the following environment variables:

Variable Required Meaning
WP_URL yes Base URL of the target WordPress site.
WP_USER yes WordPress username (Application-Password owner).
WP_APP_PASSWORD yes WordPress Application Password (HTTP Basic auth).
MCP_TRANSPORT no stdio (default) or http (Streamable HTTP).
ULTRA_TOOLS no lean (default) or full tool profile.

The real transport binding + tool registry are added by WP-T01 in packages/server/src/server.ts. The bin (index.ts) lazily import()s ./server.js and prints "server core not yet wired" until that module exists — so the bin compiles and boots standalone on this scaffold.


Local WordPress dev site (wp-env)

The dev site uses @wordpress/env and pins Elementor 4.1.1 + Elementor Pro 4.1.0 exactly via local plugin zips (not the wp.org slug, which pulls the latest version and does not host Pro at all).

Where the plugin zips live (and where Pro must be placed)

.wp-env.json references two local zips under .wp-env-plugins/ (a gitignored directory):

.wp-env-plugins/
├─ elementor.4.1.1.zip        # Elementor free 4.1.1
└─ elementor-pro.4.1.0.zip    # Elementor Pro 4.1.0  (licensed; not on wp.org)

These zips are not committed (they are licensed binaries and are gitignored). After a fresh clone you must place them yourself:

mkdir -p .wp-env-plugins
cp /path/to/elementor.4.1.1.zip      .wp-env-plugins/elementor.4.1.1.zip
cp /path/to/elementor-pro.4.1.0.zip  .wp-env-plugins/elementor-pro.4.1.0.zip

The exact filenames above must match the paths in .wp-env.json.

Start / stop

pnpm wp-env:start   # boots WordPress + Elementor 4.1.1 + Pro 4.1.0; mounts the companion plugin
pnpm wp-env:stop

.wp-env.json also mounts ./plugin/elementor-ultra-mcp as a plugin. That directory's contents (the bootstrap, composer.json, phpcs.xml.dist, readme.txt, and includes/) are created by WP-P01; once they land the companion plugin is activatable in the wp-env site. The plugin's own Composer/PHPCS configuration is also provided by WP-P01.


Monorepo layout

elementor-ultra-mcp/
├─ packages/
│  ├─ server/      # TS MCP server (bin: elementor-ultra-mcp)
│  └─ shared/      # shared types + JSON Schemas + fixtures
├─ plugin/
│  └─ elementor-ultra-mcp/   # companion WP plugin (PHP) — populated by WP-P01
├─ spec/           # frozen architecture + contracts + work packages
├─ .wp-env.json    # pins Elementor 4.1.1 + Pro 4.1.0 (local zips) + mounts the plugin
└─ (root tooling: pnpm-workspace.yaml, turbo.json, tsconfig.base.json, eslint, prettier)

MCP SDK pin (LOCKED)

packages/server pins @modelcontextprotocol/sdk ^1.29 with zod as a required peer. Never add any @modelcontextprotocol/* 2.x package — in 1.x, inputSchema/outputSchema are ZodRawShape maps and transports are deep .js imports. CI guards against a 2.x dependency appearing in the lockfile (WP-F07).

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选