Skip to main content

Kết nối Gemini CLI với aicharged.io

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

Gemini CLI

Gemini CLI kết nối qua Streamable HTTP (httpUrl) với header Authorization.

  • Khóa API (Bearer)
  • Đăng nhập bằng OAuth

Một lệnh

Khuyên dùng
gemini mcp add --transport http --header "Authorization: Bearer <API_KEY>" aicharged https://aicharged.io/api/v1/mcp

Tệp cấu hình

~/.gemini/settings.json
{
  "mcpServers": {
    "aicharged": {
      "httpUrl": "https://aicharged.io/api/v1/mcp",
      "headers": {
        "Authorization": "Bearer <API_KEY>"
      },
      "timeout": 600000
    }
  }
}

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)