GitHub Copilot coding agent
GitHub Copilot coding agent in einem Repository: MCP-Konfiguration in den Repository-Einstellungen und der Schlüssel als Agent-Secret.
- API-Schlüssel (Bearer)
- Im Repository Settings → Copilot → MCP servers öffnen.
- Die MCP-Konfiguration unten einfügen und speichern.
- Das Agent-Secret COPILOT_MCP_AICHARGED_KEY mit deinem API-Schlüssel hinzufügen (das Präfix COPILOT_MCP_ ist erforderlich).
Repository settings → Copilot → MCP servers
Empfohlen{
"mcpServers": {
"aicharged": {
"type": "http",
"url": "https://aicharged.io/api/v1/mcp",
"tools": [
"*"
],
"headers": {
"Authorization": "Bearer $COPILOT_MCP_AICHARGED_KEY"
}
}
}
}
Agents-Secret
COPILOT_MCP_AICHARGED_KEY=<API_KEY>