Uses Mistral AI for chat, OCR, audio, vision, agents, embeddings, moderation, classification, files and batch jobs.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add mistral --env MISTRAL_API_KEY='<MISTRAL_API_KEY>' -- npx -y mistral-mcp~/.codex/config.toml
[mcp_servers.mistral]
command = "npx"
args = ["-y", "mistral-mcp"]
env = { MISTRAL_API_KEY = "<MISTRAL_API_KEY>" }
# codex mcp add mistral --env MISTRAL_API_KEY='<MISTRAL_API_KEY>' -- npx -y mistral-mcp~/.cursor/mcp.json
{
"mcpServers": {
"mistral": {
"command": "npx",
"args": [
"-y",
"mistral-mcp"
],
"env": {
"MISTRAL_API_KEY": "<MISTRAL_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"mistral": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mistral-mcp"
],
"env": {
"MISTRAL_API_KEY": "<MISTRAL_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"mistral": {
"command": "npx",
"args": [
"-y",
"mistral-mcp"
],
"env": {
"MISTRAL_API_KEY": "<MISTRAL_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"mistral": {
"command": "npx",
"args": [
"-y",
"mistral-mcp"
],
"env": {
"MISTRAL_API_KEY": "<MISTRAL_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"mistral": {
"command": "npx",
"args": [
"-y",
"mistral-mcp"
],
"env": {
"MISTRAL_API_KEY": "<MISTRAL_API_KEY>"
}
}
}
}Environment variables
MISTRAL_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.