How to connect with MCP in Gemini and Antigravity
Connect Google Antigravity, Gemini CLI or the Gemini app to your DashThis account with MCP so you can ask about your dashboards where you already work.
This guide shows you how to connect Google Antigravity, Gemini CLI and the Gemini app to your DashThis account using the MCP Connector. Once connected, you can ask about your dashboards and get answers from your live reporting data.
Before you start
- Not every Google product can add a custom MCP connector. Check the list below before you start.
- You sign in with your usual DashThis credentials during setup.
Which Google products work
- 🟢Google Antigravity, in the IDE and the CLI: works. Use the manual authorization steps below.
- 🟢Gemini CLI: works. You need a paid Code Assist plan or a Gemini API key, because a free personal Google account is refused.
- 🟢Gemini app (Spark): works for personal accounts in the United States.
- 🟢Gemini API: works for developers who pass their own access token.
- 🔴Gemini Enterprise and Gemini Business: not supported. They ask for a type of credential DashThis does not issue, for security reasons.
- 🔴Gemini in Workspace, NotebookLM and Gems: not available. These products have no place to add a custom MCP connector.
Google Code Assist was discontinued in June 2026. If you used it before, use Antigravity instead.
Connect Google Antigravity
Use the manual authorization, not the automatic one
Antigravity offers two ways to authorize a server. Use the manual one, where you copy and paste a code. The automatic redirect currently fails on Google's side, so the connection will not complete if you use it.
- Open Settings at the bottom left, then Customizations, then Installed MCP Servers, then Open MCP config.
- Add this entry to the file: { "mcpServers": { "dashthis": { "serverUrl": "https://mcp.dashthis.com/mcp" } } }
- Click Authorize next to the DashThis server.
- Sign in to DashThis in your browser and approve access.
- Copy the code Google gives you at the end.
- Paste the code in the field next to the server in Antigravity, then click Submit.
Connect Gemini CLI
- Open your settings file at ~/.gemini/settings.json.
- Add this entry: { "mcpServers": { "dashthis": { "httpUrl": "https://mcp.dashthis.com/mcp", "oauth": { "enabled": true } } } }
- Run /mcp auth dashthis, then sign in to DashThis and approve access.
- Run /mcp list to confirm that DashThis appears in your list of servers.
Connect the Gemini app (Spark)
- Open Settings & help, then Connected Apps, then Custom apps for Spark.
- Add https://mcp.dashthis.com/mcp as a custom app.
- Sign in to DashThis and approve access when prompted.
For developers: the Gemini API
There is no sign-in screen for the Gemini API. Pass an mcp_server tool at call time with the DashThis endpoint and your own access token in the headers, the same way you would for any other programmatic caller.
What Gemini can see
Gemini can only read the dashboards on the DashThis account you connected, and the connection is read-only, so it cannot change anything in DashThis. For the full list of what the connector can and cannot do, see MCP notes and limitations.
Need help connecting Gemini?
Contact our Support Team here 💪🏼
What's next?