Connect to Gemini
Gemini's MCP support varies by surface.
Gemini CLI
Install Gemini CLI: npm install -g @google/gemini-cl
(For Enterprise / Google Workspace users only) Set your Google Cloud project variable in your terminal before launching (standard/personal accounts can skip this step):
Mac/Linux: export GOOGLE_CLOUD_PROJECT="your-gcp-project-id"
Windows (cmd.exe): set GOOGLE_CLOUD_PROJECT=your-gcp-project-id
Windows (PowerShell): $env:GOOGLE_CLOUD_PROJECT="your-gcp-project-id"
Open the Gemini CLI settings file:
Mac/Linux: ~/.gemini/settings.json
Windows: %USERPROFILE%\.gemini\settings.json
Add Tracxn to the mcpServers section:
json
{
"mcpServers": {
"tracxn": {
"httpUrl": "https://platform.tracxn.com/mcp"
}
}
}
5. Save and launch Gemini CLI by running gemini in your terminal.
6. Run /mcp list inside the interactive session to verify Tracxn is listed as a connected server.
7. Authenticate via OAuth when prompted on first use, or run /mcp auth tracxn to log in directly.
⚠️ Note for Enterprise IT Admins: |
If an enterprise account encounters an admin_policy_enforced error during OAuth sign-in (Step 7), an IT Admin must whitelist Tracxn as a Trusted App in the Google Admin Console under Security > Access and data control > API Controls > Manage Third-Party App Access. |
Gemini Enterprise on Google Cloud
Gemini Enterprise supports custom MCP server data stores. Setup requires Google Cloud admin permissions. Contact your Tracxn account manager for setup guidance.
Gemini consumer app (gemini.google.com)
Google has not yet released custom MCP connector support in the Gemini consumer app. For Gemini-style AI chat with Tracxn data today, use Claude, ChatGPT, or Cursor.