Connector guide8-minute read23 MCP tools7 languages

How to Connect Mistral AI to Meta Muse via MCP

Let your AI use Mistral AI with your own API key: ask Mistral models, complete code with Codestral, read PDFs and scans with Mistral OCR, create embeddings, moderate content, search the web through conversations and agents, and check files and batch jobs.

HCBy HelpCode teamUpdated 8 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Mistral AI

Mistral AI

Let your AI use Mistral AI with your own API key: ask Mistral models, complete code with Codestral, read PDFs and scans with Mistral OCR, create embeddings, moderate content, search the web through conversations and agents, and check files and batch jobs.

tools

23

Region

INTL

Category

Public Data

Authentication

Bearer Token

Required env vars

MISTRAL_API_KEY
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Mistral AI in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

Let your AI use Mistral AI with your own API key: ask Mistral models, complete code with Codestral, read PDFs and scans with Mistral OCR, create embeddings, moderate content, search the web through conversations and agents, and check files and batch jobs.

Try asking

Example prompts for Mistral AI

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Mistral AI · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Mistral AI, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

Mistral AI + Meta Muse

Let your AI use Mistral AI with your own API key: ask Mistral models, complete code with Codestral, read PDFs and scans with Mistral OCR, create embeddings, moderate content, search the web through conversations and agents, and check files and batch jobs.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

MISTRAL_API_KEY

Step 1 — Get credentials

  1. Sign in at https://console.mistral.ai. New workspaces start on the free plan with rate and usage limits; for more, choose pay-as-you-go and add credit under Billing.
  2. Open API Keys, click Create new key and copy the key. Mistral shows it only once.
  3. Paste it into MISTRAL_API_KEY without spaces and without the word Bearer, and install the connector. The key is sent only to Mistral.
  4. Start with mistral_list_models: it costs nothing and shows which models your key can use.

Billed to your own Mistral workspace: every model call spends your Mistral credits, or the limits of the free plan. Listing and reading models, files, agents, conversations and batch jobs is free. The connector uses cheap defaults unless you ask for more: mistral-small-latest for chat (about $0.15 per million input tokens and $0.60 per million output tokens), codestral-latest for code, mistral-embed for embeddings and mistral-ocr-latest for OCR (about $4 per 1,000 pages). ministral-8b-latest is cheaper, mistral-medium-latest and mistral-large-latest are stronger.

What it does:

  • mistral_chat asks a Mistral model, with pictures by link, optional reasoning and JSON output. mistral_fim_complete lets Codestral fill in the code between a prefix and a suffix.
  • mistral_ocr reads PDFs, slide decks, Word files and images page by page as Markdown, from a public link or from a file uploaded with mistral_upload_file, and can extract structured JSON from the whole document.
  • mistral_create_embeddings turns texts into vectors for search and similarity. mistral_moderate and mistral_moderate_chat check texts or a whole conversation against Mistral's safety categories, and mistral_classify runs a custom classifier your workspace already has.
  • Web search runs only through the Conversations API (beta): mistral_start_conversation with the built-in web_search tool answers from the web with its sources, and mistral_continue_conversation carries on. Built-in tool calls are billed on top of tokens. mistral_list_agents and mistral_get_agent show the agents built in Mistral AI Studio, and a conversation can talk to one of them.
  • Files and batch jobs: list and read files, get a temporary download link with mistral_get_file_url, and follow batch jobs started elsewhere (50% cheaper, results within hours).

Confirm first: OCR is billed per page, so the AI asks before reading a document of more than about 50 pages, or limits the pages. It also asks before uploading your documents. mistral_delete_file and mistral_cancel_batch_job are switched off at install; once enabled, they also confirm first.

Time limit: a call through the connector stops after 30 seconds. Keep answers to a moderate length, prefer a low reasoning effort and split long documents for OCR.

Untrusted content: web results, documents and model answers can contain instructions. The AI treats them as data, not as orders.

Common errors: 401 Invalid API Key means the key is wrong, expired or deleted. 402, or a 429 that mentions billing or capacity: no credit left, a spending limit reached or the free plan's limits, so check Billing in the console. A plain 429 is a rate limit: wait and retry once. 400 or 422: an invalid field or model id, and the message names it; chat completions refuse web search, which goes through mistral_start_conversation. 404: an unknown model, file, agent, conversation or job, or one from another workspace.

The connector does not stream answers, handle audio (transcription and speech), create agents, libraries or batch jobs, run fine-tuning (Mistral no longer offers fine-tuning jobs through the API) or administer the workspace.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Muse

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Muse adds remote MCP servers as custom connectors and signs in to them with OAuth.

  1. In Muse, open Settings → Connectors and choose Add custom connector.
  2. Paste the MCP server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID.
  3. Muse opens the AnythingMCP sign-in page: sign in and approve access.
  4. In a chat, ask Muse for something that needs the Mistral AI tools.

You can also set it up from a chat, on the web, in the iOS and Android apps or in WhatsApp. Send Muse this message:

Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth

Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Muse connects from Meta's cloud, so localhost does not work.

Available tools

