Connect GitHub Copilot
Add PromptGale to GitHub Copilot CLI with one command and OAuth, or to the Copilot cloud agent with an API key stored as a COPILOT_MCP_ secret.
Add PromptGale to GitHub Copilot as a remote MCP server at https://promptgale.com/mcp. It signs in with OAuth in the browser, so there is no key to paste.
How to connect GitHub Copilot to PromptGale
- Copilot CLI: run copilot mcp add (below); it signs in with OAuth on first use. To sign in again, run /mcp auth promptgale in Copilot CLI.
- Copilot for all your projects: ~/.copilot/mcp-config.json, shared with Copilot CLI.
- GitHub's Copilot cloud agent (repository MCP settings) does not support OAuth: use an API key (Connect with an API key) with a COPILOT_MCP_ secret.
Copilot CLI
copilot mcp add --transport http promptgale https://promptgale.com/mcp~/.copilot/mcp-config.json
{
"mcpServers": {
"promptgale": {
"type": "http",
"url": "https://promptgale.com/mcp",
"tools": [
"*"
]
}
}
}Where the config lives
- Copilot CLI:
copilot mcp addsaves the server in~/.copilot/mcp-config.json(or underCOPILOT_HOME). Inside the CLI,/mcp addopens the same form. - Copilot cloud agent: repository Settings, Copilot, MCP servers, then paste the JSON from Connect with an API key and save.
How sign-in works
- Copilot CLI signs in with OAuth on first use. To sign in again, run
/mcp auth promptgale. - GitHub says the cloud agent does not support remote servers that use OAuth, so it needs an API key. Store the key as a secret whose name starts with
COPILOT_MCP_.
Check that it works
Ask GitHub Copilot: "Use PromptGale to check who I am connected as, then list the engines." It should call whoami and get_capabilities. Neither costs credits.
Try it
Then ask: "Use PromptGale to ask ChatGPT in the US: what is the best CRM for a small agency? List the sources it cited and tell me whether Acme is mentioned." That runs one task and costs ChatGPT's price in credits.
What GitHub Copilot can do with PromptGale
Once connected, GitHub Copilot can ask ChatGPT, Gemini, Perplexity, Bing Copilot Search, Meta AI, Google AI Overview, and Google AI Mode a prompt from the country you pick, and read the answer, its cited sources and where each brand ranks. For example:
- "Ask ChatGPT and Perplexity in the US for the best CRM for a small agency, and tell me which brands they name first."
- "Check whether Gemini mentions Acme when asked for project management tools in Germany."
- "Run these 20 prompts on every engine as a batch and list the sites they cite most."
Running a prompt costs that engine's price in credits; reading results, credits and countries is free. The tools are listed in Connect an agent.
Troubleshooting
copilot mcp listandcopilot mcp get promptgaleshow what Copilot CLI loaded.- Copilot CLI skips project-level servers in folders you have not trusted.
- In a cloud agent session, open View session and expand Start MCP Servers to see the log.
- Using Copilot chat in VS Code? See Connect VS Code.
Checked against GitHub docs: add MCP servers to Copilot CLI and GitHub docs: MCP servers for the cloud agent on 2026-11-27. Menu names in GitHub Copilot can change; the vendor page is the reference.
Next
- Every tool and what it costs: Connect an agent.
- What a result contains: Results.
- The engines and their prices: Engines.
Last updated