GitHub Copilot coding agent
GitHub Copilot coding agent en un repositorio: configuración MCP en los ajustes del repositorio y la clave como secreto del agente.
- Clave de API (Bearer)
- En el repositorio, abre Settings → Copilot → MCP servers.
- Pega la configuración MCP de abajo y guarda.
- Añade el secreto de agente COPILOT_MCP_AICHARGED_KEY con tu clave de API (el prefijo COPILOT_MCP_ es obligatorio).
Repository settings → Copilot → MCP servers
Recomendado{
"mcpServers": {
"aicharged": {
"type": "http",
"url": "https://aicharged.io/api/v1/mcp",
"tools": [
"*"
],
"headers": {
"Authorization": "Bearer $COPILOT_MCP_AICHARGED_KEY"
}
}
}
}
Secreto Agents
COPILOT_MCP_AICHARGED_KEY=<API_KEY>