> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Mistral AI in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/mistral-ai
Last updated: 2026-11-24

Share Mistral AI with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 25 tools (17 read-only).

---

To give your team Mistral AI in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Mistral AI integration in a Metorial portal, and each person connects with an API key. Agents can generate chat completions, embeddings, and structured outputs using Mistral AI's language models. The integration has 25 tools, 17 read-only, 4 write and 4 destructive, plus 3 triggers.

**What you will learn**

- How an admin shares Mistral AI in a portal and how each person connects
- What Mistral AI asks for when you connect, and where to find it
- How to keep the 17 read-only tools and reject the other 8

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API key from Mistral AI for each person, or one for a shared connection
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in method

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Key** | API token | `token` |

### API Key

To connect, a person enters:

- `token`: Mistral AI API key from https://console.mistral.ai

## Admin: share Mistral AI in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Mistral AI. For how members connect, choose **Each person connects** so everyone enters their own API key, or **Shared connection** to enter one API key for everyone.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Mistral AI.

4. **Choose who gets it**

   Add the access groups that should see Mistral AI. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Mistral AI integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search "mistral ai"
```

## Employee: connect Mistral AI

### In the portal

1. **Open Mistral AI in the catalog**

   Sign in to your portal and open Mistral AI. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. In the setup window, enter your API key (token).

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search "mistral ai"
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. 

### Add it to your AI client

`metorial install` adds your Mistral AI connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list "mistral ai"
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 17 read-only tools, such as `get_file` and `get_model`, and lose the 4 write tools, such as `upload_file` or `generate_speech`, and the 4 destructive tools, such as `delete_file` or `delete_model`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list "mistral ai"
metorial tools <integration-id>
metorial call <integration-id> extract_document -d '{"documentType":"document_url"}'
```

`metorial tools` lists the 25 tools, minus any you rejected. `extract_document` needs `documentType`, so replace the placeholders. It extracts text, tables, and images from documents using Mistral OCR.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (17)

- `chat_completion`: Generate a chat completion using Mistral AI models. Needs `model` and `messages`.
- `create_embeddings`: Generate dense vector embeddings for text or code. Needs `input`.
- `code_completion`: Generate code using fill-in-the-middle (FIM) completion. Needs `prompt`.
- `moderate_content`: Analyze plain text or chat messages for harmful content across multiple safety categories.
- `agent_completion`: Send messages to a Mistral AI agent and get a completion. Needs `agentId` and `messages`.
- `list_files`: List files uploaded to the Mistral AI platform.
- `list_fine_tuning_jobs`: List all fine-tuning jobs in your workspace.
- `list_batch_jobs`: List batch inference jobs.
- `extract_document`: Extract text, tables, and images from documents using Mistral OCR. Needs `documentType`.
- `list_models`: List available Mistral AI models including both Mistral-provided and user fine-tuned models.
- `get_fine_tuning_job`: Retrieve the current status and details of a fine-tuning job. Needs `jobId`.
- `get_batch_job`: Retrieve the status and details of a batch inference job. Needs `jobId`.
- `get_file`: Retrieve metadata and a signed download URL for a file uploaded to Mistral AI. Needs `fileId`.
- `get_model`: Retrieve metadata for a specific Mistral AI model, including capabilities, context length, aliases, ownership, and fine-tuned model details when available. Needs `modelId`.
- `transcribe_audio`: Transcribe an audio file with Mistral AI's audio transcription API. Needs `sourceType`.
- `download_file`: Download file content from Mistral AI and return it as a Slate attachment. Needs `fileId`.
- `list_voices`: List available Mistral AI speech voices, excluding sample audio data.

### Write tools (4)

- `create_fine_tuning_job`: Create a fine-tuning job to customize a Mistral model on your training data. Needs `model` and `trainingFiles`.
- `create_batch_job`: Create a batch inference job for processing multiple requests asynchronously at reduced cost. Needs `endpoint`.
- `generate_speech`: Generate speech audio from text using Mistral AI. Needs `input`.
- `upload_file`: Upload a file to Mistral AI for OCR, batch inference, fine-tuning datasets, or later transcription by file ID. Needs `filename`.

### Destructive tools (4)

- `delete_file`: Delete a file from the Mistral AI platform. Needs `fileId`.
- `cancel_fine_tuning_job`: Cancel a running or queued fine-tuning job. Needs `jobId`.
- `cancel_batch_job`: Cancel a running or queued batch inference job. Needs `jobId`.
- `delete_model`: Delete a fine-tuned model from your Mistral AI workspace. Needs `modelId`.

## Triggers

Mistral AI has 3 triggers, which fire on events in Mistral AI:

- `inbound_webhook`
- `fine_tuning_job_status`: Triggers when a fine-tuning job changes status (e.g., starts running, completes, or fails).
- `batch_job_status`: Triggers when a batch inference job changes status (e.g., starts running, completes, or fails).

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Mistral AI there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Mistral AI on metorial.com](https://metorial.com/integrations/mistral-ai): the integration overview