Skip to main content

Works with AI · Verified on v1.2.1

WPConsent logo

Manage WPConsent with AI

Connect WPConsent to Claude, ChatGPT, or any AI assistant with WPVibe. Set up your cookie banner from a scan, check your consent setup, add a cookie policy page, declare a service the scan missed and match the banner to your brand by asking in plain English.

200,000+ active installs 27 verified abilities Last verified Nov 17, 2026

What your AI can do with WPConsent

One connection gives your assistant structured, permission-checked access to the whole site.

Banner from a scan

Your site scanned, the services it found added with their cookies, and the banner and script blocking on with your yes.

Consent check

Settings, banner, scan, cookie list and your live page checked against each other, with nothing changed.

Cookie policy page

A policy page with a cookie table that updates itself, reviewed as a draft and linked from the banner.

Missing services

A chat, booking or video service the scan missed declared in the right category, with its cookies.

Banner on brand

Your colours, layout and wording on the banner, checked for contrast, with the old values kept.

Things to ask

Paste any of these into Claude or ChatGPT once WPConsent is connected.

“Set up my WPConsent cookie banner from a scan of my site.”
“Check that my cookie consent setup is complete and works on my live site. Don't change anything.”
“Add a cookie policy page with WPConsent, and let me review it before it goes live.”
“Add our Tawk.to live chat to my cookie list, with its cookies.”
“Make my cookie banner match my brand colours.”

Up and running in three steps

1

Install WPVibe

Add the free WPVibe plugin from WordPress.org to the site running WPConsent.

2

Connect your AI

Claude, ChatGPT, Cursor, and more. One click to authorize, and no passwords ever go in the chat.

3

Ask in plain English

“Set up my WPConsent cookie banner from a scan of my site.”

Verified WPConsent recipes

Copy-paste playbooks, each one tested on a live WPConsent install before it ships.

Every WPConsent ability

WPConsent registers these with the WordPress Abilities API under the wpconsent namespace. Your AI finds them with discover_abilities and calls them with run_ability. WPVibe asks for your approval only when an ability is marked destructive and deletes something or runs code; everything else runs as soon as your AI calls it. Verified means we ran it on a live install of v1.2.1. Registered means a fresh install of v1.2.1 ships it and we have not run it yet.

Requires WPConsent 1.2.1 or newer on WordPress 6.9 or newer, with an administrator account. Its abilities register on their own, with no setting to turn on. Tested on WPConsent 1.2.1 (free).

Ability What it does Access Status

Get WPConsent settings

wpconsent/get-settings
Script and content blocking, Google Consent Mode, Clarity, GPC, consent duration, shared consent and the cookie policy page. Read Verified

Update WPConsent settings

wpconsent/update-settings
Changes only the settings sent. Write Verified

Get the consent banner

wpconsent/get-banner
The banner's texts, buttons, on or off, and its layout, position, colours and sizes. Read Verified

Update the banner content

wpconsent/update-banner-content
The banner message, button texts, which buttons show and their order, and the preferences and policy texts. Write Verified

Update the banner design

wpconsent/update-banner-design
Layout and position, colours, font and button size, corners and style, and the floating icon. Write Verified

List cookie categories

wpconsent/list-categories
Essential, Statistics, Marketing and any custom categories, with their ids. Read Verified

Add a cookie category

wpconsent/add-category
Adds a custom cookie category. Write Verified

Update a cookie category

wpconsent/update-category
Renames a category or changes its description. Write Verified

Delete a cookie category

wpconsent/delete-category
Deletes a custom category, and every cookie in it, once it has no services left. Write Verified

List services

wpconsent/list-services
The services set up on the site, such as Google Analytics, with their category. Read Verified

Add a service

wpconsent/add-service
Adds a service under a category, with a description and its privacy policy link. Write Verified

Update a service

wpconsent/update-service
Changes a service, or moves it to another category. Write Verified

Delete a service

wpconsent/delete-service
Removes a service from the banner and the cookie policy. Write Verified

List cookies

wpconsent/list-cookies
The declared cookies with description and duration, for the site or one category. Read Verified

Add a cookie

wpconsent/add-cookie
Declares a cookie under a category or a service. Write Verified

Update a cookie

wpconsent/update-cookie
Changes a declared cookie, or moves it to another service or category. Write Verified

Delete a cookie

wpconsent/delete-cookie
Removes a declared cookie from the cookie policy. Write Verified

Get the last scan

wpconsent/get-scan-results
The scripts and services the last site scan found, and when it ran. Read Verified

Scan the website

wpconsent/run-scan
Scans the home page and the pages picked for scanning, like the Scan button. Write Verified

Add the services the scan found

wpconsent/configure-detected-services
Adds the services the last scan found, with their cookies, like the auto-configure button. Write Verified

Create a cookie policy page

wpconsent/generate-cookie-policy
Creates a published Cookie Policy page with WPConsent's cookie table and sets it as the banner's policy page. Write Verified

Export the configuration

wpconsent/export-settings
The configuration in the same format as the Tools export file. Read Verified

Import a configuration

wpconsent/import-settings
Imports an export, replacing the matching parts of the configuration. Write Verified

