Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WP_URL | Yes | The URL of the target website. | |
| WP_APP_USER | Yes | The username of the target website. Note: it's the username to log in to the target website, not the application name. | |
| WP_APP_PASSWORD | Yes | The application password of the target website, keep the space. You can create one in the target website's WordPress dashboard. |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_page | Creates a new page in WordPress with Elementor data, it will return the created page ID. |
| get_page | Retrieves a specific page from WordPress by its ID, including meta fields like _elementor_data. |
| download_page_to_file | Downloads a specific page from WordPress by its ID, including meta fields like _elementor_data, and saves it to a file. |
| update_page | Updates an existing page in WordPress with Elementor data, it will return a boolean value to indicate if the update was successful. |
| update_page_from_file | Updates an existing page in WordPress with Elementor data from a file, it will return a boolean value to indicate if the update was successful. |
| delete_page | Deletes a specific page from WordPress, it will return a boolean value to indicate if the deletion was successful. |
| get_page_id_by_slug | Retrieves the ID of a specific WordPress page by its slug. |