Skip to main content

Kết nối GitHub Copilot coding agent với aicharged.io

215 công cụ, một endpoint: https://aicharged.io/api/v1/mcp

GitHub Copilot coding agent

GitHub Copilot coding agent trong repository: cấu hình MCP trong cài đặt của repo và khóa dưới dạng agent secret.

  • Khóa API (Bearer)
  1. Trong repository, mở Settings → Copilot → MCP servers.
  2. Dán cấu hình MCP bên dưới rồi lưu.
  3. Thêm agent secret COPILOT_MCP_AICHARGED_KEY với khóa API của bạn (bắt buộc có tiền tố COPILOT_MCP_).

Repository settings → Copilot → MCP servers

Khuyên dùng
{
  "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>

Hoặc để CLI tự động thiết lập

`aicharged setup` tìm kiếm các client AI trên máy này, đăng nhập cho bạn qua trình duyệt và ghi cấu hình của chúng.

Kết nối chỉ với một dòng lệnh

Cài đặt CLI · macOS / Linux
curl -fsSL https://aicharged.io/install.sh | sh && aicharged setup
Cài đặt CLI · Windows
irm https://aicharged.io/install.ps1 | iex; aicharged setup
Endpoint MCP
https://aicharged.io/api/v1/mcp

HTTP dạng stream. Gửi header Authorization: Bearer <API_KEY>, hoặc đăng nhập bằng OAuth nếu client của bạn hỗ trợ.

Hoặc yêu cầu agent của bạn
Hãy đọc https://aicharged.io/agent.md và thiết lập aicharged.io cho tôi

Mở bằng prompt này trong Claude (mở trong tab mới) ChatGPT (mở trong tab mới) Perplexity (mở trong tab mới)