Skip to content
Guides & References

Gemini CLI MCP setup for rConfig, and the move to Antigravity CLI

Connect Google's Gemini CLI to rConfig's MCP server with httpUrl and a bearer header, limit tools, and what Gemini CLI's retirement means for your setup.

Iris: AI CenterUpdated
On this page

Gemini CLI MCP setup for rConfig, and the move to Antigravity CLI

Gemini CLI connects to rConfig’s MCP server over Streamable HTTP with a bearer token in a header. Google has started moving users to Antigravity CLI, so check which one your team will be on before you standardise.

Best for: Google-based teams with API key or Code Assist licences, terminal work.


Connect

From the command line:

Terminal window
gemini mcp add --transport http \
--header "Authorization: Bearer YOUR_MCP_TOKEN" \
rconfig https://<your-rconfig-server>/mcp

Or in ~/.gemini/settings.json. Gemini CLI uses httpUrl for Streamable HTTP servers; url is for the older SSE transport:

~/.gemini/settings.json
{
"mcpServers": {
"rconfig": {
"httpUrl": "https://<your-rconfig-server>/mcp",
"headers": { "Authorization": "Bearer YOUR_MCP_TOKEN" }
}
}
}

The MCP server page is the reference for these settings.

Check it: run /mcp in a session. It shows the connection status and rConfig’s eight tools.


Limit tools and prompts

Two optional keys on the rconfig entry:

  • includeTools and excludeTools choose which rConfig tools load. excludeTools wins if a tool is in both.
  • trust: true skips the confirmation prompt for this server’s tools. Every rConfig tool is read-only, so the risk is low, but leave it false if the same session has servers that can write.

Things to ask

  • Device summary: “Summarise the running config of ber-core-01 from rConfig: routing protocols, VLANs, management access.”
  • Compliance check: “Using rConfig, which devices in the Edge group fail a policy right now, which policies, and why?”
  • What changed: “Diff the last two running-config versions of ber-edge-02 in rConfig and explain the change.”

Frequently asked questions

How do I add rConfig to Gemini CLI?

Run gemini mcp add --transport http --header "Authorization: Bearer <token>" rconfig https://<your-rconfig-server>/mcp, or add an mcpServers entry with httpUrl and headers to settings.json. Then run /mcp to check the connection.

Is Gemini CLI still supported?

Google replaced Gemini CLI with Antigravity CLI for unpaid and Google One accounts on 18 June 2026. It still runs with a Gemini API key or a Gemini Code Assist Standard or Enterprise licence.

Should I set trust to true for rConfig?

It removes the confirmation prompt for every rConfig tool call. rConfig's tools are all read-only, so the risk is low, but Google recommends trust only for servers you fully control.

Type to search.