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
Open a terminal and launch Copilot CLI: copilot
- 03
Type /mcp add and press Enter
- 04
Server Name: agentcy | Server Type: HTTP | URL: https://data.goagentcy.com/mcp
- 05
Headers: {"Authorization": "Bearer YOUR_AGENTCY_API_KEY"} — replace with your actual key
- 06
Press Ctrl+S (Cmd+S on macOS) to save
- 07
Verify with /mcp show — Agentcy should appear in the list
path: ~/.copilot/mcp-config.json
{
"mcpServers": {
"agentcy": {
"type": "http",
"url": "https://data.goagentcy.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_AGENTCY_API_KEY"
}
}
}
}Requires any paid GitHub Copilot subscription (Individual, Pro, Business, or Enterprise). The "type": "http" field is REQUIRED — without it, Copilot CLI will not connect to a remote HTTP MCP server. Alternative path: edit ~/.copilot/mcp-config.json directly with the snippet below. Per-repo config also supported at .copilot/mcp-config.json in your project root. As of v1.0.21 (April 7, 2026), you can also manage MCP servers from outside the interactive session with the new copilot mcp CLI subcommand.
Stuck or want to verify these instructions yourself? These are the documentation sources we used. If something here doesn't match what you see in your client, the vendor may have updated their UI — and we'll get this page updated.
After connecting GitHub Copilot CLI and configuring your data sources in the portal, ask questions about any of them in natural language: