mistral-mcp
v1.0.0Mistral MCP server: extract invoices and documents from text, Markdown or OCR into typed JSON.
Values you need
| Variable | What it is | |
|---|---|---|
MISTRAL_API_KEY | required secret | Mistral API key from https://console.mistral.ai/. Model-specific usage and rate limits depend on the organization tier. |
MISTRAL_BASE_URL | optional | Optional OpenAI-compatible endpoint (vLLM, TGI, LiteLLM, internal gateway). Setting it routes every call there instead of api.mistral.ai and switches the server to the self-hosted profile. |
MISTRAL_MCP_PROFILE | optional | Tool surface to expose: core (default), admin, workflows, metier-docs, self-hosted. Overrides what MISTRAL_BASE_URL would infer. |
MISTRAL_DEFAULT_MODEL | optional | Default chat and structured-extraction model when a call omits model. Useful for account-specific availability and self-hosted model ids. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mistral-mcp -e 'MISTRAL_API_KEY=<MISTRAL_API_KEY>' -- npx -y mistral-mcp@1.0.0Add to
claude_desktop_config.json{
"mcpServers": {
"mistral-mcp": {
"args": [
"-y",
"mistral-mcp@1.0.0"
],
"command": "npx",
"env": {
"MISTRAL_API_KEY": "<MISTRAL_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mistral-mcp": {
"args": [
"-y",
"mistral-mcp@1.0.0"
],
"command": "npx",
"env": {
"MISTRAL_API_KEY": "<MISTRAL_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "MISTRAL_API_KEY",
"id": "mistral-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"mistral-mcp": {
"args": [
"-y",
"mistral-mcp@1.0.0"
],
"command": "npx",
"env": {
"MISTRAL_API_KEY": "${input:mistral-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mistral-mcp]
command = "npx"
args = ["-y", "mistral-mcp@1.0.0"]
env = { "MISTRAL_API_KEY" = "<MISTRAL_API_KEY>" }For AI agents
- Ask the user for: MISTRAL_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: mistral_chat, codestral_fim, mistral_vision, mistral_ocr, voxtral_transcribe, process_document.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json