Answer · Official WordPress AI and MCP

What are WordPress AI Connectors?

Updated December 2026Researched from primary sources · how we research

Short answer

WordPress AI Connectors are the AI provider connections you manage on the Settings > Connectors screen added in WordPress 7.0. You add an API key for a provider such as Anthropic, Google or OpenAI once, and any plugin built on WordPress's AI Client can use it. Connectors are free; you pay the AI provider for what you use.

Key facts

  • The Connectors screen arrived in WordPress 7.0 under Settings > Connectors, with three default providers: Anthropic, Google and OpenAI (WordPress 7.0 Field Guide, May 2026).
  • WordPress core does not bundle any AI provider; each is a separate plugin, such as AI Provider for Anthropic (version 1.0.5, 70,000+ active installs on WordPress.org in November 2026).
  • The Connectors API supports two authentication methods, api_key and none, and looks for a key in this order: environment variable, then PHP constant, then the database.
  • Keys saved through the screen are stored in the database unencrypted and masked in the admin, according to the March 2026 Connectors API dev note; encryption is being explored in Trac ticket #64789.
  • Environment variables follow the pattern {PROVIDER_ID}_API_KEY, for example ANTHROPIC_API_KEY.
  • Developers can add or change connectors on the wp_connectors_init action, and the registry is no longer limited to AI providers, so other connection types are planned.
  • The official WordPress AI plugin adds a Connector Approval experiment to control which plugins may use connectors and a Key Encryption experiment.

What we saw in our test

Tested 17 November 2026 on a fresh WordPress 7.1.4 install, free versions only.

On our 17 November 2026 WordPress Playground install (WordPress 7.1.4) with the official AI plugin 1.5.0 active, Settings > Connectors listed provider connectors for Anthropic (Claude), Google (Gemini and Imagen), Mistral, OpenAI and Vercel AI Gateway, each with its own Install button, and the page said keys are stored once and shared across plugins. Settings > AI showed a red warning that the plugin needs a valid AI connector, and every feature was off by default. We didn't add an API key, so we stopped there.

What do you see on the Connectors screen?

Go to Settings > Connectors on any WordPress 7.0 or later site. Each registered provider appears as a card with its name, logo and description. With no provider plugin installed there's nothing to connect yet: core lists Anthropic, Google and OpenAI, but the code that actually talks to each provider lives in a separate plugin.

Once a provider plugin is active, its card takes an API key. The idea, in the words of the WordPress 7.0 Field Guide, is that provider keys are managed on this one screen and passed to plugins through the Connectors API, so plugin developers never handle your credentials directly.

Updating to WordPress 7.0 doesn't connect anything or send any data. The screen stays empty until you install a provider and add a key.

How do I set up an AI connector?

  1. Create an account with the AI provider (Anthropic, Google or OpenAI) and add billing. Set a monthly spending limit in the provider's console.
  2. Create an API key there. This is a developer API key, not your ChatGPT or Claude subscription.
  3. In WordPress, install the matching provider plugin, for example AI Provider for Anthropic, or click Install on the provider's card if a plugin such as the official AI plugin offers it.
  4. Open Settings > Connectors and paste the key into that provider's card, or set it as an environment variable or constant on your server instead.
  5. Install a plugin that uses the AI Client, such as the official WordPress AI plugin, and switch on only the features you want.

AI Provider for Anthropic's own instructions describe setting the key via the ANTHROPIC_API_KEY environment variable or constant. On hosts that let you set environment variables, that keeps the key out of your database.

Where is my API key stored, and is it safe?

The Connectors API dev note (18 March 2026) is clear about this, and it's worth knowing before you paste a key.

  • Anyone with database access or a full backup can read a key saved through the screen. Treat backups accordingly.
  • The official AI plugin's Key Encryption experiment exists for this reason; core encryption is still being discussed in ticket #64789.
  • Use a separate key for each site and set a spend cap, so a leaked key has limited damage and can be revoked without breaking other sites.
Where the key comes fromPriorityNotes
Environment variable (e.g. ANTHROPIC_API_KEY)1stSet by your host or server config; not in the database
PHP constant in wp-config.php2ndIn a file; keep file permissions tight
Database, via Settings > Connectors3rdStored unencrypted in an option named like connectors_ai_anthropic_api_key; masked on screen

Which plugins use Connectors?

