Skip to content

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

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/mcp

You can copy it from Easy MCP AI > Dashboard in your WordPress admin, in the Quick Start: Connect Your AI Client section.

The Easy MCP AI Dashboard Quick Start card with the MCP endpoint URL and Copy button

Connect Antigravity to Your Site

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

Antigravity's authorization prompt showing the code for the WordPress MCP server

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

Antigravity's prompt to paste the authorization code back in to authenticate

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.

Antigravity's MCP server list showing the wordpress server connected

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.

Was this helpful?