Set up Gemini Code Assist
Google’s AI coding assistant for VS Code. Add Agentcy so Gemini Code Assist can access your marketing data in agent mode.
- 01
Sign up at app.goagentcy.com and create an API key
- 02
Open your project in VS Code with Gemini Code Assist installed
- 03
Create or edit .gemini/settings.json in your project root
- 04
Paste the config snippet below, replacing YOUR_AGENTCY_API_KEY with your actual key
- 05
Open Gemini Code Assist chat and switch to Agent mode
path: .gemini/settings.json
{
"mcpServers": {
"agentcy": {
"httpUrl": "https://data.goagentcy.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_AGENTCY_API_KEY"
}
}
}
}Gemini Code Assist uses httpUrl (not url) for remote MCP servers. Shares its config format with Gemini CLI. MCP tools only work in Agent mode (not standard chat). Currently supported in VS Code only (not JetBrains).
“Using Agentcy, show me organic traffic trends this month”
“What are our top-performing Google Ads campaigns?”
“Create a dashboard component with real GA4 data”
“Research competitor SEO strategies for our market”