Mistral ai MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Mistral ai MCP or direct API to generate text, summarize documents, classify content, and answer complex questions through natural language.

Mistral ai logoMistral ai
Api Key

Mistral ai is a research lab offering cutting-edge open-source language models and developer APIs. It empowers teams to add state-of-the-art natural language capabilities to any app or workflow.

54 Tools

Try Mistral ai now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Mistral ai
Try asking
TOOLS

Supported Tools

Every Mistral ai action and event your agent gets out of the box.

Append to conversation

Tool to append new entries to an existing conversation in Mistral AI.

Create Agent

Tool to create a new AI agent with custom configuration (Beta).

Create Agents Completion

Tool to generate completions using a Mistral AI agent with specific instructions and tools.

Create Audio Transcription

Transcribe audio files to text using Mistral AI's Voxtral models.

Create Chat Completion

Generate conversational responses from Mistral AI models.

Create Chat Moderation

Tool to classify chat content for moderation purposes across 9 categories.

Create Embeddings

Tool to generate vector embeddings for input text using Mistral AI embedding models.

Create FIM Completion

Generate code completions using fill-in-the-middle functionality.

Create library

Tool to create a new document library.

Create library share

Create or update sharing permissions for a library.

Create Moderation

Tool to classify text content for moderation purposes across 9 categories.

Create OCR

Extract text and structured data from images and documents using Mistral AI's OCR capabilities.

Create or Update Agent Alias

Tool to create or update an agent version alias.

Delete agent

Permanently deletes an agent by its ID (Beta feature).

Delete Conversation

Tool to delete a conversation by its ID (Beta).

Delete File

Delete a file by its ID from Mistral AI.

Delete library

Permanently deletes a library and all of its documents from Mistral AI.

Delete library document

Permanently deletes a document from a Mistral AI library.

Delete library share

Remove sharing permissions for a library from a user, workspace, or organization.

Download File

Download the content of a previously uploaded file from Mistral AI.

Get Agent

Tool to retrieve details of a specific Mistral AI agent by its ID.

Get Agent Version

Retrieve a specific version of an agent (Beta).

Get Conversation

Tool to retrieve details of a specific conversation.

Get Conversation History

Retrieve the full history of a conversation in Mistral AI.

Get Conversation Messages

Retrieve all messages from a Mistral AI conversation.

Get document extracted text URL

Retrieve a signed URL to download the extracted text from a document in a Mistral AI library.

Get document signed URL

Get a signed URL to download a document from a Mistral AI library.

Get Document Status

Retrieve the processing status of a document in a Mistral AI library.

Get Document Text Content

Retrieve the extracted text content of a specific document from a Mistral AI library (Beta).

Get File Signed URL

Get a time-limited signed URL for downloading a file from Mistral AI.

List Fine Tuning Jobs

List fine-tuning jobs with optional filtering and pagination.

Get library

Retrieve detailed information about a specific library.

Get Library Document

Retrieve metadata for a specific document in a Mistral AI library.

Get Model

Tool to retrieve detailed information about a specific Mistral AI model by its ID.

List agent aliases

Retrieve all aliases for an agent version.

List Agents

Tool to list all configured agents (Beta).

List Agent Versions

List all versions of a specific agent.

List Batch Jobs

Tool to retrieve a list of all batch jobs with optional filtering and pagination.

List Conversations

List all created conversations (Beta).

List Files

Tool to list all files available to the user.

List libraries

List all document libraries accessible to your organization.

List Library Documents

List all documents in a Mistral AI document library.

List library shares

List all sharing permissions for a document library.

List Models

Tool to retrieve all available Mistral AI models including base models and fine-tuned models.

Reprocess document

Reprocess a document in a Mistral AI library (Beta).

Restart Conversation

Tool to restart a conversation from a specific point (Beta).

Retrieve File

Retrieve metadata of a file uploaded to Mistral AI.

Start Conversation

Tool to start a new conversation with a Mistral AI agent or base model.

Update Agent

Tool to update an existing agent's configuration.

Update agent version

Tool to update the current version of an agent (Beta).

Update library

Tool to update an existing document library's properties.

Update library document

Update the metadata of a document in a Mistral AI library.

Upload File

Upload a file to Mistral AI for use in fine-tuning, batch processing, or OCR.

Upload Library Document

Upload a document to a Mistral AI library for use with RAG-enabled agents.

SETUP GUIDE

Connect Mistral ai MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["mistral_ai"],
  mcp: true,
});
Create a session scoped to Mistral ai and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Summarize the latest research breakthroughs from Mistral AI.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Mistral ai request
SETUP GUIDE

Connect Mistral ai API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["mistral_ai"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Mistral ai
3

Run Mistral ai tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Summarize the latest research breakthroughs from Mistral AI." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Mistral ai tool calls through the session, and print the final answer

Why Use Composio?

AI Native Mistral ai Integration

  • Supports both Mistral ai MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for text generation, summarization, and advanced NLP tasks

Managed Auth

  • Centralized API key management with secure storage
  • Easy credential rotation, scoping, and audit
  • No more hard-coding keys or worrying about leaks

Agent Optimized Design

  • Schema-tuned tools designed for high success rates with language models
  • Comprehensive logs and error tracking for every API call
  • Continuously improving reliability based on real-world usage

Enterprise Grade Security

  • Role-based permissions for agent and user access to Mistral ai
  • Least-privilege API key usage and granular audit trails
  • Full visibility and control for compliance and review

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Yes, Mistral ai requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Yes. Composio is SOC 2 Type II compliant and is built to keep your Mistral ai connection and credentials secure. OAuth tokens and API keys are encrypted, and sensitive customer data is protected at rest and in transit.

Composio also undergoes independent security testing and continuously monitors its systems for security threats. You can review the latest reports and policies in the Composio Trust Center.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Create the key in your Mistral ai account settings, then paste it once on Composio's connection page. Composio stores it encrypted and uses it only for the Mistral ai actions your agent runs. Nobody else in your workspace can read it, and you can revoke it inside Mistral ai at any time.

When you connect a Mistral ai account through Composio, every action runs under that account, so anything the agent creates, sends, or changes shows up in Mistral ai as done by you. Keep an approval step in your prompt for actions with side effects, such as sending or deleting, and have the agent draft first.

Whatever the credentials you connect allow inside Mistral ai. If Mistral ai lets you scope a key to specific permissions, create a scoped one so the agent can only do what you intend. You can revoke the key inside Mistral ai at any time.

Yes. Composio supports multiple connected accounts for the same app, and that works in Claude, ChatGPT, or any other assistant you connect through Composio. Give each Mistral ai connection a name such as work or personal, and the assistant uses the one you mention in the request. Each account keeps its own credentials and nothing is merged.

The connection stops working the moment Mistral ai rejects the old key. Create a new key in Mistral ai and reconnect the account from the Composio dashboard or by asking your agent to reconnect Mistral ai. Nothing else changes.

Composio's free Hobby plan includes 100,000 tool calls per month with no credit card, which covers most personal Mistral ai use. Paid plans add higher limits and team features. Your Mistral ai plan and its API limits still apply as usual.

Built-in connectors usually give one AI access to a limited set of apps. Many people use Composio because it lets their AI connect to more apps than it normally supports, or connect to multiple accounts for the same app (e.g. connect Claude to multiple Mistral ai accounts).

With Composio, you connect Mistral ai once and then use it across different AI assistants without setting it up separately in each one. Connect your apps to Composio once, then connect Composio to whichever AI you use, whether that's Claude, ChatGPT, Hermes, or your own custom assistant.

Start with Mistral ai.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Mistral ai tool your agent needs.Free to start.

Start building