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, in the Quick Start: Connect Your AI Client section.

Connect Antigravity to Your Site
- In Antigravity, go to Settings > Customizations > Installed MCP Servers and click Open MCP Config. Two files open: use
mcp_config.json(config.jsonholds unrelated app settings). - Add the WordPress server, pasting your MCP endpoint URL as the
serverUrl:
{
"mcpServers": {
"wordpress": {
"serverUrl": "https://yoursite.com/wp-json/easy-mcp-ai/v1/mcp"
}
}
}- Save the file, then 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. - After the restart, the
wordpressentry shows a yellow dot in Installed MCP Servers. Click it to start authorization. - Antigravity displays an authorization code.

- Complete the login on the WordPress authorization page that opens, then paste the code back into Antigravity to finish authenticating.

Verify the Connection
The wordpress server appears in Installed MCP Servers with a green dot and its tools available to agents. A yellow dot means it's added but not yet authorized — click it to trigger the authorization step 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.
