> For the complete documentation index, see [llms.txt](https://doc.cards-microlearning.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.cards-microlearning.com/english/ai-agents-and-mcp/mistral.md).

# Mistral

### Add the connector

To use MCP Cards in Mistral, go to the app (<https://chat.mistral.ai/chat>), then use the "Context" > "Connectors" menu.

<figure><img src="/files/AAZd9zYUPNUAAW7Mdq3s" alt=""><figcaption><p>List of Mistral connectors</p></figcaption></figure>

On this page, click the "Add a connector" button. A modal window will open allowing you to add a connector. Click the "Custom MCP Connector" tab.

You can then enter the MCP information:

* Name: Cards
* Connector Server: `https://api.cards-microlearning.com/mcp/cards`

<figure><img src="/files/iHbXMu0jiE6tqJdrefRx" alt=""><figcaption><p>Add the connector</p></figcaption></figure>

Mistral will then automatically detect the "OAuth 2.1" authentication method.

Click "Login" and you will be redirected to the Cards OAuth login page.&#x20;

<figure><img src="/files/VLFSBLZsadWyZlUjz9v9" alt=""><figcaption><p>OAuth connexion screen</p></figcaption></figure>

Enter your email address and password, and confirm. A second screen will display your Cards accounts. Select the one for which you wish to activate the connection:

<figure><img src="/files/V363bXngtU41RAVNGWZM" alt=""><figcaption><p>Select the space</p></figcaption></figure>

Once you have validated, you will be redirected to Mistral and will receive a connection confirmation:

<figure><img src="/files/iT1dKAt7aXvbfnIIRmx5" alt=""><figcaption><p>Cards MCP connected to Mistral</p></figcaption></figure>

Once the configuration is complete, the MCP is ready to be used in Mistral.

### Usage

When you start a new conversation, you have the option to choose Cards as your tool. Click on the "+" in the bottom left corner, and you will be able to select Cards as your connector.&#x20;

<figure><img src="/files/CoTTisBrJMytQTKo2mge" alt=""><figcaption><p>MCP Card Selection in The Chat</p></figcaption></figure>

The Chat now has access to your Cards space.
