Set up VS Code
Microsoft’s code editor with Copilot Chat. Add Agentcy as an MCP server so Copilot can access your marketing analytics while you code.
- 01
Sign up at app.goagentcy.com and create an API key
- 02
Open your project in VS Code
- 03
Create or edit .vscode/mcp.json in your workspace root
- 04
Paste the config snippet below, replacing YOUR_AGENTCY_API_KEY with your actual key
- 05
Restart VS Code to connect to Agentcy
path: .vscode/mcp.json
{
"servers": {
"agentcy": {
"type": "http",
"url": "https://data.goagentcy.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_AGENTCY_API_KEY"
}
}
}
}Requires VS Code 1.99+ with a paid GitHub Copilot subscription. VS Code uses a servers root key (not mcpServers) with a type field. MCP support is available in Copilot Chat Agent mode. For Copilot Business/Enterprise, an org admin must enable the “MCP servers in Copilot” policy.
“Using Agentcy, show me this month’s traffic trends”
“What’s our WooCommerce conversion rate this week?”
“Create a report component using real GA4 data from aurora-fitness.com”
“Compare our search rankings this month vs last month”