# Lessonspace — how to use (mcp.ai)

Connect your Lessonspace account and use 4 tools for education straight from your AI agent. Connect with your own API key. Lessonspace is an online collaborative classroom platform that enables educators and students to engage in interactive learning sessions with features like video conferencing, whiteboards, and resource sharing.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_lessonspace?ms=1787293680000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `lessonspace_create_demo_space`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/lessonspace`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/lessonspace/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/lessonspace/create/demo/space` — Tool to create a transient demo space for embedding in an iframe. Use when you need a temporary environment to test Lessonspace features.
- `POST https://api.mcp.ai/api/lessonspace/get/organisation/details` — Tool to retrieve organisation details, including ID, plan, and usage stats. Use after authenticating with your organisation token.
- `POST https://api.mcp.ai/api/lessonspace/get/organisation/session/list` — Tool to list sessions of an organisation. Use after you have the organisation ID to fetch paginated session records.
  - body: { page?: integer, search?: string, ordering?: string, page_size?: integer, organisation: string }
- `POST https://api.mcp.ai/api/lessonspace/launch/space` — Tool to launch a Lessonspace space. Use after determining user ID, role, and space ID.
  - body: { exp?: integer, name?: string, role: string, avatar?: string, config?: object, user_id: string, language?: string, space_id: string }

## Example prompts
- "What can I do in Lessonspace?"
- "Show me a summary of my Lessonspace account"

## More
- Page: https://mcp.ai/lessonspace
- Agent spec (llms.txt): https://mcp.ai/lessonspace/llms.txt
- Postman collection: https://mcp.ai/lessonspace/postman.json
