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: click Connect an AI client, choose your client, and copy the URL shown in the Add this site step.

Screenshot: The Easy MCP AI Dashboard with the Connect an AI client card open at the Add this site step, showing the MCP endpoint URL and its 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.
  2. Back in Installed MCP Servers, click Refresh (↻). When wordpress appears, click Authenticate next to it. If it does not appear, 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.
  3. 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.

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

  1. Paste the code into the field under wordpress and 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.

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

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 Installed MCP Servers 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.

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?