# Mistral AI

Le Chat reads remote MCP servers from custom connectors configured in your organization. Add Cakewalk's gateway once and it surfaces across your organization's Le Chat workspace.

## Install Method

Custom form in Le Chat's Connectors panel. Le Chat auto-detects authentication via OAuth 2.1 with Dynamic Client Registration, which Cakewalk's gateway supports out of the box.

## Step 1: Open the Connectors Panel

1. Open Le Chat at <https://chat.mistral.ai> and sign in.
2. Open the toggle panel on the left.
3. Expand the **Intelligence** menu.
4. Click **Connectors**.

## Step 2: Add the Cakewalk Gateway

1. Click **+ Add Connector**.
2. In the directory popup, select the **Custom MCP Connector** tab.
3. Fill the form:
   * **Connector name:** Cakewalk (no spaces or special characters).
   * **Connection server:** `https://mcp-gateway.getcakewalk.io/mcp`
   * **Description:** optional, human readable.
   * **Authentication method:** leave on auto. Le Chat detects OAuth 2.1 with Dynamic Client Registration from Cakewalk's discovery endpoints.
4. Click **Connect**.

## Step 3: Authenticate

Le Chat opens the OAuth consent flow in your browser. Sign in with your Cakewalk account and approve the Connection. Le Chat stores the credentials on the organization's connector record.

## Verifying It Works

In a Le Chat conversation, ask the model to list its available tools. The tools surfaced through the Cakewalk gateway appear in the response. In Cakewalk, the Mistral card on **My Agents** flips to **Connected** after the first agent call.

## Account Requirements

All Le Chat Free, Pro, and Student account owners are Admin by default and can create connectors. Connectors appear in your organization's list of connections, ready for the team to enable.

## Troubleshooting

* **Authentication method does not auto-detect OAuth:** the auto-detection probes Cakewalk's `/.well-known/oauth-authorization-server` discovery endpoint. If the probe fails (network filter, proxy), switch the dropdown to OAuth 2.1 manually.
* **OAuth flow returns to an error page:** copy the full callback URL from your browser's address bar and paste it back into the prompt at chat.mistral.ai.

## Learn more

* [Configuring a custom connector](https://help.mistral.ai/en/articles/393572-configuring-a-custom-connector) from Mistral AI.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.cakewalk.security/docs/ai-agent-access/connections-and-integrations/agent-platforms/mistral-ai.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
