Developer production · Server APIs
The Conversations APIBy ForeverLearning

Build with Conversations

The Conversations API works inside your coding assistant.

Add one URL to your coding assistant. No key, no install. It reads the Conversations guide, the contract and the examples, and builds on what the Conversations API really does.

Your MCP server URL
https://developers.foreverlearning.ai/mcp/conversations

Three steps

  1. Copy the URL.
  2. Add it to your assistant as a remote MCP server over Streamable HTTP. No key, no install.
  3. Ask for a practice room, in plain words: "Add a practice room where a learner rehearses a hard conversation, using the Conversations API."

Then try real conversations in the Conversations Sandbox, with 50 free text attempts in every workspace.

Connect your assistant

Open your coding assistant's MCP settings and add a remote server:

  • URL: https://developers.foreverlearning.ai/mcp/conversations
  • Transport: Streamable HTTP
  • Authentication: none

That's it. There is no key to paste and nothing to install.

In your assistant, one line:

Claude Code

claude mcp add --transport http conversations https://developers.foreverlearning.ai/mcp/conversations

Codex

codex mcp add conversations --url https://developers.foreverlearning.ai/mcp/conversations

Any other assistant that supports remote MCP servers: add the URL as a Streamable HTTP server, with no authentication.

What your assistant reads

  • The guide and the contract. The Conversations integration guide and the OpenAPI contract: rooms, casts, turns, closeouts, debriefs and saved practice.
  • The examples. Runnable server code in TypeScript, Python and cURL, with recovery built in.
  • The kits, as they publish. Each Build with Conversations kit comes with a prompt we run in coding assistants before we publish it.

The URL serves documentation only, so it never needs your key.

Test turns from your assistant

Optional. To have your assistant send a real test turn with your own key, add the local Conversations server as well. Put your server key, your assignment and the API host in your environment first. Never put the key in a file you commit.

export FOREVERLEARNING_API_KEY=your-server-key
export FOREVERLEARNING_ASSIGNMENT_ID=your-assignment-id
export FOREVERLEARNING_BASE_URL=https://developers-api.foreverlearning.ai/v1

Then add the local server to your tool. It needs Node 24 or later.

claude mcp add conversations -- npx -y @foreverlearning/conversations-mcp

On Windows, outside WSL: claude mcp add conversations -- cmd /c npx -y @foreverlearning/conversations-mcp

What a test turn costs

  • With a test key, each test turn uses one of your workspace's 50 free text attempts. They never reset.
  • With a live key, 3¢ per text turn, with every character and the Coach included. Your assistant uses a live key only when you say so.
  • The opening and the closeout are turns.
  • Your assistant asks first, every time, and sends at most two test turns each time it starts the local server. It never retries a turn and never ends the session.

Your key stays in your own environment and goes only to the Conversations API.

Then ask your assistant for your first practice room.

Read the integration guide