Search Results :

×

How to Securely Connect Your WordPress Site to Gemini Using MCP

Gemini is Google's AI assistant for writing, coding, research, and everyday tasks. With the miniOrange Secure MCP Connector, you can securely connect Gemini to your WordPress site in just a few steps.

Once connected, you can use natural-language prompts in Gemini to interact with your website and perform approved WordPress actions. Your existing WordPress access controls determine what Gemini can view and do.

Before you begin, make sure you have the following in place:

  • A self-hosted WordPress site running WordPress 6.9 or above, as the WordPress Abilities API required for this integration is available from WordPress 6.9 onward.
  • A publicly accessible HTTPS URL for your WordPress site. AI clients connect to your site over the internet, so localhost or private network URLs are not supported.
  • The miniOrange Secure MCP Server plugin installed and activated on your WordPress site.
  • A Google account signed in to Gemini, with access to custom connectors (MCP servers).
Connect Gemini to WordPress site | Note

Note: As of now, Gemini supports adding custom connectors for personal Google accounts and Gemini Enterprise accounts. However, this feature is not supported for standard Google Workspace accounts.

  • In your WordPress admin dashboard, go to Plugins, then click on the Add Plugin button.
  • Search for miniOrange Secure MCP Server, click Install Now, then Activate.
Connect WordPress to AI Agents using MCP | Install miniOrange Secure MCP Server

  • After activating the Secure MCP Server plugin, open the plugin from the WordPress admin sidebar and click the Register your first agent button on the welcome screen to get started.
Connect WordPress to AI Agents using MCP | Secure MCP Server menu

  • Provide a desired Name to your Agent and click on Next.
Connect WordPress to AI Agents using MCP | Provide Agent Name

  • Set the access for abilities based on the user roles. For example, enable the Get Site Information ability for the Administrator role.
  • Click on the Create & Continue button.
Connect WordPress to AI Agents using MCP | Create Agent and set role abilities

  • After configuring the role-based abilities, the agent is successfully created. Click Continue to proceed with connecting your AI client.
Connect WordPress to AI Agents using MCP | Connect your AI client

  • To configure the connection with your AI clients, under Connect your AI client, click your required AI Client. A setup panel opens on the right with the connection details and the steps you’ll follow next. Copy these two details from the panel:
    • Connection URL
    • Your Site URL — your WordPress site address.
Connect WordPress to AI Agents using MCP | Connection methods for AI clients Gateway Method

Connect WordPress to AI Agents using MCP | Note

Note: For the ChatGPT and Claude Client, you'll find only Your Site URL i.e. your WordPress site address.

  • In the previous step, after clicking on Gemini, a panel opens on the right.
  • Copy the Connection URL shown in the panel.
Connect Gemini to WordPress site | Gemini connection URL

  • In Gemini, click Customize, then click Connectors.
Connect Gemini to WordPress site | Customize and Connectors

  • Click on the Custom button of the Connectors page.
Connect Gemini to WordPress site | Custom connector

  • Paste the Connection URL into the MCP Server URL field, then click on the Next button.
Connect Gemini to WordPress site | MCP Server URL and Next

  • Read and accept the guidelines for connecting a custom app, then click Connect.
Connect Gemini to WordPress site | Accept guidelines and Connect

  • Your browser opens the sign-in gateway. Enter Your Site URL and click the Continue button.
Connect Gemini to WordPress site | Enter Site URL and Continue

  • Click Allow Access to approve the connection.
Connect Gemini to WordPress site | Allow Access

  • Review the abilities Gemini can use on your site, then click the Connect button.
Connect Gemini to WordPress site | Review abilities and Connect

Connect Gemini to WordPress site | Note

Note: Each user can connect their own Gemini, Codex, Cursor, Claude AI, ChatGPT or any AI Client account to the same WordPress site using their personal account.

  • Navigate to the Activity tab of the plugin to view ability executions across every agent.
Connect Gemini to WordPress site | Activity Log

  • Click on an activity row to view the event information in detail.
Connect Gemini to WordPress site | Activity event details

  • Navigate to the Debug Log tab of the plugin and click on the Start capture button to begin recording diagnostic events.
Connect Gemini to WordPress site | Debug Log Start capture

  • Once capture is on, every prompt sent from your AI Agent is recorded from start to end, including authenticated MCP requests and tool calls.
Connect Gemini to WordPress site | Debug Log entries

  • Click on a log record to view the event information in detail.
Connect Gemini to WordPress site | Debug Log event details

Connect Gemini to WordPress site | Note

Note: Nothing is captured until you turn this on. Click on the Pause capture button once you are done, so it isn't writing to your database all the time.


After connecting your WordPress site, you can use natural-language prompts to complete everyday WordPress tasks without switching between different dashboard pages. The available actions depend on the abilities registered through the WordPress Abilities API.

You can:

  • View WordPress site and environment information.
  • Check your account details.
  • Create new posts and pages.
  • Update existing posts and pages.
  • Use other abilities exposed through the WordPress Abilities API.

Every request passes through the Secure MCP Connector, which validates the request before allowing the action to run on your WordPress site.



 Thank you for your response. We will get back to you soon.

Something went wrong. Please submit your query again


ADFS_sso ×
Hello there!

Need Help? We are right here!

support