Conversations API
MCP server by foreverlearning-engineering Verified · foreverlearning.ai
Gives coding assistants the Learn API guide, OpenAPI contract and verified Build with Learn kits for adding a tutor to an app. Test turns need your server key, and your assistant asks before each one.
Install Conversations API
Built from the published package, never by AI.
claude mcp add conversations-api -- npx -y @foreverlearning/conversations-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"conversations-api": {
"args": [
"-y",
"@foreverlearning/conversations-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"conversations-api": {
"args": [
"-y",
"@foreverlearning/conversations-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"conversations-api": {
"args": [
"-y",
"@foreverlearning/conversations-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add conversations-api -- npx -y @foreverlearning/conversations-mcp{
"mcpServers": {
"conversations-api": {
"args": [
"-y",
"@foreverlearning/conversations-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add conversations-api npx -y @foreverlearning/conversations-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the conversations-api block.
About
The Learn API MCP server (@foreverlearning/learn-mcp) gives an AI coding assistant the Learn API's own guide, OpenAPI contract, examples and Build with Learn kits. Each kit's prompt is verified before it is published, and the assistant can read the kit's checkpoint folder from the learn-tutor-starter repository. The docs tools need no key.
With a server key from a developer workspace, the server can send one test turn to Learn and show the reply. Before every turn, the assistant states the cost and asks for agreement. Your key stays in your environment and is sent only to the Learn API. The source describes it for developers who want to build a learning tutor into their app.
Written from the project's README and checked against it.
Tools it gives your assistant
learn_kitLists the Build with Learn kits, or returns one kit's prompt, expected result and checkpoint folder.learn_guideReturns the Learn integration guide, examples and developer site pages, whole or by topic.learn_contractReturns the OpenAPI contract, either every operation or one operation with its schemas.learn_starter_fileLists a kit's checkpoint files in learn-tutor-starter, or returns one file by path.learn_searchSearches the guide, pages, contract, examples, kits and checkpoint files in plain words.learn_test_turnSends one real test turn after showing its cost and getting your agreement. Needs your key.learn_lookup_requestLooks up a turn by its request id. Needs your key and is free.
What you need
- Node.js 24 or later
- A developer workspace with Learn and a server key from My APIs, for test turns
- Docs tools work without a key
| Setting | Needed | What it is |
|---|---|---|
FOREVERLEARNING_Environment variable, secret | Optional | Your Conversations API server key, from My APIs in the developer console. Needed only for paid test turns; the docs tools work without it. |
FOREVERLEARNING_Environment variable | Optional | Your Conversations API assignment id, from My APIs. Needed with the key. |
FOREVERLEARNING_Environment variable | Optional | The API host, ending in /v1. Default: https://developers-api.foreverlearning.ai/v1 |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Add a tutor to this app using the Learn API guide
- Show me the Build with Learn kits and their prompts
- Send one test turn with my key and show Learn's reply
Good to know
- Each workspace gets 100 free test attempts that never reset
- Live mode costs 5 cents per successful turn from your balance
- At most 2 test turns per server start unless LEARN_MCP_MAX_TURNS is raised, up to 10
- Docs are a dated snapshot bundled with each release
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Conversations API
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Conversations API: common questions
Do I need an API key to read the Learn docs?
No. The guide, contract, examples and kit tools need no key. Only the test turn and request lookup tools need a server key.
How much does a test turn cost?
In test mode each turn uses one of 100 free attempts in your workspace. In live mode each successful turn costs 5 cents from your balance, and failed turns cost nothing.
Where does the server keep my key?
The key stays in your environment. The server sends it only to the Learn API and never writes it to a file or shows it in a reply.
How do I install Conversations API?
In Claude Code run claude mcp add conversations-api -- npx -y @foreverlearning/conversations-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Conversations API the official server?
Conversations API is published by foreverlearning.ai from its verified domain in the official MCP Registry.
Is Conversations API free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Conversations API safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Conversations API?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Conversations API work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
