> 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="https://4091897493-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2QF90YKjb0mULStqbTyr%2Fuploads%2Fir6BttZvW3xAChIz49zH%2Fmistral-connectors.jpg?alt=media&amp;token=6ee17baf-816b-454d-a175-eea594b006cb" 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="https://4091897493-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2QF90YKjb0mULStqbTyr%2Fuploads%2FYoOgj0wXY61h2mamLN89%2Fmistral-add-connector.jpg?alt=media&amp;token=4b7535b1-deee-4fa8-a52a-332f31625667" 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="https://4091897493-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2QF90YKjb0mULStqbTyr%2Fuploads%2FsVqvH1et5eanxo8lV8qA%2Foauth-login-01.jpg?alt=media&amp;token=e0547654-69cf-4d95-876b-0c87374543fb" 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="https://4091897493-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2QF90YKjb0mULStqbTyr%2Fuploads%2FL335sUOaVt19QRJZMV0m%2Foauth-login-02.jpg?alt=media&amp;token=cdeebe8c-d2dd-4ba1-bd66-2d977ddc4470" 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="https://4091897493-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2QF90YKjb0mULStqbTyr%2Fuploads%2FBRW76oLYx6XdAXsWa8Ox%2Fmistral-cards-connected.jpg?alt=media&amp;token=172476cc-e2c0-4ce8-b117-eb297895d118" 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="https://4091897493-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2QF90YKjb0mULStqbTyr%2Fuploads%2FKiumpJq0T9FYEQdtRSjd%2Fmistral-use-connector.jpg?alt=media&amp;token=88abd30e-4d21-4cf1-96e4-93e2d86aa97e" alt=""><figcaption><p>MCP Card Selection in The Chat</p></figcaption></figure>

The Chat now has access to your Cards space.
