Connect OpenCode to Lessonspace
Set up in minutes
Choose where it runs
On your computer through your own OpenCode, or hosted in the cloud. The rest of setup adapts to your choice:
Pick what it can do in Lessonspace
A preset of real Lessonspace operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect Lessonspace
One sign-in. The agent acts through your account, scoped to the operations you picked.
Add your personal MCP link
The last step mints a private MCP URL for this agent and walks you through exactly this, with your real link filled in. The page flips to Connected the moment your OpenCode first calls in. opencode mcp add only saves the config. OpenCode connects when it starts — run opencode, or restart a running one.
1. Run this in your terminal
2. Choose Remote and paste your server URL
3. Choose No when asked about OAuth authentication — the link itself is the key
<your-link> is your personal server URL — setup mints it for you.
Tools OpenCode gets
Lessonspace
12 toolsFetch the sessions for an organisation.
Fetch a session with the given UUID.
Update a session's name or recording access policy for the given UUID.
Irreversible: Delete all recording data associated with a specific session, including AV, events and transcriptions. This cannot be undone. If the space stores recordings in a customer-owned (custom) bucket, the request is rejected and nothing is deleted unless `force_delete_custom_buckets` is set. Basic session metadata such as name and participants is retained and stays visible in the sessions list. Related spaces are not affected by this deletion and can continue to be used for new sessions.
Get Session Recording URL
Fetch the transcription for a given session. The transcription must have been scheduled on the session beforehand.
Get Organisation Space List
Irreversible: Delete all recording data for every session that has happened inside a space, including AV, events and transcriptions. The space itself is not deleted and remains usable. This cannot be undone. If the space stores recordings in a customer-owned (custom) bucket, the request is rejected and nothing is deleted unless `force_delete_custom_buckets` is set. Basic session metadata such as name and participants is retained and stays visible in the sessions list. Related spaces are not affected by this deletion and can continue to be used for new sessions.
Get Organisation User List
Irreversible: Delete User from Organisation
Create Unified Space
Fetch the sessions for a specific space.
About OpenCode
Frequently asked questions
More ways to connect
More tools for OpenCode
Use Lessonspace with other agents
Open your OpenCode agent in one click.
NoClick runs OpenCode for you with Lessonspace wired in as tools. Connect your account and run.