Connect Mistral Ai to AI agents

Connect Mistral Ai to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

chat_completion

Chat Completion

Generate a chat completion using Mistral AI models. Supports multi-turn conversations with system, user, assistant, and tool messages. Can use function calling, structured JSON output, and safety prompts.

create_embeddings

Create Embeddings

Generate dense vector embeddings for text or code. Useful for semantic search, retrieval-augmented generation (RAG), clustering, and content similarity comparison. Supports both text embeddings (mistral-embed) and code embeddings (codestral-embed).

code_completion

Code Completion (FIM)

Generate code using fill-in-the-middle (FIM) completion. Provide a code prompt and optional suffix to generate code that fits between them. Ideal for code insertion, auto-completion, and infilling tasks.

moderate_content

Moderate Content

Analyze plain text or chat messages for harmful content across multiple safety categories. Returns boolean flags and confidence scores for categories including sexual content, hate/discrimination, violence, dangerous content, self-harm, health/financial/legal misinformation, and PII detection.

agent_completion

Agent Completion

Send messages to a Mistral AI agent and get a completion. Agents combine language models with built-in connectors for code execution, web search, image generation, and document libraries. Agents are created in the Mistral AI console.

list_files

List Files

List files uploaded to the Mistral AI platform. Files are used for fine-tuning datasets, batch inference inputs, and OCR processing.

create_fine_tuning_job

Create Fine-Tuning Job

Create a fine-tuning job to customize a Mistral model on your training data. Upload JSONL training files first using the file management tools, then reference their IDs here. Supports configurable hyperparameters including learning rate, training steps, and epochs.

delete_file

Delete File

Delete a file from the Mistral AI platform. This permanently removes the file and cannot be undone.

cancel_fine_tuning_job

Cancel Fine-Tuning Job

Cancel a running or queued fine-tuning job. Cannot cancel already completed or failed jobs.

list_fine_tuning_jobs

List Fine-Tuning Jobs

List all fine-tuning jobs in your workspace. Returns job statuses, models, and configuration details.

cancel_batch_job

Cancel Batch Job

Cancel a running or queued batch inference job.

list_batch_jobs

List Batch Jobs

List batch inference jobs. Optionally filter by status.

extract_document

Extract Document (OCR)

Extract text, tables, and images from documents using Mistral OCR. Supports PDFs and images. Returns structured content in markdown format with optional table formatting (markdown or HTML). Can extract headers, footers, and hyperlinks.

list_models

List Models

List available Mistral AI models including both Mistral-provided and user fine-tuned models. Returns model details such as capabilities, context length, aliases, and ownership.

get_fine_tuning_job

Get Fine-Tuning Job

Retrieve the current status and details of a fine-tuning job. Use this to monitor training progress, check for completion, or get the resulting fine-tuned model ID.

create_batch_job

Create Batch Job

Create a batch inference job for processing multiple requests asynchronously at reduced cost. Upload a JSONL input file first, then reference it here. Supports chat completions, embeddings, FIM, moderation, OCR, and more.

get_batch_job

Get Batch Job

Retrieve the status and details of a batch inference job. Use this to monitor progress, check completion, and get output/error file IDs.

delete_model

Delete Fine-Tuned Model

Delete a fine-tuned model from your Mistral AI workspace. This permanently removes the model and cannot be undone. Only works on user-created fine-tuned models, not Mistral-provided models.

get_file

Get File

Retrieve metadata and a signed download URL for a file uploaded to Mistral AI.

get_model

Get Model

Retrieve metadata for a specific Mistral AI model, including capabilities, context length, aliases, ownership, and fine-tuned model details when available.

transcribe_audio

Transcribe Audio

Transcribe an audio file with Mistral AI's audio transcription API. Supports public file URLs, Mistral file IDs, or inline base64 audio, with optional language hints, diarization, context bias, and timestamps.

download_file

Download File

Download file content from Mistral AI and return it as a Slate attachment. Use this for batch output/error files, uploaded documents, or other downloadable files.

generate_speech

Generate Speech

Generate speech audio from text using Mistral AI. Returns the generated audio as a Slate attachment instead of inline base64.

list_voices

List Voices

List available Mistral AI speech voices, excluding sample audio data. Use a returned voiceId with Generate Speech when a voice is required.

upload_file

Upload File

Upload a file to Mistral AI for OCR, batch inference, fine-tuning datasets, or later transcription by file ID. Accepts plain text content or base64-encoded bytes.

More integrations teams use with Mistral Ai

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Subscribe to real-time change events via Change Data Capture and Platform Events. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Confluence

Create, read, update, and delete pages, blog posts, comments, and attachments in Confluence spaces. Manage spaces, permissions, labels, and content restrictions. Search content using Confluence Query Language (CQL). Upload and download file attachments with versioning. Manage users, groups, and group memberships. Create and manage whiteboards, databases, folders, and templates. View and update inline tasks. Access audit logs. Listen for webhooks on page, blog, comment, attachment, space, label, and user events.

Bitbucket

Manage Git repositories, pull requests, and CI/CD pipelines on Bitbucket Cloud. Create, fork, and configure repositories within workspaces and projects. Create, review, approve, merge, and decline pull requests with inline code comments. Browse source code, list commits, and manage branches and tags. Track issues with the built-in issue tracker. Trigger, monitor, and manage Bitbucket Pipelines. List workspace members, configure repository default reviewers and branch restrictions, create and manage repository webhooks, and search code across repositories.

Technical notes for Mistral Ai

Generate chat completions, embeddings, and structured outputs using Mistral AI's language models. Process documents with OCR to extract text, tables, and images from PDFs. Transcribe audio with speaker diarization. Generate code with specialized coding models. Create and manage AI agents with built-in connectors for code execution, web search, image generation, and document retrieval. Moderate content for safety across multiple languages. Fine-tune models by uploading training data and managing fine-tuning jobs. Generate text embeddings for semantic search and RAG. Perform batch inference for async bulk processing. Manage files and list available models.

Connect Mistral Ai to production AI agents

See how Metorial gives Mistral Ai access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Mistral Ai to AI agents with Metorial.

  1. Can Metorial connect Mistral Ai to AI agents?
    Yes. Metorial connects AI agents to Mistral Ai through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.