Clear the cookie cache

wpconsent/clear-cache
Clears the cached cookie and service data so the banner and the policy show the latest list. Write Verified

Reset to defaults

wpconsent/reset-to-defaults
Puts the banner texts, the default categories' names and descriptions, and the preferences cookie back to their defaults. Write Verified

List recommended plugins

wpconsent/list-addons
The plugins WPConsent recommends, with whether each is installed and active. Read Verified

Install a recommended plugin

wpconsent/install-recommended-plugin
Installs and activates a plugin from that list, and only from it. Write Verified

What we learned testing it

Behavior the ability descriptions do not mention.

  • On a site where Google Consent Mode was never saved, get-settings reports it off while WPConsent treats it as on. A fresh install saves no settings, so this is the usual state until the setting is saved once. The stored settings (option wpconsent_settings) tell you: no google_consent_mode key means on. In that state, turning it off goes through without WPConsent's usual confirmation, since it thinks it is off already.
  • While Google Consent Mode is on, script blocking lets Google Analytics, Tag Manager and Ads scripts load instead of holding them back, and WPConsent passes them the visitor's choice. It sets Google's consent default (denied until the visitor accepts) only when a Google service is in its service list; without one, Google's tags collect as if consent were given until the visitor chooses (tested: no consent default on the page). With script blocking on, turn Consent Mode off if you want them held back until the visitor accepts; with script blocking off, Consent Mode is the only consent signal they get.
  • Tags that Google Tag Manager adds follow its container's rules, not WPConsent's: with Consent Mode on, Tag Manager loads before the visitor chooses, and a tag inside it waits only if it is set to (WPConsent pushes a wpconsent_consent_processed event to the dataLayer for that). A check of your page's HTML can't see those tags.
  • Microsoft Clarity's consent mode works the same way: get-settings reports it off until it is saved, WPConsent treats it as on, and while it is on Clarity's script is not held back. WPConsent sets no consent default for Clarity; it passes Clarity the visitor's choice only when they make one in the banner, whether or not Clarity is in your service list (from the source).
  • Script blocking holds back only the scripts WPConsent recognizes. A service you add by hand shows in the banner and the cookie policy, but unless WPConsent recognizes its script, that script still loads before consent: blocking scripts and iframes WPConsent doesn't recognize is a WPConsent Pro feature (Custom Scripts/iFrames).
  • Script blocking alone doesn't hold back embedded videos and maps (YouTube, Vimeo, Google Maps) that WPConsent recognizes: they wait for consent only while its content blocking setting is on, and it is off after install (from the source).
  • The banner is off after install, and until it is turned on WPConsent adds nothing to your pages. Script blocking can't be turned on through the abilities while the banner is off. With the banner on and script blocking off, every script loads before the visitor chooses; with the banner turned off later and script blocking left on, the scripts WPConsent recognizes stay held back for every visitor.
  • The scan sends your page's HTML to WPConsent's scanner service. Through the abilities it runs once every 10 minutes and has about 40 seconds: when it runs out of time, nothing is saved, and the Scanner screen in WordPress admin is the way to finish it.
  • The last scan keeps listing every service it found as needed, even after you add them. Compare it with your services by name.
  • Creating the cookie policy page always makes a new published page and points the banner's preferences panel at it, so a second run makes a second page, and a page moved to draft stays linked (visitors get a page not found) until the setting is changed. With no published privacy policy page set in WordPress, its Privacy Policy link is empty. In the banner's preferences panel, the cookie policy sentence then ends with "and ." when none is set, or links to a page visitors can't open when it is set to a draft (as WordPress's own starter Privacy Policy page is).
  • Importing a configuration creates another Cookie Policy page when the imported settings name one (an export of a site with a policy page does), and when we imported the site's own export it duplicated a cookie. WPConsent asks for a confirmation. WPVibe's approval page opens when the import holds services with cookies (its input is nested that deep); a settings-only import runs without it.
  • Deleting a cookie, service or category, and resetting to defaults, ask for WPVibe's approval (unless you chose to remember an earlier one), and WPConsent also asks for a confirmation. A category with services can't be deleted. Deleting a service removes it from the banner and the policy, but its cookies stay in the database, unlisted.
  • The cookie policy page leaves out a category with no declared cookies, so a service declared there without cookies is in the banner's preferences but not on the policy page (tested).
  • Resetting to defaults puts back the banner texts, the default categories' names and the preferences cookie. Colours, services and settings stay as they are.
  • Installing a recommended plugin installs and activates it at once, without an approval page; only plugins on WPConsent's own list can be installed.
  • Turning the banner or script blocking off, configuring services and creating the policy page run without WPVibe's approval page. WPConsent's confirmation is a flag the AI sends, not a check by you, which is why the recipes ask you first.
  • Some ability descriptions mention geolocation rules, IAB TCF and languages: those abilities are not in the free plugin.

Verified, and kept that way

Works with AI is WPVibe’s verification program. Every ability marked verified was run on a live WPConsent install, and we rescan WordPress.org weekly so a release that adds or removes abilities shows up here before it surprises you.

Learn more about WPConsent at wpconsent.com.