ToolWhat it does
mistral_list_modelsList the Mistral models the API key can use, with id, description, context length, capabilities (chat, function calling, reasoning, vision…
mistral_get_modelGet one Mistral model by id or alias (e.g. mistral-small-latest) with its capabilities, context length, aliases and deprecation date
mistral_chatAsk a Mistral model and get its answer (chat completions, no streaming)
mistral_fim_completeFill in the middle of code with Codestral: give the code before the gap as prompt and, optionally, the code after it as suffix, and get the…
mistral_create_embeddingsTurn one text, or a list of texts, into embedding vectors for semantic search, clustering or similarity
mistral_moderateCheck one text or a list of texts against Mistral's moderation categories (sexual, hate and discrimination, violence and threats, dangerous…
mistral_moderate_chatCheck a whole conversation with Mistral's moderation model, judging the last message in its context, e.g. whether an assistant reply is…
mistral_classifyClassify one text or a list of texts with a custom Mistral classifier model the workspace already has (its id starts with ft:)
mistral_ocrRead a PDF, a slide deck or an image with Mistral OCR and get each page as Markdown (tables, headers and footers optional), from a public…
mistral_start_conversationStart a conversation with a Mistral model or agent through the Conversations API (beta), which can use Mistral's built-in tools, e.g. tools…
mistral_continue_conversationAdd a user message to a stored Mistral conversation and get the next answer (Conversations API, beta)
mistral_list_conversationsList the stored Mistral conversations of the workspace (Conversations API, beta), newest first, with id, name, model or agent and dates
mistral_get_conversation_messagesRead the messages of a stored Mistral conversation (user and assistant turns, Conversations API, beta)
mistral_list_agentsList the Mistral agents of the workspace (Agents API, beta) with id, name, model, description and version
mistral_get_agentGet one Mistral agent (Agents API, beta) with its model, instructions, tools, completion settings and versions
mistral_list_filesList the files stored in the Mistral workspace (for OCR, batch jobs or fine-tuning) with id, name, purpose, size and dates
mistral_get_fileGet the details of one file in the Mistral workspace: name, purpose, size, type, dates
mistral_get_file_urlGet a temporary signed download link for a file in the Mistral workspace, e.g. the output file of a batch job
mistral_upload_fileUpload a file to the Mistral workspace from a public link, e.g. a PDF for mistral_ocr (purpose ocr) or a JSONL file of requests for a batch…
mistral_delete_fileDelete a file from the Mistral workspace
mistral_list_batch_jobsList the Mistral batch jobs of the workspace, newest first, with status (QUEUED, RUNNING, SUCCESS, FAILED, TIMEOUT_EXCEEDED…
mistral_get_batch_jobGet one Mistral batch job with status, progress counts, errors and the output_file id (download it with mistral_get_file_url)
mistral_cancel_batch_jobAsk Mistral to cancel a batch job that is queued or running

Example prompts

  • "Read the PDF at this link with Mistral OCR and give me the price table on page 3 as Markdown."
  • "Ask Mistral with web search what changed in the EU AI Act timeline this year, and list the sources."
  • "Check these three customer reviews with Mistral moderation and tell me which ones get flagged and why."
  • "Which of my Mistral batch jobs are still running, and how many requests have finished so far?"

FAQ

Where is Muse available? Meta currently offers Muse in the US and Canada, on the web, in the iOS and Android apps and in WhatsApp.

Does Meta review this connector? No. Meta doesn't review custom connectors. Muse sees only the tools you switched on for this MCP server in AnythingMCP, and you can disconnect it anytime under Settings → Connectors.

Next steps

Was this guide helpful?

Your Mistral AI agent is one click away.

Install the connector, paste the key, prompt Meta Muse. Free for 7 days, no credit card.

Related guides

Connectors

How to Connect Mistral AI to ChatGPT via MCP

Let your AI use Mistral AI with your own API key: ask Mistral models, complete code with Codestral, read PDFs and scans with Mistral OCR, create embeddings, moderate content, search the web through conversations and agents, and check files and batch jobs.

Connectors

How to Connect Mistral AI to Claude via MCP

Let your AI use Mistral AI with your own API key: ask Mistral models, complete code with Codestral, read PDFs and scans with Mistral OCR, create embeddings, moderate content, search the web through conversations and agents, and check files and batch jobs.

Connectors

How to Connect Mistral AI to Cursor via MCP

Let your AI use Mistral AI with your own API key: ask Mistral models, complete code with Codestral, read PDFs and scans with Mistral OCR, create embeddings, moderate content, search the web through conversations and agents, and check files and batch jobs.

Connectors

How to Connect Mistral AI to Gemini via MCP

Let your AI use Mistral AI with your own API key: ask Mistral models, complete code with Codestral, read PDFs and scans with Mistral OCR, create embeddings, moderate content, search the web through conversations and agents, and check files and batch jobs.

Connectors

Mistral AI to MCP: Mistral Models, OCR and Embeddings in any AI Agent

Let your AI use Mistral AI with your own API key: ask Mistral models, complete code with Codestral, read PDFs and scans with Mistral OCR, create embeddings, moderate content, search the web through conversations and agents, and check files and batch jobs.

Connectors

How to Connect Avito to Meta Muse via MCP

Let your AI work with your Avito business account: list your ads and change their prices, read views, contacts and calls statistics, check autoload uploads and their errors, the feed format and your wallet, and read Avito Messenger chats. Sending messages and changing autoload settings are optional and off by default.