# How to integrate Lessonspace MCP with Codex

```json
{
  "title": "How to integrate Lessonspace MCP with Codex",
  "toolkit": "Lessonspace",
  "toolkit_slug": "lessonspace",
  "framework": "Codex",
  "framework_slug": "codex",
  "url": "https://composio.dev/toolkits/lessonspace/framework/codex",
  "markdown_url": "https://composio.dev/toolkits/lessonspace/framework/codex.md",
  "updated_at": "2026-05-12T10:17:26.924Z"
}
```

## Introduction

Codex is one of the most popular coding harnesses out there. And MCP makes the experience even better. With Lessonspace MCP integration, you can draft, triage, summarise emails, and much more, all without leaving the terminal or the app, whichever you prefer.

## Also integrate Lessonspace with

- [OpenAI Agents SDK](https://composio.dev/toolkits/lessonspace/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/lessonspace/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/lessonspace/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/lessonspace/framework/claude-cowork)
- [OpenClaw](https://composio.dev/toolkits/lessonspace/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/lessonspace/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/lessonspace/framework/cli)
- [Google ADK](https://composio.dev/toolkits/lessonspace/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/lessonspace/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/lessonspace/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/lessonspace/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/lessonspace/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/lessonspace/framework/crew-ai)

## TL;DR

### Why use Composio?
Apart from a managed and hosted MCP server, you will get:
- CodeAct: A dedicated workbench that allows GPT to write its code to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
- Large tool responses: Handle them to minimise context rot.
- Dynamic just-in-time access to 20,000 tools across 1000+ other Apps for cross-app workflows. It loads the tools you need, so GPTs aren't overwhelmed by tools you don't need.

## Connect Lessonspace to Codex

### How to install Lessonspace MCP in Codex
### Run the setup command
Run this command in your terminal to add the Composio MCP server to Codex.

```bash
codex mcp add composio --url https://connect.composio.dev/mcp
```

## What is the Lessonspace MCP server, and what's possible with it?

The Lessonspace MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Lessonspace account. It provides structured and secure access to your organization’s virtual classrooms, so your agent can create demo spaces, launch lesson sessions, retrieve organization info, and manage active sessions on your behalf.
- Instant demo space creation: Allow your agent to spin up temporary demo classrooms for testing features, onboarding, or quick explorations—perfect for hands-on previews without affecting production spaces.
- Automated session launching: Have the agent launch live lesson spaces for educators or students, handling user roles and space IDs so classes start on time.
- Organization insights at your fingertips: Retrieve detailed organizational details like plan, usage stats, and org IDs to keep track of your educational resources and account status.
- Session management and analytics: Effortlessly pull lists of all sessions run by your organization, enabling quick reviews, attendance checks, and performance insights.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `LESSONSPACE_CREATE_DEMO_SPACE` | 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. |
| `LESSONSPACE_GET_ORGANISATION_DETAILS` | Get Organisation Details | Tool to retrieve organisation details, including ID, plan, and usage stats. Use after authenticating with your organisation token. |
| `LESSONSPACE_GET_ORGANISATION_SESSION_LIST` | Get Organisation Session List | Tool to list sessions of an organisation. Use after you have the organisation ID to fetch paginated session records. |
| `LESSONSPACE_LAUNCH_SPACE` | Launch Space | Tool to launch a Lessonspace space. Use after determining user ID, role, and space ID. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

The Lessonspace MCP server provides comprehensive access to Lessonspace operations through Composio. Once connected, you can perform all major Lessonspace actions directly from Codex using natural language commands.

## Complete Code

None listed.

## Conclusion

### Conclusion
You've successfully integrated Lessonspace with Codex using Composio's MCP server. Now you can interact with Lessonspace directly from your terminal, VS Code, or the Codex App using natural language commands.
Key benefits of this setup:
- Seamless integration across CLI, VS Code, and standalone app
- Natural language commands for Lessonspace operations
- Managed authentication through Composio
- Access to 20,000+ tools across 1000+ apps for cross-app workflows
- CodeAct workbench for complex tool chaining
Next steps:
- Try asking Codex to perform various Lessonspace operations
- Explore cross-app workflows by connecting more toolkits
- Build automation scripts that leverage Codex's AI capabilities

## How to build Lessonspace MCP Agent with another framework

- [OpenAI Agents SDK](https://composio.dev/toolkits/lessonspace/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/lessonspace/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/lessonspace/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/lessonspace/framework/claude-cowork)
- [OpenClaw](https://composio.dev/toolkits/lessonspace/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/lessonspace/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/lessonspace/framework/cli)
- [Google ADK](https://composio.dev/toolkits/lessonspace/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/lessonspace/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/lessonspace/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/lessonspace/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/lessonspace/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/lessonspace/framework/crew-ai)

## Related Toolkits

- [Canvas](https://composio.dev/toolkits/canvas) - Canvas is a learning management system for online courses, assignments, grading, and collaboration. It's trusted by educators and students to streamline virtual classrooms and enhance digital learning.
- [Accredible certificates](https://composio.dev/toolkits/accredible_certificates) - Accredible Certificates is a platform for creating and managing digital certificates, badges, and blockchain credentials. It streamlines issuing, tracking, and verifying professional achievements for organizations of any size.
- [Api bible](https://composio.dev/toolkits/api_bible) - API.Bible is a developer platform for Scripture content and passage search. Easily integrate Bible verses and translations into your apps or chatbots.
- [Blackboard](https://composio.dev/toolkits/blackboard) - Blackboard is a digital learning platform for higher education and schools, offering tools to manage courses, track engagement, and deliver interactive content. It helps institutions improve student outcomes through actionable analytics and in-app guidance.
- [Certifier](https://composio.dev/toolkits/certifier) - Certifier is a platform for creating, managing, and issuing digital certificates and credentials. Organizations use it to automate and secure the entire credentialing process.
- [Classmarker](https://composio.dev/toolkits/classmarker) - ClassMarker is a professional online quiz maker for business and education. It provides instant grading, flexible test design, and in-depth reporting.
- [Coassemble](https://composio.dev/toolkits/coassemble) - Coassemble is a flexible platform for building, managing, and delivering online training courses. It helps teams streamline onboarding, upskilling, and ongoing learning for employees or partners.
- [D2lbrightspace](https://composio.dev/toolkits/d2lbrightspace) - D2L Brightspace is a learning management system for delivering and managing online courses and assessments. It helps educators streamline digital teaching, assignments, and communication with students.
- [Dictionary api](https://composio.dev/toolkits/dictionary_api) - Dictionary api is the Merriam-Webster API providing rich dictionary and thesaurus data for developers. Instantly access definitions, synonyms, etymologies, and audio pronunciations in your apps.
- [Google Classroom](https://composio.dev/toolkits/google_classroom) - Google Classroom is a free web service for educators and students to manage assignments and communication. It streamlines classroom collaboration and grading, making teaching simpler and more connected.
- [Linguapop](https://composio.dev/toolkits/linguapop) - Linguapop is a web platform for administering language placement tests in English, German, Spanish, Italian, and French. It helps schools and organizations efficiently manage multilingual assessments and analyze results.
- [Memberspot](https://composio.dev/toolkits/memberspot) - Memberspot is an online course and video-hosting platform for business learning. It helps teams manage, deliver, and track knowledge efficiently.
- [Membervault](https://composio.dev/toolkits/membervault) - Membervault is a platform for hosting courses, memberships, and digital products in one place. It helps you build stronger relationships with your audience by centralizing digital offers and customer engagement.
- [Gmail](https://composio.dev/toolkits/gmail) - Gmail is Google's email service with powerful spam protection, search, and G Suite integration. It keeps your inbox organized and makes communication fast and reliable.
- [Google Calendar](https://composio.dev/toolkits/googlecalendar) - Google Calendar is a time management service for scheduling meetings, events, and reminders. It streamlines personal and team organization with integrated notifications and sharing options.
- [Google Drive](https://composio.dev/toolkits/googledrive) - Google Drive is a cloud storage platform for uploading, sharing, and collaborating on files. It's perfect for keeping your documents accessible and organized across devices.
- [Outlook](https://composio.dev/toolkits/outlook) - Outlook is Microsoft's email and calendaring platform for unified communications and scheduling. It helps users stay organized with powerful email, contacts, and calendar management.
- [Twitter](https://composio.dev/toolkits/twitter) - Twitter is a social media platform for sharing real-time updates, conversations, and news. Stay connected, informed, and engaged with communities worldwide.
- [Google Sheets](https://composio.dev/toolkits/googlesheets) - Google Sheets is a cloud-based spreadsheet tool for real-time collaboration and data analysis. It lets teams work together from anywhere, updating information instantly.
- [Supabase](https://composio.dev/toolkits/supabase) - Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Lessonspace MCP?

With a standalone Lessonspace MCP server, the agents and LLMs can only access a fixed set of Lessonspace tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Lessonspace and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Codex?

Yes, you can. Codex fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Lessonspace tools.

### Can I manage the permissions and scopes for Lessonspace while using Tool Router?

Yes, absolutely. You can configure which Lessonspace scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Lessonspace data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
