Mistral MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Mistral MCP Server chat with mistral large model"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: Meshy MCP Server
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 buildConfiguration
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 startAvailable 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
Available Tools
43 toolsmistral_agents_completionMistral Agents CompletionCRead-only
Run completions using pre-configured Mistral Agents.
Inputs: agent_id (required), messages (required), max_tokens, temperature.
mistral_append_conversationAppend to ConversationC
Add messages to an existing conversation.
Inputs: messages (required), conversation_id (required).
mistral_cancel_batch_jobCancel Batch JobCIdempotent
Cancel a batch job.
Inputs: job_id (required).
mistral_cancel_fine_tuning_jobCancel Fine-Tuning JobAIdempotent
Cancel a running fine-tuning job.
Inputs: job_id (required).
mistral_chat_completionMistral Chat CompletionBRead-only
Generate chat completions using Mistral AI models with function calling and vision support.
Inputs: messages (required), model, tools, top_p, +8 more.
mistral_classify_textClassify TextCRead-onlyIdempotent
Classify text using a fine-tuned classifier.
Inputs: model (required), inputs (required).
mistral_create_agentCreate AgentC
Create a new Mistral agent.
Inputs: name (required), model (required), tools, description, +1 more.
mistral_create_batch_jobCreate Batch JobC
Create a new batch processing job.
Inputs: model (required), endpoint (required), input_files (required), metadata.
mistral_create_conversationCreate ConversationC
Create a new conversation with an agent.
Inputs: messages (required), model, agent_id.
mistral_create_fine_tuning_jobCreate Fine-Tuning JobC
Create a new fine-tuning job.
Inputs: model (required), training_files (required), suffix, dry_run, +4 more.
mistral_create_libraryCreate LibraryC
Create a new document library.
Inputs: name (required), description.
mistral_delete_agentDelete AgentCDestructiveIdempotent
Delete an agent.
Inputs: agent_id (required).
mistral_delete_conversationDelete ConversationCDestructiveIdempotent
Delete a conversation.
Inputs: conversation_id (required).
mistral_delete_fileDelete Mistral FileCDestructiveIdempotent
Delete a file from your account.
Inputs: file_id (required).
mistral_delete_libraryDelete LibraryCDestructiveIdempotent
Delete a library.
Inputs: library_id (required).
mistral_delete_modelDelete Fine-Tuned ModelBDestructiveIdempotent
Delete a fine-tuned model (permanent).
Inputs: model_id (required).
mistral_download_fileDownload Mistral FileCRead-onlyIdempotent
Download file contents.
Inputs: file_id (required).
mistral_embeddingsMistral EmbeddingsBRead-onlyIdempotent
Generate text embeddings for semantic search and similarity.
Inputs: input (required), model, encoding_format.
mistral_fim_completionMistral FIM CompletionCRead-only
Fill-in-the-Middle code completion using Codestral.
Inputs: prompt (required), stop, model, top_p, +5 more.
mistral_get_agentGet AgentCRead-onlyIdempotent
Get details of an agent.
Inputs: agent_id (required).
mistral_get_batch_jobGet Batch JobCRead-onlyIdempotent
Get details of a batch job.
Inputs: job_id (required).
mistral_get_conversationGet ConversationCRead-onlyIdempotent
Get conversation details.
Inputs: conversation_id (required).
mistral_get_conversation_historyGet Conversation HistoryCRead-onlyIdempotent
Get full conversation history.
Inputs: conversation_id (required).
mistral_get_fileGet Mistral File DetailsCRead-onlyIdempotent
Get details about a specific file.
Inputs: file_id (required).
mistral_get_fine_tuning_jobGet Fine-Tuning JobBRead-onlyIdempotent
Get details of a fine-tuning job.
Inputs: job_id (required).
mistral_get_libraryGet LibraryCRead-onlyIdempotent
Get library details.
Inputs: library_id (required).
mistral_get_modelGet Mistral Model DetailsCRead-onlyIdempotent
Get detailed information about a specific model.
Inputs: model_id (required).
mistral_get_signed_urlGet Signed URLBRead-only
Get a temporary download URL for a file.
Inputs: file_id (required), expiry.
mistral_list_agentsList AgentsCRead-onlyIdempotent
List all Mistral agents.
Inputs: page, page_size.
mistral_list_batch_jobsList Batch JobsBRead-onlyIdempotent
List batch processing jobs.
Inputs: page, model, status, page_size, +1 more.
mistral_list_conversationsList ConversationsCRead-onlyIdempotent
List all conversations.
Inputs: page, page_size.
mistral_list_filesList Mistral FilesCRead-onlyIdempotent
List files uploaded to your Mistral account.
Inputs: page, purpose, page_size.
mistral_list_fine_tuning_jobsList Fine-Tuning JobsCRead-onlyIdempotent
List fine-tuning jobs.
Inputs: page, model, status, page_size, +1 more.
mistral_list_librariesList LibrariesBRead-onlyIdempotent
List all document libraries.
Inputs: no named parameters.
mistral_list_modelsList Mistral ModelsBRead-onlyIdempotent
List all available Mistral models with capabilities.
Inputs: no named parameters.
mistral_moderate_chatModerate ChatBRead-onlyIdempotent
Check chat messages for safety issues.
Inputs: messages (required), model.
mistral_moderate_textModerate TextCRead-onlyIdempotent
Check text for safety issues.
Inputs: inputs (required), model.
mistral_ocrMistral OCRBRead-onlyIdempotent
Extract text from documents and images using OCR.
Inputs: no named parameters.
mistral_start_fine_tuning_jobStart Fine-Tuning JobC
Start a validated fine-tuning job.
Inputs: job_id (required).
mistral_transcribe_audioTranscribe AudioCRead-onlyIdempotent
Transcribe audio files using Voxtral.
Inputs: filename (required), file_content (required), model, prompt, +1 more.
mistral_update_agentUpdate AgentC
Update an existing agent.
Inputs: agent_id (required), name, description, instructions.
mistral_update_libraryUpdate LibraryC
Update a library.
Inputs: library_id (required), name, description.
mistral_upload_fileUpload File to MistralA
Upload a file for fine-tuning, batch processing, or OCR.
Inputs: filename (required), file_content (required), purpose.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 43 tools
Tools are mostly distinct, covering different resources (agents, conversations, libraries, files, jobs, models) and operations. Minor potential confusion exists between mistral_get_conversation and mistral_get_conversation_history, and between mistral_download_file and mistral_get_signed_url, but descriptions clarify the differences.
Consistent mistral_ prefix and snake_case throughout, with a predictable verb_noun structure for most tools. A few tools (e.g., mistral_embeddings, mistral_ocr, mistral_chat_completion) use noun-based names, slightly breaking the pattern but remaining readable.
With 43 tools, the set is heavy; while the breadth of the Mistral platform justifies many tools, it exceeds typical MCP server scope. Some consolidation might be possible (e.g., file download and signed URL), but each tool maps to a distinct API endpoint.
Covers CRUD for agents, conversations, libraries, files, and job management, plus core AI operations like completions, embeddings, OCR, moderation, and transcription. Notable gap: no tools to manage documents within libraries (add/remove/list documents), and some lifecycle operations (e.g., batch job deletion) are missing.
Maintenance
Related MCP Connectors
Image and video AI tools and your own pipelines, run from any AI assistant.
Connect assistants to your workspace knowledge, skills, and work tools.
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Find and call verified APIs from any AI assistant, with free trial calls and previewed writes.
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables AI assistants to access Venice AI's capabilities including chat with open-source models, image generation, text-to-speech, embeddings, and API key management.13151 npm6MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to generate 3D models, textures, and images via the Meshy API using natural language, supporting text-to-3D, image-to-3D, remeshing, retexturing, rigging, and animation workflows.3631 npm1MIT
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with access to OpenAPI specifications, enabling API discovery, schema retrieval, and direct API execution with support for OAuth 2.0 and other authentication methods.8 npm1MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to query hundreds of models across OpenAI, Google, and OpenRouter, with model discovery, deep-research jobs, and image generation.103MIT