What is the vapvarun Elementor MCP?
The vapvarun Elementor MCP is a TypeScript server that builds Elementor Pro landing pages from structured input and pushes them to WordPress through the REST API. It has four MCP tools, 88 widget type factories, six named color schemes, and an option to return JSON for review instead of pushing.
This repository is a Model Context Protocol server that generates Elementor page JSON from structured input: headline, features, testimonials and a call to action. It can then push the result to a WordPress site.
It is not the same project as other servers with Elementor in the name. This one is a generator and pusher, built on TypeScript widget factories, not a tool for editing existing pages one widget at a time.
What the four tools do
- elementor_build_landing_page builds a full page in one call and pushes it to a WordPress site.
- elementor_generate_json returns Elementor JSON for review, debugging or a manual template import.
- elementor_push_json sends any raw Elementor JSON to an existing page, replacing its current content.
- elementor_build_section builds individual sections and widgets so you can combine them yourself.
Who it is for
Best for
- Developers who need first draft Elementor landing pages quickly, themed with one scheme value.
- Teams that want to review JSON before it touches a site, using the generate only tool.
- Agencies keeping several sites in one sites config file.
Not for
- Sites without Elementor Pro 3.5 or later, which the README lists as a requirement.
- Surgical edits to existing pages. The push tool replaces page content and the README says there is no undo.
Use it with UiChemy
This server builds pages from text. When the starting point is a Figma design, UiChemy's Figma to WordPress converts it into editable Elementor pages. For a tool that edits existing Elementor pages, see MCP Abilities Elementor. Click Get Started on uichemy.com.
Connect Elementor MCP by vapvarun: Build Landing Pages From a Prompt to your AI client
git clone https://github.com/vapvarun/elementor-mcp.git && cd elementor-mcp && npm install && npm run buildCreate an Application Password
In WordPress open Users, Profile, Application Passwords and generate one. WordPress core has supported these since version 5.6.
Write the sites file
Create ~/.wp-sites/sites.json with a site key, URL, username and app password. Keep that file outside any repository because it holds credentials.
Register Elementor meta for REST
The README says WordPress ignores post meta not registered for REST, so the site must register the Elementor data keys with show_in_rest and an auth callback.
Add the server to your client
Use the JSON above for Claude Desktop, Claude Code or Cursor, with the absolute path to dist/index.js. Needs Node.js 18 or later.
Client configuration
{
"mcpServers": {
"elementor-mcp": {
"command": "node",
"args": ["/absolute/path/to/elementor-mcp/dist/index.js"]
}
}
}Endpoints and ports
~/.wp-sites/sites.jsonDefault credentials file, or set ELEMENTOR_MCP_SITES to another fileWhat you can do with it
- One call landing pagesHero, stats, features, extra sections, testimonials and a call to action come from one structured request.
- Six color schemesSet dark, blue, purple, green, orange or light and every section picks up matching colors. A custom scheme is also supported.
- 88 widget factoriesFree, Pro and Theme Builder widgets exist as TypeScript factories, and 32 of them are reachable through the section tool.
- Review before pushingThe generate tool returns Elementor JSON for inspection or manual import through Elementor's template import.
- Publish flagPush calls take a publish boolean, and the README examples set it to false, so a page can be pushed without being published.
- Multi-site configSite keys in the sites file select where each call pushes, such as a live site or a staging copy.
Tools it exposes
elementor_build_landing_page
Builds a complete landing page and pushes it to WordPress in one call.
elementor_generate_json
Returns Elementor JSON instead of pushing it.
elementor_push_json
Pushes raw Elementor JSON to an existing page, with optional title and publish.
elementor_build_section
Builds a hero, stats, features, two column, testimonials or CTA section, or a widget, and returns JSON.
Frequently asked questions
What is the vapvarun Elementor MCP?
It is a TypeScript MCP server that generates Elementor Pro landing pages from structured input and pushes them to WordPress over the REST API. It offers four tools and ships 88 widget type factories, six named color schemes and a custom scheme option.
Does the vapvarun Elementor MCP need Elementor Pro?
Yes. The README lists WordPress with Elementor Pro activated, version 3.5 or later, plus Node.js 18 or later and an Application Password. Without Elementor Pro the generated Pro widgets will not render properly.
How do I install the vapvarun Elementor MCP?
Clone the repo, run npm install and npm run build, then create a sites.json file with your site URL, username and Application Password. Register the Elementor meta keys for REST on the site and add the dist/index.js path to your MCP client.
Can this Elementor MCP edit an existing page?
It can replace one. elementor_push_json sends raw JSON to an existing page ID, replacing its current Elementor content, and the README says there is no undo. It does not offer element by element edits, so back up the page first.
Does the vapvarun Elementor MCP work with Claude Code and Cursor?
The README shows MCP client setup for Claude Desktop, Claude Code and Cursor, each pointing node at dist/index.js. Any other MCP client that can launch a local node server should be able to use the same entry.
Can I preview the page before it goes to WordPress?
Yes. elementor_generate_json takes the same input as the landing page tool but returns Elementor JSON, and you can import it through Elementor's template import. The landing page example also sets publish to false.
Is the vapvarun Elementor MCP free?
The README states the MIT license, so the source is free to use under those terms. GitHub shows no detected license file. Generated pages that use Pro widgets still depend on your own Elementor Pro license.
What are alternatives to the vapvarun Elementor MCP?
For editing existing pages, use MCP Abilities Elementor or EMCP Proxy. For a lighter REST based option, see Elementor MCP by aguaitech. This one suits generating new landing pages, not repairing old ones.


