Overview
Access Mistral AI models for multilingual and code generation tasks.
Setup
Run with npx:
npx -y @modelcontextprotocol/server-mistralConfiguration
MISTRAL_API_KEY environment variableDocumentation
Mistral MCP (Enhanced)
Overview
Mistral MCP provides access to Mistral AI's models, optimized for multilingual tasks and code generation.
Features
- Multilingual support
- Code generation
- Efficient inference
- Open weights available
- Cost-effective pricing
Installation
npx -y @modelcontextprotocol/server-mistral
Configuration
Set the MISTRAL_API_KEY environment variable:
export MISTRAL_API_KEY=your_mistral_api_key
Get your API key from https://console.mistral.ai/api-keys/.
Available Models
| Model | Description |
|---|---|
mistral-large-latest | Most capable model |
mistral-small-latest | Fast, efficient model |
codestral-latest | Code generation model |
Usage Examples
Chat Completion
{
"model": "mistral-large-latest",
"messages": [
{ "role": "user", "content": "Hello, how are you?" }
]
}
Pros
- ✅ Multilingual support
- ✅ Code generation
- ✅ Efficient models
- ✅ Open weights
Cons
- ❌ Requires Mistral API key
- ❌ Smaller ecosystem
- ❌ Limited model variety
