Mistral Vibe
Mistral Vibe CLI: vibe mcp add lê a chave de uma variável de ambiente; ou acrescente o servidor ao config.toml.
- Chave de API (Bearer)
- Login com OAuth
Um comando
Recomendadovibe mcp add aicharged --url https://aicharged.io/api/v1/mcp --api-key-env AICHARGED_API_KEY
Arquivo de configuração
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}"
Acrescente isto ao config.toml de usuário do Vibe; api_key_env indica a variável de ambiente que contém a chave.
Guarde a chave em uma variável de ambiente
· macOS / Linuxexport AICHARGED_API_KEY="<API_KEY>"
Adicione a linha export ao perfil do seu shell (p. ex. ~/.zshrc) para que novos terminais também vejam a chave.