MCP integration

Using Model Context Protocol with Aimogen Pro - connecting to external MCP servers, and exposing your WordPress site as one.

Model Context Protocol is a standard for giving AI models access to tools and data. Aimogen Pro works in both directions: it can connect to MCP servers, and it can be one.

Advanced Tools › AI MCP Integration

MCP Support Comes to Aimogen - MCP server + MCP clientBoth directions of the MCP integration.Watch on YouTube

Connecting to an MCP server#

Aimogen Pro as an MCP client: your chatbot or agent gains the tools an external MCP server exposes.

Connect To A MCP Server

Add a server with its URL and any credentials. Configured servers are stored in the aiomatic_mcp_servers option.

Enable them per chatbot with Enabled MCP Server Connections (AI Chatbot › MCP Server Connection), or per placement:

[aimogen-chat-form mcp_servers="my-server"]

The connected tools then appear alongside the built-in extensions.

Exposing your site as an MCP server#

Aimogen Pro as an MCP server: external clients — Claude Desktop, ChatGPT, or any MCP-capable application — connect to your WordPress site and use it as a tool.

Create Your MCP Server

Endpoints#

/wp-json/aiomatic-mcp/v1/sse
/wp-json/aiomatic-mcp/v1/messages
/wp-json/aiomatic-mcp/v1/aiomatic-tools

Settings#

Stored in the aiomatic_mcp_settings option.

SettingWhat it does
enable_sseMaster switch for the server
bearer_tokenThe token clients must present. Set a long random value
enable_debugVerbose logging
tuned_coreCore WordPress functionality. On by default
tuned_pluginsPlugin-related functionality
tuned_themesTheme-related functionality
dynamic_restDynamic REST API access
tuned_woocommerceWooCommerce functionality
session_memorySession storage across calls
embeddings_sseEmbeddings access
advanced_sseAdvanced tooling

Version 2.6.0 added MCP tools for session storage, Gutenberg block generation, embeddings, Amazon, scraping, internet search, YouTube and email.

Aimogen Pro > Advanced Tools > AI MCP Integration, Create Your MCP Server tab

Security#

Firewall configuration#

Web application firewalls frequently block these routes. The settings screen includes vendor-specific instructions — for Sucuri, that means Security › Security Rules › Create Rule › Custom Rules, matching URI /wp-json/aiomatic-mcp/v1/* with the action set to Skip, with all WAF components (including the additional ones under "More components to skip") selected, then Deploy.

See Plugin and server conflicts.

Connecting a client#

Once the server is running, point an MCP-capable client at the SSE endpoint with the bearer token. The settings screen provides the exact URLs with a copy button.

When MCP is worth it#

Connecting to servers is worth it when a capability you need already exists as an MCP server — a database, an internal API, a SaaS tool. Building it as an MCP server once makes it available to every MCP-capable AI you use, not just this plugin.

Exposing your site is worth it when you want to work with your WordPress content from an AI client — asking Claude Desktop about your site, or having it draft content in place.

For automation that runs on your site, OmniBlocks and agents are simpler and need no external client.

Common problems#

The MCP server settings are missing. The extension plugin is not active.

A client cannot connect. A firewall is blocking /wp-json/aiomatic-mcp/v1/*, or the bearer token does not match.

Connected tools do not appear in the chatbot. The server is not enabled for that chatbot in Enabled MCP Server Connections.

Tools never fire. The model does not support function calling. See Selecting models.

Still stuck? Open a support ticket and include the diagnostics from Aimogen Pro › System & Logs › System Info.