Invocation is a self-hosted, open-source AI assistant for the WordPress block editor. It uses WordPress 7.0 core for everything provider-related — connect your own OpenAI, Anthropic, or Google key once under Settings Connectors — and focuses on the part core does not do: turning your site’s registered blocks, theme.json design tokens, and section patterns into valid, on-theme Gutenberg layouts.
Features:
Everything runs on your server. No external service, database, or Docker required. Capabilities are registered as WordPress Abilities, so they are also available over REST and to MCP agents.
Invocation generates content using the AI provider you configure in WordPress 7.0 core under Settings Connectors (for example OpenAI, Anthropic, or Google). When you trigger a generation, refinement, or “generate Site Brief” action, the plugin sends your prompt plus relevant context from your own site (such as your theme’s design tokens, the names of your registered blocks and patterns, titles/URLs of your published pages, and media metadata) to that provider through core’s AI Client in order to produce block markup. No data is sent unless you take one of these actions, and the plugin itself transmits nothing to any other external service. Your AI provider credentials are managed by WordPress core Connectors, not by Invocation.
Review the terms and privacy policy of whichever AI provider you connect before sending content. Those policies are published by the provider you choose (for example OpenAI, Anthropic, or Google), not by Invocation.
Invocation is open source. The block-editor UI is built from the JavaScript sources in src/ (bundled with the plugin) using @wordpress/scripts — run npm install && npm run build to regenerate build/. Source repository: https://github.com/invocation97/invocation