# Connect AI Agent

**Purpose**

Connect your AI assistant (e.g. Claude or ChatGPT) to LearnCard to enable personalized learning experiences. Your AI will be able to access your learning context, ask questions about your background, and save learning session summaries as verifiable credentials.

**LearnCard MCP Server URL (for reference):**

```
https://mcp.learncard.ai/
```

Below are instructions for connecting the LearnCard MCP server with Claude or ChatGPT.

***

## Claude

#### Claude **Pro or higher required**.

{% embed url="<https://www.loom.com/share/a18c5bc1bd8349c5a80d898ecd149eb9>" %}

<details>

<summary>Screenshots of steps</summary>

**Steps:**

1. Go to [https://claude.ai](https://claude.ai/) and sign in.
2. Click your profile picture (bottom-left).

<figure><img src="/files/DYK81R3wz3C0QlW0pfnz" alt=""><figcaption></figcaption></figure>

3. Click `Settings`

<figure><img src="/files/ldRfGBiswp3XJvWlR9CS" alt=""><figcaption></figcaption></figure>

4. Click `Connectors`

<figure><img src="/files/CezmLCX3bxIKvcUuuQ5W" alt=""><figcaption></figcaption></figure>

5. Click `Add custom connector`

<figure><img src="/files/8D7vxHWm9Y7fbLBmK3JN" alt=""><figcaption></figcaption></figure>

6. Enter:

* **Name:** `LearnCard`
* **Remote MCP Server URL:**

  ```
  https://mcp.learncard.ai/
  ```

<figure><img src="/files/liQAewpkqGn18sSgAGeM" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/d6drv22rYHml10A4bgF2" alt=""><figcaption></figcaption></figure>

7. Click `Add`

<figure><img src="/files/V4wIjGGZiOrZpahum74p" alt=""><figcaption></figcaption></figure>

8. Click `Connect` next to the LearnCard custom connector

<figure><img src="/files/mggbrSDyy5HHcDka5OUc" alt=""><figcaption></figcaption></figure>

9. You should be re-directed to learncard.app. Sign in and click `Continue as <Your Name>`

<figure><img src="/files/wTkJBvUb2SHpNczx8H7m" alt=""><figcaption></figcaption></figure>

10. You should be redirected to claude.ai and see a confirmation. The connector will now show `Configure`.

<figure><img src="/files/0gHSWkpkqDKm1FPcEs8s" alt=""><figcaption></figcaption></figure>

11. Now, to confirm Claude has access to the LearnCard connector during live chats, start a new chat with Claude and click this button:

<figure><img src="/files/pY5pFI9l3YxHd8fjqpEu" alt=""><figcaption></figcaption></figure>

12. Make sure the LearnCard connector is enabled. It should be toggled on as shown in the picture below.

<figure><img src="/files/GVlMFWzLCNtzoRpdd7Hh" alt=""><figcaption></figcaption></figure>

13. Now, start a learning session with Claude. If it asks for permission to call the tools provided by the LearnCard connector, it’s working! Allow Claude to use the LearnCard connector and continue your AI tutoring session.

<figure><img src="/files/X1rCnVRO5VpfKTIeS6Mg" alt=""><figcaption></figcaption></figure>

</details>

***

## ChatGPT

#### ChatGPT Plus **or higher required**.

{% embed url="<https://www.loom.com/share/d90d6fbb70c54514a0704f73735818cc>" %}

<details>

<summary>Screenshots of steps</summary>

**Steps:**

1. Go to <https://chatgpt.com/> and sign in.
2. Click your profile picture (bottom-left)

<figure><img src="/files/YcNZeDXz655NnqVkprgg" alt=""><figcaption></figcaption></figure>

3. Click `Settings`

<figure><img src="/files/RlQXhf0xvycAJCZBJiHT" alt=""><figcaption></figcaption></figure>

4. Click `Apps & Connectors`

<figure><img src="/files/jogFznYgGrq3SOicewk8" alt=""><figcaption></figcaption></figure>

5. Scroll down

<figure><img src="/files/KsjdpNEaYNVUbcHEct0J" alt=""><figcaption></figcaption></figure>

6. Click `Advanced settings`

<figure><img src="/files/VYNqo00TlEMnbnd73Iut" alt=""><figcaption></figcaption></figure>

7. Toggle on `Developer mode`

<figure><img src="/files/DOjq16S7XCq8Ftc6UoIB" alt=""><figcaption></figcaption></figure>

8. Click `Back`

<figure><img src="/files/GGVUwxPgKIbPbGEMQbky" alt=""><figcaption></figcaption></figure>

9. Click `Create app`

<figure><img src="/files/RZVtuH9eJPLpGQRIo0zm" alt=""><figcaption></figcaption></figure>

10. Enter:

* **Name:** `LearnCard`
* **MCP Server URL:**

  ```
  https://mcp.learncard.ai/
  ```
* Check `I understand and want to continue`

<figure><img src="/files/izRU8uIOEyxVd8Jfzmq2" alt=""><figcaption></figcaption></figure>

11. Click `Create`

<figure><img src="/files/H3J3MiylXhjFsgBg4W8T" alt=""><figcaption></figcaption></figure>

12. Sign in to learncard.app if prompted, then click `Continue as <Your Name>`

<figure><img src="/files/wTkJBvUb2SHpNczx8H7m" alt=""><figcaption></figcaption></figure>

13. You should be redirected back to chatgpt.com and see a confirmation. The connector will now show a red `Disconnect` button.

<figure><img src="/files/sS7diwnre6byiC857rKc" alt=""><figcaption></figcaption></figure>

14. Start a new chat with ChatGPT and click the `+` button

<figure><img src="/files/rvIDkgcyCtbBqrYZqDvP" alt=""><figcaption></figcaption></figure>

15. Click `More` and select `LearnCard` .

    <figure><img src="/files/WXKumM9jln3Y0fmfuns0" alt=""><figcaption></figcaption></figure>
16. ChatGPT should now show LearnCard attached to the chat input. When you send a message, ChatGPT will request permission to use the connector — that means it’s working! Approve access to continue your AI tutoring session.

<figure><img src="/files/ZwZe1sQADouQOxRTSwOl" alt=""><figcaption></figcaption></figure>

</details>


---

# 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://docs.learncard.com/how-to-guides/connect-systems/connect-ai-agent.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.
