Conversations API

ai.foreverlearning由 foreverlearning.ai 发布v0.1.0更新于 Nov 26, 2026

Build conversation practice rooms with the Conversations API: its guide, contract and verified kits.

已验证STDIO仅桌面

概览

Conversations API 的本地 MCP 服务,由 foreverlearning.ai 发布;无需登录;STDIO;7 个工具。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

发布者
foreverlearning.ai

安装

在 SourceWeft 中

  1. 打开 控制台中的 Conversations API,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Conversations API for coding assistants (MCP server)

Put a conversation practice room inside your product with the Conversations API, with your coding assistant's help. This MCP server gives the assistant the API's own developer documentation: the integration guide and its runnable examples, the OpenAPI contract, and the Build with Conversations kits. Every answer is the published text itself, so the assistant builds from what the API actually does.

The Conversations API runs the practice room: one to five characters who respond in character and to the whole conversation, a Coach that answers with every turn in its own channel, a safety status on every turn, and a debrief and Insights after. The complete reply comes back to your application.

Install

Any MCP client that starts a stdio server:

npx -y @foreverlearning/conversations-mcp

The docs tools need no key. To let your assistant send a test turn, give the server your own key in its environment:

SettingWhat it is
FOREVERLEARNING_API_KEYYour Conversations API server key, from My APIs in the developer console. Never paste it into a conversation.
FOREVERLEARNING_ASSIGNMENT_IDYour Conversations API assignment id, from My APIs. Every request names it.
FOREVERLEARNING_BASE_URLThe API host: production https://developers-api.foreverlearning.ai/v1 (the default) or staging https://developers-api-staging.foreverlearning.ai/v1.
CONVERSATIONS_MCP_MAX_TURNSTest turns per server run: 2 by default, 10 at most.
CONVERSATIONS_MCP_CONFIRM_DIALOGoff skips the confirmation dialog (the assistant still asks in the conversation).

Run conversations-mcp --docs-only for the docs alone, with no key read at all.

Tools

ToolWhat it does
conversations_kitsThe Build with Conversations kits: verified prompts for coding assistants, from a first practice room to embedding one in your app.
conversations_kitOne kit: where to run it, its verified prompt word for word, what you should see, and its finished checkpoint folder.
conversations_starter_fileOne file of a kit's finished checkpoint in conversations-room-starter (MIT).
conversations_guideThe integration guide, whole or by topic (setup, turns, characters, reads, voice, privacy, pricing), or a runnable example.
conversations_contractThe operations a Conversations integration uses, one operation or schema definition with its references filled in, or a whole contract file.
conversations_test_turnOne real test turn with your key: the room's opening, or one message. It states the cost first and sends only on your confirmation; on a production host it also needs allow_live, since it cannot tell a test key (free attempts) from a live one (real money). At most 2 a run. It never retries and never ends the session. The reply comes back exactly as written: each character's line, the Coach's note, the safety status and the receipt.
conversations_lookup_requestLook up a turn that was not confirmed, by its request id. No charge.

Resources: conversations://guide, conversations://guide/{topic}, conversations://contract/{file}, conversations://examples/{file}, conversations://snapshot.

Cost

The docs tools cost nothing. A test turn is a real turn. On a test assignment it uses one of your workspace's fifty free text attempts and no money; on a live assignment it is 3¢ per text turn from your workspace balance; on staging it uses staging credit, never real money. The app you build pays per turn too: 3¢ per text turn, with every character and the Coach included, and +5¢ for spoken responses. The opening and the closeout are billable turns, and a user's open session is closed, with its closeout, when their next session is opened. Preparing a room and reading saved practice, debriefs and Insights add no charge.

Docs snapshot

The docs are bundled as a dated snapshot (snapshot/conversations-docs.json), read from https://developers.foreverlearning.ai. A kit is included only when it is verified on the release developers use and its page carries the same prompt word for word.

License

MIT

来源:packages/conversations-mcp/README.md,提交 6de8ee0

工具

7

conversations_guide

Conversations API integration guide

Read the Conversations API integration guide (snapshot of 2026-11-26), whole or by topic, or one of its runnable examples. Use it for any question about putting a conversation practice room inside a product: choosing a room and its characters, preparing a session, the opening and each turn, accepting a turn only on its final done event, the characters' faces and presence, the Coach, the safety…

输入参数topicexample

conversations_contract

Conversations API contract

Read the Conversations API contract (OpenAPI 3.1 and JSON Schema, snapshot of 2026-11-26). With no arguments: every operation a Conversations integration uses, by method, path and operationId. With operation (an operationId such as "conversationChat", or "POST /v1/conversation/sessions"): that operation with every schema it uses filled in. With schema (a definition name such as "Turn",…

输入参数fileschemaoperation

conversations_kits

Build with Conversations kits

List the Build with Conversations kits: step-by-step builds with the Conversations API, from a first practice room to embedding one in an existing app and ready-made recipes such as interview practice. Each verified kit has a prompt for coding assistants that is verified as written, a check of what the result should show, and a finished checkpoint folder. Start here when the developer wants…

无需输入参数。

conversations_kit

One Build with Conversations kit

Read one Build with Conversations kit: where to run it, its verified prompt word for word, its check, and its finished checkpoint folder in conversations-room-starter. Kits: 01-first-room, 02-close-and-debrief, 03-room-and-cast, embed, interview.

输入参数kit必填

conversations_starter_file

A file from a kit checkpoint

Read one file of a verified kit's finished checkpoint folder in conversations-room-starter (MIT), to compare with or start from. conversations_kit lists each folder's files.

输入参数kit必填path必填

conversations_test_turn

Send one Conversations test turn

Send ONE real test turn to the Conversations API with the developer's own key (from this server's environment): the room's opening, or one message from the user. It uses one stable test user and one practice session for this project, in a ready-made room (default "Direct Feedback To A Report"), and returns each character's line, the Coach's note, the safety status and the receipt exactly as…

输入参数roomconfirmmessageopeningallow_live

conversations_lookup_request

Look up a Conversations request

Look up a Conversations API request by its request id (GET /v1/requests/<id>), as this project's test user. No charge: it never generates a reply. Use it after a test turn that was not confirmed, before sending anything again. It returns the saved reply word for word, or says the request is still running or unavailable. Show a saved reply exactly as written.

输入参数request_id必填

版本历史

1
  1. v0.1.0最新Nov 26, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

这个评分如何计算