Mistral MCP Server
Enables AI assistants to interact with the full Mistral AI API, including chat completion, embeddings, fine-tuning, OCR, audio transcription, and more.
README
Mistral MCP Server
A comprehensive MCP (Model Context Protocol) server providing full access to the Mistral AI API. This server enables AI assistants like Claude to interact with all Mistral AI capabilities including chat completion, embeddings, fine-tuning, agents, OCR, audio transcription, and more.
Features
Chat & Completion
- Chat Completion - Full chat with function calling, JSON mode, vision support
- FIM Completion - Fill-in-the-middle code completion with Codestral
- Embeddings - Generate text embeddings for semantic search
- Agents Completion - Run completions with pre-configured agents
Model Management
- List all available models with capabilities
- Get detailed model information
- Delete fine-tuned models
- Update, archive, and unarchive fine-tuned models
File Management
- Upload files for fine-tuning, batch processing, or OCR
- List, download, and delete files
- Generate signed URLs for file access
Fine-Tuning
- Create fine-tuning jobs with customizable hyperparameters
- Monitor job status and progress
- Support for dry-run validation
- Cancel and start jobs
Batch Processing
- Create batch jobs for bulk API calls
- Monitor job progress and status
- Support for chat, embeddings, and FIM endpoints
Media Processing
- OCR - Extract text from documents and images
- Content Moderation - Check text and chat for safety issues
- Classification - Classify text with fine-tuned classifiers
- Audio Transcription - Transcribe audio with Voxtral
Agents & Conversations (Beta)
- Create and manage agents with custom instructions
- Manage conversations with agents
- Full conversation history support
Libraries (Beta)
- Create document libraries for RAG
- Upload and manage documents
- Share libraries with users and workspaces
Installation
# Clone the repository
git clone https://github.com/firstcastsolutions/mistral-mcp-server.git
cd mistral-mcp-server
# Install dependencies
npm install
# Build the project
npm run build
Configuration
Set the required environment variable:
export MISTRAL_API_KEY="your-mistral-api-key"
Usage
With Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mistral": {
"command": "node",
"args": ["/path/to/mistral-mcp-server/dist/index.js"],
"env": {
"MISTRAL_API_KEY": "your-api-key"
}
}
}
}
Standalone
export MISTRAL_API_KEY="your-api-key"
npm start
Available Tools (40+)
- Chat completion, FIM, embeddings, agents
- Model management (list, get, delete)
- File management (upload, download, delete)
- Fine-tuning jobs
- Batch processing
- OCR, moderation, classification
- Audio transcription
- Agents and conversations (Beta)
- Document libraries (Beta)
License
MIT - First Cast Solutions LLC
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.