wpw-elementor-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DDEV_PROJECT_DIR | No | Path to your DDEV WordPress project directory (for DDEV mode). | |
| ELEMENTOR_SITE_URL | No | URL of your WordPress site (for REST mode). | |
| ELEMENTOR_USERNAME | No | WordPress username (for REST mode). | |
| ELEMENTOR_APP_PASSWORD | No | WordPress Application Password (for REST mode). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| elementor_list_pagesA | List all pages/posts that have Elementor data. Returns post ID, title, status, URL, and element count for each page. |
| elementor_get_page_treeA | Get the element hierarchy tree for a page. Shows element types, IDs, widget types, content labels, and layout info (flex_direction, width, overflow, gap) on container nodes. Essential for understanding page structure. |
| elementor_get_elementB | Get settings data for a specific Elementor element. Use filter to reduce output: 'layout' returns only flex/width/overflow/gap/padding/margin keys, 'responsive' returns only _mobile/_tablet variants, 'all' returns everything. |
| elementor_find_elementsA | Search for elements within a page by widget type, CSS class, element ID, or content text. All filters are combined with AND logic. |
| elementor_list_templatesA | List all Elementor library templates (sections, pages, containers saved to template library). |
| elementor_get_element_contextA | Get an element with full layout context: its own settings, all ancestor containers' layout settings (flex_direction, width, overflow, gap, margin, padding + mobile variants), and sibling element summaries. Essential for debugging layout and spacing issues. |
| elementor_get_responsive_diffA | Show desktop vs tablet vs mobile settings diff for an element. Groups settings by breakpoint and lists which keys have mobile/tablet overrides. Use this to quickly identify responsive issues. |
| elementor_get_layout_debugA | For a container element, show its flex layout settings and all children's layout properties (width, flex_direction, overflow, margin, padding + mobile variants) in a compact table format. Perfect for debugging flex layout, overflow, and spacing issues. |
| elementor_get_page_cssA | Read all CSS sources that affect a page: WordPress Additional CSS (Customizer), Elementor page-level custom CSS, and Elementor global CSS. Returns the full CSS text of each source. |
| elementor_get_global_kitA | Read the Elementor active kit's global settings: system/custom colors, system/custom typography (fonts), container width default, widget spacing, page background color, body typography, and ALL kit settings. Essential for understanding the site's design tokens. |
| elementor_get_compiled_cssB | Read the Elementor-compiled CSS file for a page (post-{id}.css from /uploads/elementor/css/). Optionally filter to only rules matching a specific element ID. Use this to see the actual CSS Elementor generates from element settings. |
| elementor_get_element_selectorA | Get the CSS selectors for an element (.elementor-element-{id} for outer, > .elementor-widget-container for widgets) and find all matching CSS rules from both WordPress Additional CSS and Elementor compiled CSS. Essential for understanding what CSS actually applies to an element. |
| elementor_update_elementA | Update specific settings on an Elementor element. Uses merge semantics — only the specified keys are updated, other settings are preserved. Automatically clears the page CSS cache after update. |
| elementor_update_html_widgetA | Update an HTML widget's content. Safely handles HTML containing tags, quotes, and special characters via base64 encoding. Optionally update custom CSS too. |
| elementor_update_page_cssA | Write to WordPress Additional CSS (Customizer). Use 'append' mode to add new rules after existing CSS, or 'replace' mode to overwrite all CSS. Automatically clears Elementor cache after update. |
| elementor_clear_cacheA | Clear all Elementor CSS cache files. Run this after making changes if the frontend doesn't reflect updates. |
| elementor_add_elementB | Add a new element (container or widget) into a target container. Creates the element with specified settings and inserts at the given position. Returns the new element's auto-generated ID. |
| elementor_delete_elementA | Delete an element and all its children from a page. This is destructive and cannot be undone. Returns the parent container ID. |
| elementor_move_elementA | Move an element to a different container or reorder within the same container. The element is removed from its current location and inserted at the specified position in the target container. |
| elementor_update_global_kitA | Update Elementor global design tokens (colors, typography, container width, widget spacing, etc.). Uses merge semantics — only specified keys are updated. Clears Elementor cache after update. |
| elementor_search_all_pagesA | Search for elements across ALL Elementor pages at once. Supports the same filters as elementor_find_elements (widget type, CSS class, element ID, content text). Returns results grouped by page. |
| elementor_clone_elementA | Deep-clone an element (including all children) with new unique IDs. Can clone within the same page (inserts after original) or to a different page/container. Perfect for duplicating complex layouts. |
| elementor_export_pageA | Export a page's complete Elementor data as JSON. Returns the raw elementor_data array, page settings, and element count. Useful for backup, migration, or analysis. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 23 tools
Each tool has a stated distinct purpose, but the read/diagnostic cluster (get_element, get_element_context, get_layout_debug, get_responsive_diff, get_element_selector, get_compiled_css, get_page_css) overlaps heavily in practice — several return portions of the same layout/CSS data, so an agent may hesitate between them. Descriptions do provide enough differentiation (context vs. diff vs. compact table vs. selector-specific CSS) to keep it mostly workable.
Every tool uses the same namespace prefix plus a consistent snake_case verb_noun pattern (list_, get_, find_, search_, add_, update_, delete_, move_, clone_, export_, clear_). No mixing of camelCase or inconsistent verb styles.
23 tools is on the heavy side for the domain, and a large share are read-only diagnostics that could be consolidated (e.g. get_element with filters subsumes much of get_layout_debug / get_element_context). Each tool has a rationale, but the surface feels broader than necessary.
Element lifecycle is well covered (add, update, move, clone, delete, export, search), but there are notable gaps: export_page has no matching import, template tools are read-only (list_templates only, no get/apply/insert), there is no page creation or page-settings/status update, and no widget-type/schema discovery tool to learn valid settings before calling add_element/update_element.