GitHub Copilot coding agent
GitHub Copilot coding agent in un repository: configurazione MCP nelle impostazioni del repository e chiave come secret dell'agente.
- Chiave API (Bearer)
- Nel repository apri Settings → Copilot → MCP servers.
- Incolla la configurazione MCP qui sotto e salva.
- Aggiungi il secret dell'agente COPILOT_MCP_AICHARGED_KEY con la tua chiave API (il prefisso COPILOT_MCP_ è obbligatorio).
Repository settings → Copilot → MCP servers
Consigliato{
"mcpServers": {
"aicharged": {
"type": "http",
"url": "https://aicharged.io/api/v1/mcp",
"tools": [
"*"
],
"headers": {
"Authorization": "Bearer $COPILOT_MCP_AICHARGED_KEY"
}
}
}
}
Secret Agents
COPILOT_MCP_AICHARGED_KEY=<API_KEY>