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.
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.
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
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 IDEGo to the top-right toolbar and toggle the Agent sidebar if it is not visible.
Antigravity Agent sidebar5. Edit MCP Servers
Click on the 3-dots icon and select MCP Servers to edit them.
MCP Servers editionClick on Manage MCP Servers
MCP Servers management6. Edit MCP servers configuration
Click on View raw config to update the MCP config of your Antigravity projects.
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 file7. 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 servers8. 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 MCPGemini 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"
}
}
}