Learn API

par foreverlearning.ai · ai.foreverlearning/learn

Build with the Learn API: its guide, contract, verified kits, and a capped test turn with your key.

À installer

À propos de Learn API

Learn API est un connecteur IA (serveur MCP) publié par foreverlearning.ai. Il s'installe sur ton ordinateur. Une fois branché, Claude, ChatGPT ou Gemini peuvent l'utiliser dans une conversation normale.

Description de l'éditeur, en anglais :

Build with the Learn API: its guide, contract, verified kits, and a capped test turn with your key.

Connecte-le à ton IA

Ce connecteur tourne sur ton ordinateur. Il te faut Node.js installé.

Les applications ChatGPT et Gemini n'acceptent que les connecteurs en ligne : celui-ci s'utilise avec Claude (application de bureau ou Claude Code), Cursor ou un autre outil compatible.

Dans Claude Code

claude mcp add --transport stdio --env FOREVERLEARNING_API_KEY=TA_VALEUR --env FOREVERLEARNING_BASE_URL=TA_VALEUR --env FOREVERLEARNING_ASSIGNMENT_ID=TA_VALEUR learn -- npx -y @foreverlearning/learn-mcp

Dans Claude Desktop ou Cursor

Fichier de configuration MCP
{
  "mcpServers": {
    "learn": {
      "command": "npx",
      "args": [
        "-y",
        "@foreverlearning/learn-mcp"
      ],
      "env": {
        "FOREVERLEARNING_API_KEY": "TA_VALEUR",
        "FOREVERLEARNING_BASE_URL": "TA_VALEUR",
        "FOREVERLEARNING_ASSIGNMENT_ID": "TA_VALEUR"
      }
    }
  }
}

Remplace TA_VALEUR par tes propres informations :

  • FOREVERLEARNING_API_KEY (facultatif) : Your Learn server key, from My APIs in the developer console. Needed only for test turns; the docs tools work without it.
  • FOREVERLEARNING_BASE_URL (facultatif) : The API host, ending in /v1.
  • FOREVERLEARNING_ASSIGNMENT_ID (facultatif) : Your Learn assignment id, if your key has more than one.

Les noms des menus peuvent changer un peu avec les mises à jour de chaque application.

Connecteurs similaires