> 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 Chat (<https://chat.mistral.ai/chat>), then use the "Intelligence" > "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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://doc.cards-microlearning.com/english/ai-agents-and-mcp/mistral.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
