Mistral Vibe
Mistral Vibe CLI: vibe mcp add đọc khóa từ biến môi trường; hoặc thêm máy chủ vào config.toml.
- Khóa API (Bearer)
- Đăng nhập bằng OAuth
Một lệnh
Khuyên dùngvibe mcp add aicharged --url https://aicharged.io/api/v1/mcp --api-key-env AICHARGED_API_KEY
Tệp cấu hình
config.toml
[[mcp_servers]]
name = "aicharged"
transport = "streamable-http"
url = "https://aicharged.io/api/v1/mcp"
[mcp_servers.auth]
type = "static"
api_key_env = "AICHARGED_API_KEY"
api_key_header = "Authorization"
api_key_format = "Bearer {token}"
Thêm đoạn này vào config.toml người dùng của Vibe; api_key_env là tên biến môi trường chứa khóa.
Lưu khóa trong biến môi trường
· macOS / Linuxexport AICHARGED_API_KEY="<API_KEY>"
Thêm dòng export vào shell profile của bạn (ví dụ ~/.zshrc) để các terminal mới cũng thấy khóa.