# Gemini CLI MCP and Extensions After the Antigravity Move

[Muhammad Shakil](https://skryvo.ai/about/) · Founder of Skryvo

October 22, 2026 · Updated November 7, 2026 · 7 min read

**In this guide**

1. [Can I still use Gemini CLI?](https://skryvo.ai/blog/gemini-cli-mcp/#can-i-still-use-gemini-cli)
2. [How do I add an MCP server to Gemini CLI?](https://skryvo.ai/blog/gemini-cli-mcp/#how-do-i-add-an-mcp-server-to-gemini-cli)
3. [What are Gemini CLI extensions?](https://skryvo.ai/blog/gemini-cli-mcp/#what-are-gemini-cli-extensions)
4. [How do I add an MCP server to Antigravity CLI?](https://skryvo.ai/blog/gemini-cli-mcp/#how-do-i-add-an-mcp-server-to-antigravity-cli)
5. [How do I move my Gemini CLI setup to Antigravity CLI?](https://skryvo.ai/blog/gemini-cli-mcp/#how-do-i-move-my-gemini-cli-setup-to-antigravity-cli)
6. [A worked example: posting from Antigravity CLI](https://skryvo.ai/blog/gemini-cli-mcp/#a-worked-example-posting-from-antigravity-cli)

Share [X](https://twitter.com/intent/tweet?text=Gemini%20CLI%20MCP%20and%20Extensions%20After%20the%20Antigravity%20Move&url=https%3A%2F%2Fskryvo.ai%2Fblog%2Fgemini-cli-mcp%2F) [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fskryvo.ai%2Fblog%2Fgemini-cli-mcp%2F) [Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fskryvo.ai%2Fblog%2Fgemini-cli-mcp%2F)

Checked against Google's Gemini CLI and Antigravity docs on November 7, 2026.

If you set up MCP servers or extensions in Gemini CLI, the ground moved under you: on June 18, 2026, Google stopped serving Gemini CLI for free, Google AI Pro and Google AI Ultra users and moved them to Antigravity CLI. Gemini CLI still runs for some accounts, and its MCP setup still matters for them. This guide covers both, from [Google's announcement](https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli/), the [Gemini CLI docs](https://geminicli.com/docs/tools/mcp-server/) and the [Antigravity docs](https://antigravity.google/docs/mcp), checked October 22, 2026.

**The short version:** on a personal plan, use Antigravity CLI (`agy`): put MCP servers in `~/.gemini/config/mcp_config.json`, use `serverUrl` for remote ones, and open `/mcp` to manage them; `agy plugin import gemini` converts old extensions. On a Gemini Code Assist Standard or Enterprise license, or with a paid API key, Gemini CLI still works: `gemini mcp add` adds a server and `gemini extensions install` adds an extension.

## Can I still use Gemini CLI?

Google's announcement says Gemini CLI and the Gemini Code Assist IDE extensions stopped serving requests on June 18, 2026 for Google AI Pro, Google AI Ultra and free individual users. It keeps working for Gemini Code Assist Standard and Enterprise licenses, for Gemini Code Assist for GitHub through Google Cloud, and with paid Gemini and Gemini Enterprise Agent Platform API keys. Everyone else moves to Antigravity CLI, which keeps skills, hooks, subagents and extensions, the last now called Antigravity plugins.

## How do I add an MCP server to Gemini CLI?

```
gemini mcp add --transport http my-server https://api.example.com/mcp/
```

The pattern is `gemini mcp add [options] <name> <command or url>`. The default transport is stdio; use `--transport http` for a remote server, `-e KEY=value` for environment variables, `-H` for headers and `--scope user` to make it available everywhere (the default scope is the project). Servers are stored under `mcpServers` in `~/.gemini/settings.json` or the project's `.gemini/settings.json`, where a remote server's address is `httpUrl`. `gemini mcp list` shows them, `gemini mcp remove <name>` deletes one, and `/mcp` inside Gemini CLI shows each server's status and tools; `/mcp auth <name>` signs in to a server that uses OAuth.

Two details that trip people up: name servers with dashes, not underscores, because tool names become `mcp_{server}_{tool}` and the policy parser splits on underscores; and only set `trust` on a server you would let run without asking, because it skips every confirmation.

## What are Gemini CLI extensions?

An extension bundles MCP servers, commands, context files and settings into one install. Each has a `gemini-extension.json` manifest in its root and lives in `~/.gemini/extensions`.

```
gemini extensions install https://github.com/gemini-cli-extensions/workspace
gemini extensions list
gemini extensions update --all
```

Gemini CLI copies an extension when it installs it, so run `gemini extensions update` to pick up changes; `--auto-update` at install time does it for you. Browse published extensions at [the extensions gallery](https://geminicli.com/extensions/browse/).

Skryvo writes posts and articles in your brand's voice and publishes them for you. [Start for $0](https://skryvo.ai/signup/) 7 days free, no card needed

## How do I add an MCP server to Antigravity CLI?

Antigravity reads MCP servers from `~/.gemini/config/mcp_config.json`, or `.agents/mcp_config.json` in a workspace. A remote server uses `serverUrl`; Antigravity does not accept the old `url` or `httpUrl` keys:

```
{
  "mcpServers": {
    "my-remote-server": {
      "serverUrl": "https://api.example.com/mcp/",
      "headers": { "Authorization": "Bearer YOUR_API_TOKEN" }
    },
    "sqlite-explorer": {
      "command": "node",
      "args": ["/usr/local/bin/sqlite-mcp-server.js"],
      "env": { "SQLITE_DB_PATH": "/var/data/app.db" }
    }
  }
}
```

Restart `agy` after editing the file, then type `/mcp` to open the MCP manager and check each server. Prefer OAuth over a token in `headers` where the server offers it, so no secret sits in the file.

## How do I move my Gemini CLI setup to Antigravity CLI?

1. Run `agy`. On first launch it finds your Gemini CLI profile and lists the extensions and settings it can convert; tick the ones you want.
2. Or convert later with `agy plugin import gemini`. Extensions become Antigravity plugins and skills, and MCP servers move from `settings.json` into `mcp_config.json`.
3. Open `mcp_config.json` and change any remote server's `url` or `httpUrl` to `serverUrl` if the import did not.
4. Open `/mcp` and sign in again to servers that use OAuth.

Google says there is not one-to-one feature parity yet, so check each server's tools after the move rather than assuming they all came across.

## A worked example: posting from Antigravity CLI

Skryvo is a remote MCP server for social media. In Antigravity CLI, add it to `~/.gemini/config/mcp_config.json`:

```
{
  "mcpServers": {
    "skryvo": { "serverUrl": "https://api.skryvo.ai/mcp" }
  }
}
```

Open `/mcp` to sign in, then ask "Write a Bluesky post about our new docs and schedule it for Thursday at 2pm." It drafts the post in your brand's voice, and Skryvo's tools tell it to schedule only after you approve. On Gemini CLI, `gemini extensions install https://github.com/Skryvo/agent` adds the same server. [The Gemini setup page](https://skryvo.ai/agents/gemini/) has both routes, and the same server works in [Claude Code](https://skryvo.ai/blog/claude-code-mcp/), [Codex](https://skryvo.ai/blog/codex-mcp/) and [Cursor](https://skryvo.ai/blog/cursor-mcp/).

These paths and keys come from Google's docs on the date above, and this move is recent, so check the current docs if a server does not appear in `/mcp`.

If you are on a personal plan, move now: write your servers into `mcp_config.json` with `serverUrl`, import your extensions once, and check `/mcp` before trusting the move.

Scripting instead of an agent? [a social media API for AI agents](https://skryvo.ai/answers/social-media-api-for-ai-agents/).

## Do this in Skryvo

- [Skryvo in Antigravity CLI and Gemini CLI](https://skryvo.ai/agents/gemini/)
- [Add MCP servers to Claude Code](https://skryvo.ai/blog/claude-code-mcp/)
- [MCP connectors for every AI agent](https://skryvo.ai/agents/)

About the author

### [Muhammad Shakil](https://skryvo.ai/about/) Founder of Skryvo

I wrote this myself. I have built mobile apps and websites for companies in the US and Europe since 2022, and I built Skryvo after one too many AI drafts fell apart the moment someone checked a fact. Everything I publish here is tested on my own work first, and I show the numbers, including the ones that did not go my way.

[LinkedIn](https://www.linkedin.com/in/flutterdeveloper1/) [X](https://x.com/MShakilAwan3) [Full bio](https://skryvo.ai/about/) [All articles](https://skryvo.ai/blog/)

Read Skryvo often? [Add Skryvo as a preferred source on Google](https://www.google.com/preferences/source?q=skryvo.ai) and our articles are more likely to show up for you.

## Keep reading

[All guides](https://skryvo.ai/blog/)

AI Agents · 7 min read

### [Best Social Media MCP Servers and Connectors (2026)](https://skryvo.ai/blog/best-social-media-mcp-servers/)

Seven social media MCP servers and connectors compared from their own docs: Buffer, Metricool, Postiz, Zernio, Blotato, Ayrshare and Skryvo, by channels, sign-in, price, approval.

AI Agents · 6 min read

### [VS Code MCP: Add MCP Servers to GitHub Copilot](https://skryvo.ai/blog/vscode-mcp/)

Add MCP servers to VS Code and GitHub Copilot: MCP: Add Server, the new mcp-config.json, keeping keys out of files, logs and fixes. Checked Oct 2026.

AI Agents · 8 min read

### [Perplexity MCP: Official Server, URL, Pricing and Setup](https://skryvo.ai/blog/perplexity-mcp/)

Perplexity MCP both ways: its official server in Claude Code, Cursor, Claude Desktop and Docker, what each tool runs on, and adding MCP connectors to Perplexity.

## Turn ideas like these into posts

Skryvo writes posts and articles in your brand's voice and publishes them to your channels, from the app or your AI agent.

[Start for $0](https://skryvo.ai/signup/) [See how it works](https://skryvo.ai/features/)

- 7 days free, no card needed
