Set up GitHub Copilot CLI
GitHub’s terminal-native coding agent. Add Agentcy so Copilot can pull marketing data while helping you code, debug, and build from the command line.
- 01
Sign up at app.goagentcy.com and create an API key
- 02
Create or edit ~/.copilot/mcp-config.json
- 03
Paste the config snippet below, replacing YOUR_AGENTCY_API_KEY with your actual key
- 04
Restart Copilot CLI to load the Agentcy server
path: ~/.copilot/mcp-config.json
{
"mcpServers": {
"agentcy": {
"url": "https://data.goagentcy.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_AGENTCY_API_KEY"
}
}
}
}Requires a paid GitHub Copilot subscription. Also supports project-scoped config at .copilot/mcp-config.json in your project root. Supports a tools array to selectively expose specific Agentcy tools.
“Show me this month’s top-performing pages from GA4”
“What’s the click-through rate on our top Search Console queries?”
“Create a bash script that checks site performance via Agentcy”
“Research what our competitors rank for in organic search”