×
Connecting Google Gemini Antigravity to the QR Code MCP Server

Connecting Google Gemini Antigravity to the QR Code MCP Server

A step-by-step guide to connecting our QR Code platform directly to your Google workspace.

book reader icon
1 Minute
facebook logo gray
blueskylogo gray
linkedin logo gray
mail logo gray

Ready to put your QR Code management on autopilot? The Model Context Protocol (MCP) allows AI models like Google Gemini to safely interact with external platforms. In just a few minutes, this guide will show you how to securely connect Antigravity to your account. Once set up, you’ll be able to use natural language prompts to pull scan statistics, generate SVG codes inline, or audit your dynamic business cards without ever leaving your AI workspace.

For a deep dive into the underlying architecture or to see alternative AI client configurations, check out our core QR Code MCP integration overview.

How to connect Gemini to our QR Code Platform using MCP

1. Get the API Key from our QR Code Platform  

Please log into your administrator account on our QR Platform.

Login

Login
Login Form
Once logged in, click on the menu API settings and in the area API v2 click on <SHOW SECRET API KEY> to see the full API key.
API Key in QR Code Account
Click on the menu API settings and in the area API v2 click on and copy the Secret API key.

2. Install and launch Antigravity IDE

Go to https://antigravity.google/product and download and install Antigravity IDE.
Important: you cannot set up MCP servers from Antigravity desktop application nor the web interface of Gemini. You need to install Antigravity IDE.

3. Launch Antigravity IDE

Go to your Apps folder and launch Antigravity IDE. 

Antigravity IDE
Antigravity IDE

4. Toggle Agent sidebar

Go to the top-right toolbar and toggle the Agent sidebar if it is not visible.

Antigravity Agent sidebar
Antigravity Agent sidebar

5. Edit MCP Servers

Click on the 3-dots icon and select MCP Servers to edit them.

MCP Servers edition
MCP Servers edition

Click on Manage MCP Servers

MCP Servers management
MCP Servers management

6. Edit MCP servers configuration

Click on View raw config to update the MCP config of your Antigravity projects.

View MCP config file
View MCP config file


Paste the following description with the Bearer token than you obtained on Step 1.

"mcpServers": {
        "qrplanet-mcp": {
            "url": "https://api.qrplanet.com/mcp",
            "headers": {
                "Authorization": "Bearer secret:qr.vc:36bc8:axxxxxxxxxxxxxxxxxxxxx",
                "X-Client-Id": "google-gemini"
            }
        }
    }

Save mcp_config.json file (Windows: Control + S, Mac: Command + S).

Content of MCP configuration file
Content of MCP configuration file

7. Refresh the MCP servers

Click on the refresh icon to update the configuration with the latest changes.

Now the MCP Server shows up with all the available tools.

Refresh your MCP servers
Refresh your MCP servers

8. You are ready!

Use your agent sidebar to prompt your QR Planet MCP server via Google Antigravity and Antigravity IDE.

Your first prompt to your MCP
Your first prompt to your MCP

Gemini CLI users

Advanced user of the CLI version of gemini can add the following MCP Server configuration block on the settings.json file of the project.

"mcpServers": {
        "qrplanet-mcp": {
            "url": "https://api.qrplanet.com/mcp",
            "headers": {
                "Authorization": "Bearer secret:qr.vc:36bc8:axxxxxxxxxxxxxxxxxxxxx",
                "X-Client-Id": "google-gemini"
            }
        }
    }
 
Last update 1 week ago