Appearance
How to Connect Google Antigravity to WordPress
Connecting Google Antigravity to your WordPress site lets its agents work with your content while you build: reading and updating posts and pages, managing media, or checking site settings. Easy MCP AI runs the MCP server inside WordPress, and Antigravity connects to it through its MCP configuration file with OAuth authorization.
In this article
Prerequisites
- A WordPress site served over HTTPS with Easy MCP AI installed and activated (see the installation guide).
- Pretty permalinks enabled (Settings > Permalinks set to anything other than "Plain").
- Google Antigravity installed and signed in.
You'll need your site's MCP endpoint URL, which is always your domain followed by /wp-json/easy-mcp-ai/v1/mcp:
https://yoursite.com/wp-json/easy-mcp-ai/v1/mcpYou can copy it from Easy MCP AI > Dashboard in your WordPress admin: click Connect an AI client, choose your client, and copy the URL shown in the Add this site step.

Connect Antigravity to Your Site
Find the MCP configuration for the interface you use:
- Antigravity App: Go to Customizations > Installed, scroll to MCP Servers, and click the copy config path icon next to +. This copies the file path; it does not open the file. + opens Google's Add MCP Server store, which lists catalog servers and does not let you add this custom WordPress URL.
- Antigravity IDE: In the agent side panel, open MCP Servers > Manage MCP Servers > View raw config to open the configuration in the editor.
If you copied the path in the App, open it in a text editor. On macOS, the path is
~/.gemini/config/mcp_config.json: in Finder, press Shift+Cmd+G (⇧⌘G) and paste the copied path to locate it. On Windows, use the path copied by your installation. If the file or its parent folder does not exist, create it in that location. Editmcp_config.json, notconfig.json, which holds unrelated app settings.Add the WordPress server, pasting your MCP endpoint URL as the
serverUrl. If the file already contains servers, addwordpressinside its existingmcpServersobject rather than replacing those entries:
json
{
"mcpServers": {
"wordpress": {
"serverUrl": "https://yoursite.com/wp-json/easy-mcp-ai/v1/mcp"
}
}
}- Save the file.
- Return to the MCP server list: Customizations > Installed > MCP Servers in the App, or MCP Servers > Manage MCP Servers in the IDE's agent side panel. Click Refresh (↻) if shown; if your interface offers More actions > Restart instead, use that to reload the server. When
wordpressappears, click Authenticate next to it. If it does not appear, fully quit Antigravity (Cmd+Qon macOS, not just closing the window) and relaunch it. Closing the window alone leaves the app running in the background with the old config still loaded. - Complete the login on the WordPress authorization page that opens: choose an access level (Read-only, Full access or Custom) and approve the request. Antigravity then displays an authorization code. Copy it.

- Paste the code into Enter authorization code under
wordpressand click Submit to finish authenticating.
See Managing OAuth Access in Easy MCP AI for access levels, grant management, and what to do after changing your site address.

MCP Servers still shows 0
In the App on macOS, check that you edited ~/.gemini/config/mcp_config.json, not the old ~/.gemini/antigravity/mcp_config.json location. A file left in the old location is ignored. Use the copy config path icon to confirm which file your installation reads.
Verify the Connection
Back on the Easy MCP AI Dashboard, the top of the page shows Connected: 1 OAuth grant (a higher number if you already had other connections). Once your AI client calls a tool, the call appears under Recent activity in the Dashboard sidebar.
The wordpress server appears in the MCP Servers list with a green dot and its tools available to agents. If it is listed but not yet authorized, click Authenticate next to it and complete the authorization steps above.

Try a first prompt:
Which are the five most recent posts on my WordPress site, and which of them are still drafts?
What You Can Do Once Connected
Easy MCP AI exposes your site's capabilities as MCP tools, organized by area: posts, pages, media, comments, categories and tags, menus, custom post types, blocks, revisions, users, plugins, themes, site settings, and search. Integrations such as WooCommerce and SEO data sources are included when available. Some things to try:
Create a draft page called "Pricing" using the layout I describe below.
List the active plugins on my site and their versions.
Find every post that mentions our old product name and update it.
Control What Antigravity Can Access
The connection acts as the WordPress user who approved the OAuth request, so WordPress roles apply as usual. On top of that, you can globally disable sensitive tools such as deletions, user management, and site settings. You can also set rate limits, force AI-created posts to stay drafts, and review every action in the audit log. See Creating and Managing API Tokens for all the guardrails.
Security
If you identify a potential security vulnerability in this plugin, please disclose it responsibly. Follow the protocols on the Themeisle Security Page.