Description
This Plugin brings Generative AI (GenAI) and AI Agents right within a WordPress website.
It combines the power of WordPress as a CMS, with the power of an Agentic platform, making possible (and easy) to create highly capable WordPress plugins and websites, able to learn the Author’s writing style, research trending topics, auto-generate content based on those premisses and save it to the database, connect to MCP servers and retrieve data, among other capabilities.
While this Plugin will be work in progress for a while, the basics are in place, both for usage within the provided admin interface, and for programmatic usage from other Plugins and Themes, in the usual WordPress way.
To make sure website Authors have the last say about anything generated by the Plugin, any content created via the admin interface is saved as a Draft (page or post), so that Authors have the chance to review it, edit it and publish it themselves.
Development
Development happens in Github:
entgenai
Installation
Installation and use of this plugin is straightforward:
Installation and Configuration
- Download the plugin files and copy to your Plugins directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Navigate to Dashboard, EntGenAi Options, then choose Config from the list of entries.
- Configure your AI Provider, select the model you wish to use, enter your API Key. Then, for the purpose of saving generated content, specify also whether to save the draft as pages or posts. This will apply to all generated content till you change this setting again. Finally, press the “Save Settings” button.
Using the “Generate” option to create pages or posts
5. After you have configured your chosen LLM (AI Provider), select the Generate entry in the EntGenAi Options menu. You should see at the top what Provider is in use.
6. Enter your system prompt (optionally), and below that, your prompt describing what you would like to generate (For instance, write an article about Agentic AI in finances). Press AI Generate, and wait patiently (hopefully not for too long).
7. Store your generated work as a WordPress draft page or post (as per your chosen configuration in this regard).
8. Edit the saved draft, then if you lie the end result, publish the page or post for the World to see.
Using the “Blogger Draft” option to create drafts about trending topics, and matching your writing style
- The simplest way is to just enter a topic hint and press “Generate Draft” without configuring an MCP Server in the Settings section of the same page.
- When the response comes back, you should see a list of trending topics in an ugly paragraph (for now) just below the “Generate Draft” button, and below that the Selected topic.
- Then, in the next card or panel you should see the Generated Draft, only as an html view so far. At that time that content has already being saved as a Draft page or post (based on your chosen config in this regard). You can press the “Open Draft in Editor” button to edit the draft in the WordPress Editor.
- Alternatively, you can choose “Generate Another” to repeat the previous process.
1.1 Another way to use the above is to first configure the MCP server you would like to use for the AI to discover trending topics, and then continue with “Generate Draft” and the other steps above. There are 2 choices, the Brave API, which require you to obtain a key (see details on that admin interface), and MCP server-fetch, which requires you to have a running installation of a @modelcontextprotocol/server-fetch instance.
The real power in the current version is found in using the plugin programmatically
While the admin interface provides some valuable use cases, you can get a lot more power from the plugin by connecting to it programmatically from custom code you could create on a separate plugin or theme. This would allow you to specify a whole workflow to chain together several tools from different MCP servers and tools you create, and one or more LLMs using them based on your instructions to create something unique for your needs or your imagination.
Using the Plugin from another Plugin or Theme:
A few hooks are provided to make this possible:
– entgenai_generation_request (via apply_filters): Use this hook to submit a completion request (generative text request) to the LLM previously configured in the admin interface of the Plugin (see above).
– entgenai_completion_response (action): Use it to receive responses emited by the Plugin. This is an action, with arguments, which contains the name of the AI Provider, the prompt submitted and the text content of the response received.
Beyond standard text generation, EntGenAI also exposes its MCP (Model Context Protocol) infrastructure through three additional hooks:
– entgenai_mcp_call_tool (filter): call any tool on any MCP server through EntGenAI’s client. Pass the server URL, tool name and arguments; receive the tool output (or a WP_Error).
– entgenai_mcp_list_tools (filter): list all tools advertised by a remote MCP server. Pass the server URL; receive an array of Tool objects (or a WP_Error).
– entgenai_mcp_register_tools (action): register your own tools on EntGenAI’s built-in MCP server. Hook into this action and call $mcp_server->tool() to expose new tools to any MCP client (Claude for Desktop, Cursor, etc.) connecting to the /wp-json/mcp/v1/mcp endpoint.
This is the foundation of EntGenAi for Applications: a framework for building complex, AI-driven workflows directly within WordPress.
Read carefully the FAQ section below, for additional information, and to understand how your data is used as part of the regular functionality of this Plugin.
FAQ
-
What does this plugin do?
-
It brings GenAI and Agents to WordPress, in a way that is simple to use and simple to understand. It does so, by giving users a way to submit a prompt to an LLM (together with the user’s API Key) and use its response, query MCP servers and use their tools, or tools within the WordPress installation.
Users can save the response as WordPress pages or posts (configurable), can easily give AI capabilities to other Plugins and Themes, can create Agents to achieve different things within their websites (content creation, optimisation, adaptive content based on trends, among other). -
What doesn’t this plugin do?
-
It does not provide a built-in AI model. It provides a way to connect to an AI Service Provider via an API. The Provider could be a third party, or could be installed locally on the user’s computer or server.
-
What data is sent and when?
-
It submits the user’s prompt (including an optional system’s prompt), together with the user’s API Key (previously obtained from the Provider of the API).
This information is submitted when the user presses the “AI Generate” button on the “Generate” page of the Plugin.
The Plugin does not submit any data anywhere without the user’s consent, and does not do any kind of tracking. It just genuinely provides tools to empower WordPress users. -
What AI API Providers are currently supported?
-
By default, the following AI API Providers are supported:
OpenAI, via a call to: https://api.openai.com/v1/chat/completions
Anthropic, via a call to: https://api.anthropic.com/v1/messages
Google (Gemini, Gemma 4), via a call to: https://generativelanguage.googleapis.com/
Ollama (local), if installed locally, via a call to: http://localhost:11434/api/chat
So, in the case of Ollama, no data would leave the machine if Ollama and WordPress are installed on the same server.Others can be added without much difficulty programmatically. The admin interface, in its Config section, provides a way to add additional providers, via the Manage button, but this has not been thorougly tested yet.
-
Is there any link users must be awared of, in regard to the above services?
-
Although the above are well known services, users should check their terms and conditions, before making use of them.
The following are valid links, at least, up to April 4, 2026:
For OpenAI:
https://openai.com/policies/terms-of-use/
https://openai.com/policies/privacy-policy/
For Anthropic:
https://www.anthropic.com/legal/consumer-terms
https://www.anthropic.com/legal/commercial-terms
https://www.anthropic.com/legal/privacy
For Gemini:
https://policies.google.com/terms
https://policies.google.com/privacy -
Does this plugin modify any core WordPress, plugin or theme files?
-
No, it does not.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“ENTGENAI” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “ENTGENAI” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.