Any plugin built on the WP AI Client, WordPress 7.0's provider-neutral layer for sending prompts. Developers call wp_ai_client_prompt(), list preferred models with using_model_preference(), and the client routes the request to whichever connected provider fits. Provider plugins that register with the AI Client's registry appear on the Connectors screen automatically.

The best-known user is the official AI plugin, whose alt text, excerpt, title and summary features all run through your connected provider. Many established AI plugins haven't moved over: AI Engine still has its own provider settings, and SEO tools like Rank Math Content AI use their own credit systems. So for now you may still have keys in more than one place.

How are Connectors different from MCP and the Abilities API?

In short: Connectors are for AI running inside WordPress. If you want Claude or ChatGPT to work on your site from their own apps, you don't need a connector or an API key; see what is MCP in WordPress and what is the Abilities API.

AI ConnectorsAbilities APIMCP
DirectionWordPress calls an AI providerInside WordPressAn outside AI app calls WordPress
What it holdsProvider API keysA registry of site actionsTools exposed to Claude, ChatGPT or Cursor
Who pays for AIYou, per API requestNobody (no AI involved)Your AI app plan
Added inWordPress 7.0WordPress 6.9Plugin (MCP Adapter) or hosted server

How do I control or switch off AI that uses Connectors?

  • Don't connect a provider. Without a provider plugin and key, AI Client features can't run.
  • Limit which plugins can use your key with the AI plugin's Connector Approval experiment, and log requests with its AI Request Logging experiment.
  • Turn off automatic features. Some AI plugin experiments, such as Comment Moderation and Type-ahead Text, run without you clicking anything and use your key each time.
  • Developers can block prompts with the wp_ai_client_prevent_prompt filter. The AI Client dev note says that when it blocks a prompt, no AI call is made and the plugin's AI features report as unsupported.

More on the whole stack in WordPress 7 AI features explained and on the official WordPress AI hub.

Bottom line

AI Connectors are WordPress's single place to store AI provider keys, so plugins built on the AI Client share one key instead of each asking for its own. They're worth using if you run the official AI plugin or several AI Client-based plugins; set the key as an environment variable where you can, because keys saved on the screen sit unencrypted in the database.

Frequently asked questions

Do AI Connectors cost anything?

No. The Connectors screen, the AI Client and the provider plugins are free and open source. You pay the AI provider for each request, at their API prices. Tester 365i estimated the official AI plugin's features cost under 5p per post in its March 2026 test; heavy or automatic features cost more. See what it costs to run a WordPress AI plugin on your own API key.

Can I use my ChatGPT Plus or Claude Pro subscription as a connector?

No. Connectors take developer API keys, which are billed separately on OpenAI's or Anthropic's API platforms. Consumer subscriptions don't include API access. If you want to use your Claude or ChatGPT subscription with WordPress, connect the app to your site over MCP instead.

Can I add providers other than Anthropic, Google and OpenAI?

Yes. Plugins can register more providers; on our test site the official AI plugin offered Mistral and Vercel AI Gateway connectors alongside the big three. Developers add or modify connectors on the wp_connectors_init action, and the registry now accepts connector types beyond AI providers for future use.

Will Connectors send my content to an AI company automatically?

Not by themselves. A connector only stores credentials. Content is sent when a plugin feature uses the connection: when you click 'generate alt text', for example, or automatically if you enable an experiment like Comment Moderation. Check each feature's description. More in do AI WordPress plugins send my data to OpenAI.

Why is my valid API key being rejected?

Users have reported this with the official AI plugin, including a valid paid Anthropic key rejected without a clear error, and provider-specific bugs logged on GitHub. Check the provider plugin is active and updated, that billing is set up on the provider account, and whether an environment variable or constant is overriding the key you typed.

Sources

  1. make.wordpress.org/core/2026/05/14/wordpress-7-0-field-guide
  2. make.wordpress.org/core/2026/03/18/introducing-the-connectors-api-in-wordpress-7-0
  3. make.wordpress.org/core/2026/03/24/introducing-the-ai-client-in-wordpress-7-0
  4. wordpress.org/plugins/ai-provider-for-anthropic
  5. wordpress.org/plugins/ai
  6. 365i.co.uk/news/2026/03/16/wordpress-7-ai-experiments-plugin-tested
  7. wordpress.org/support/topic/so-many-issues-6
  8. github.com/WordPress/ai/issues/264
  9. github.com/WordPress/ai/issues/339