Gemini CLI + WordPress MCP

Connect Gemini CLI to WordPress, with boundaries.

Connect supported Gemini CLI installations to WordPress through WPPilot's remote MCP endpoint.

Connection profile

Gemini CLI

OAuth routeNative remote OAuth
MethodsOAuth 2.1 · Access token · Application Password

Add the generated remote server to Gemini CLI's settings.json and complete authorization.

Connection sequence

A clean Gemini CLI setup in six steps.

Use the configuration generated by your own WordPress site. It contains the endpoint shape and selected authentication route appropriate to the installed WPPilot instance.

  1. 01

    Install the foundation

    Activate WPPilot Free on a supported WordPress and PHP version, then open its Connect screen.

  2. 02

    Choose the client

    Select Gemini CLI; WPPilot presents the supported connection methods and client-specific guidance.

  3. 03

    Choose authentication

    Gemini CLI can use the native remote OAuth route. A dedicated Application Password is another listed option where supported.

  4. 04

    Add the generated config

    Add the generated remote server to Gemini CLI's settings.json and complete authorization.

  5. 05

    Authorize deliberately

    Use a dedicated WordPress identity with the smallest role and WPPilot safety profile the workflow needs.

  6. 06

    Verify read-only

    Discover tools, inspect one schema, read a non-sensitive object, and review the result before enabling writes.

Authentication detail

Direct remote OAuth is supported.

Gemini CLI is in WPPilot's native OAuth client group. It can complete a browser-based authorization against the remote MCP endpoint through its supported flow.

Connection methods in the registry

  • OAuth 2.1
  • Access token
  • Application Password

Gemini CLI specifics: Remote servers in Gemini CLI use httpUrl, not url. Google moved the ordinary individual-user path to Antigravity CLI; verify that your Gemini CLI edition is still supported.

Do not copy a generic secret from a public guide. Generate the connection on your site, keep credentials out of source control, and revoke unused credentials in WordPress.

First useful test

Ask Gemini CLI for evidence, not broad authority.

A short read-only exercise proves the endpoint, credentials, tool discovery, schema lookup, permissions, and response path without changing the site.

  • Report the active WPPilot safety profile
  • List the abilities currently available to this credential
  • Inspect the schema for one read-only content ability
  • Read one non-sensitive page or post
  • Name the WordPress object and fields used in the answer
  • Do not write, publish, delete, or invoke developer tools
  • Report any connection or permission error exactly

Gemini CLI WordPress MCP FAQ

The setup questions that matter.

Connection behavior reflects the current WPPilot client registry reviewed August 24, 2026. Client releases can change; use the generated in-product guidance.

Can Gemini CLI connect to WordPress through MCP?

Yes. WPPilot includes a Gemini CLI-specific connection path. Add the generated remote server to Gemini CLI's settings.json and complete authorization. Remote servers in Gemini CLI use httpUrl, not url. Google moved the ordinary individual-user path to Antigravity CLI; verify that your Gemini CLI edition is still supported.

Which authentication methods are available for Gemini CLI?

OAuth 2.1 and Access token and Application Password are represented in the current WPPilot client registry. The Connect screen generates the path and configuration that match the selected method.

Does connecting Gemini CLI give it full WordPress access?

No. The dedicated WordPress user's capabilities, WPPilot safety profile, enabled abilities, rate limits, and critical confirmations are enforced on the site.

Can Gemini CLI use WPPilot Pro integrations?

Yes, when WPPilot Free is active, the Pro licence is active, the relevant companion plugin is present, integration health is usable, and the live ability is permitted.

What should the first test be?

Use staging or Read Only. Ask the client to discover abilities, inspect one ability schema, read a non-sensitive page, and explain exactly which site evidence it used. Do not begin with a broad write.

Your site · your policy · your AI client

Put Gemini CLI to work on WordPress, carefully.

Start with WPPilot Free, a dedicated credential, Read Only, and one inspectable task. Add authority only when the workflow and recovery path are proven.